Can anyone checking my answers 1Represent the following deci
Can anyone checking my answers?
1.Represent the following decimal numbers in 8-bit 2’s complement numbers:
(a)-120
10001000
(b)-24
11101000
(c)24
00011000
2.Compute the results of the following operations with 8-bit 2’s complement numbers:
(a)00110110 + 01001111
01111011
(b)01000000 – 11100000
01100000
(c)01110100 + 01010001
11000101
Solution
1.a)your answer is correct
b)your answer is correct
c)your answer is correct
2.
a)your answer is correct
b)your answer is correct
c)your answer is correct
Note:please ask in case of any doubt,thanks.
