Express (76)10 and (-114)10 in 8-bit binary two’s complement arithmetic and then add the numbers. What would be the representation (0)10 in 16-bit binary two’s complement? (be sure to show your work).

Respuesta :

Answer:

76(10) + (-114)10 = (-38)10

Step-by-step explanation:

To express -114 in two complement

First convert to binary = 0000 0000 0000 0000 0000 0000 0111 0010

Change 1 to 0 and o to 1 = 1111 1111 1111 1111 1111 1111 1000 1101

add 1 to  = 1111 1111 1111 1111 1111 1111 1000 1110  

(76)10 complement = 0000 0000 0000 0000 0000 0000 0100 1100

Adding the two = 1111 1111 1111 1111 1111 1111 1101 1010 (-38)

0(10) in 16 -bit binary =

0000 0000 0000 0000