Digital and Embedded Systems, Bräunl 2015


For each of the following 8-bit hex numbers:

a) find the 2s complement of the number. Express the result in hex.

b) what is the decimal value of the result? You may use your calculator to convert a hex value to decimal.

8-bit number

2's complement

decimal equivalent of 2's complement

3A

C6

-58

88

78

120