Addition involving eight-bit 2's complement numbers and indicating overflow.

1 reply · 3K views · last reply
shamieh
Messages
538
Reaction score
0
Perform the following operations involving eight bit 2's complement numbers and indicate whether arithmetic overflow occurs.

1.
00110110 + 01000101 = 01111011 Overflow: there is none because we are adding to positive numbers.

Did I do this correctly?
 
The sum is correct, and there is indeed no overflow, but not because you are adding two positive numbers. When you add 1 to 01111111, there is an overflow.