Detecting Two’s Complement Overflow
Two’s complement overflow occurs is: Add two POSITIVE numbers and get a NEGATIVE result Add two NEGATIVE numbers and get a POSITIVE resultI CANNOT get two’s complement overflow if I add a NEGATIVE and a POSITIVE number together.
The Carry out of the Most Significant Bit means nothing if the numbers are two’s complement numbers.