First page Back Continue Last page Overview Graphics
Most significant bit becomes the sign bit.
Available values must be divided among positive numbers, negative numbers, and zero.
Overflow can dramatically change a result.
- If the result of adding two positive numbers is negative, overflow occurred.
- If the result of adding two negative numbers is positive, overflow occurred.
Adding 23 to -23.
+ 11101001 -23
00000000 0 correct, no overflow
Adding 75 to 81.
+ 01010001 81
10011100 156 not correct, overflow (10011100 is negative)
Explain the difference between overflow and carry.