55
Exercise 10: Binary↔decimal Conversion
Convert these decimal numbers to 8-bit 2's complement binary:
15, -64, 127, 128
What decimal numbers do these 8-bit 2's complement represent:
11111111
,
11010110
,
10111101
Demonstrate the addition of
x + -x
, where
x
is
5, 127