Answer
34
Work Step by Step
Convert the decimal numbers to binary using continuous division by 2
89/2 = 44 R 1 lest significant
44/2 = 22 R 0
22/2 = 11 R 0
11/2 = 5 R 1
5/2 = 2 R 1
2/2 = 1 R 0
1/2 = 0 R 1 Most significant
89= 0101 1001
To convert -55 first find the binary representation of 55 then take 2s complement
55/2 = 27 R 1 Least significant
27/2 = 13 R 1
13/2 = 6 R 1
6/2 = 3 R 0
3/2 = 1 R 1
1/2 = 0 R 1 most significant
55 = 0011 0111
first take 1s complement (invert each bit)
1100 1000
take 2s complement (add 1)
1100 1001
Finally add the two together
1100 1001 + 0101 1001
= 0010 0010
convert back to decimal using place value
0 + 0 + 32 + 0 + 0 + 0 + 2 + 0 = 34