Perform the indicated operations in 8-bit two’s complement representation. State if there is an
overflow
a. 11111111 + 11111110
A digit-overflow at the MSB is an overflow- is it true? yes/no
b. 10000001 + 1000000
A digit-overflow at the MSB is an overflow- is it true?
always true/sometimes true/never true
c. 00000011 + 00000001
If there is no digit-overflow at the MSB, overflow is not possible - is it true? yes/no
d. 01111111 + 00000001
If there is no digit-overflow at the MSB, overflow is not possibleis it true? always true/sometimes true/never true
e. 11111111 - 00000001
f. 10101010 - 10000011
Guide On Rating System
Vote
a. The sum of the two numbers is 111111101. There is a digit-overflow at the MSB, so there is an overflow.
b. The sum of the two numbers is 10000001. There is a digit-overflow at the MSB, so there is an overflow. This is always true for adding two positive numbers.
c. The sum of the two numbers is 000000100. There is no digit-overflow at the MSB, so overflow is not possible.
d. The sum of the two numbers is 10000000. There is no digit-overflow at the MSB, so overflow is not possible. This is always true for adding a positive number and a negative number.
e. The result of 11111111 - 00000001 is 11111110. There is no digit-overflow at the MSB, so overflow is not possible.
f. The result of 10101010 - 10000011 is 00101111. There is no digit-overflow at the MSB, so overflow is not possible.