Q
What is the result of adding 01111111 + 00000001 as 8-bit two's complement integers?
-
A
11111111, which represents -1
-
B
10000000, which represents 128
-
C
10000000, which represents -128 (signed overflow)
-
D
00000000 with a carry
Correct Answer:
C. 10000000, which represents -128 (signed overflow)
Explanation:
The sum of two positive numbers came out negative, which signals signed overflow.