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

14

EC

-20

FF

01

1