Professional Documents
Culture Documents
❑ Two types
1. r’s complement rn - N N≠0 N = positive integer
= (1330)10 – (1127)10
= (203)10 (935)11 = (5x110 + 3x111 9x112)10 = (1127)10
= (175)11 203/11 = 18 5
18/11 = 1 7
1/11 = 0 1
M = 1010100 M = 1000100
N = 1000100 N = 1010100
+ 27467
3. 030717
No carry
M = 1010100 M = 1000100
N = 1000100 N = 1010100
1010100 1000100
+ 0111011 + 0101011
10001111
No carry 01101111
❑ Subtract using 2’s and 1’s complement and check with straight
subtraction 100 – 110000
2 marks
❑ Complements
❑ Subtract using complements