This exercise is available at
https://study.find-santa.eu/exercises/twos_complement/.
For the sake of the environment, please avoid printing these instructions in
the future. Thank you!
1
Decimal $\to $ Two's Complement
Convert the following decimal numbers to 8-bit two's complement.
123
-18
-1
99
-128
Two's Complement $\to $ Decimal
11111010
01111110
11011010
10000011
00000011
Addition
Perform the following calculations with 8 bit two's complement binary numbers.
Convert the result back to decimal to see if your calculation was correct.