Which of the following condition is true for determining overflow condition in 2’s complement?
A. When adding two positive numbers gives a negative result or when two negatives give a positive result.
B. If sign bit (MSB) of result and sign bit of two operands are of different signs.
C. The ‘1’ in the MSB position indicates a negative number after adding two positive numbers.
D. All of the above
Answer:A
Which of the following condition is true for determining overflow condition in 2’s complement?
A. When adding two positive numbers gives a negative result or when two negatives give a positive result. B. If sign bit (MSB) of result and sign bit of two operands are of different signs. C. The ‘1’ in the MSB position indicates a negative number after adding two positive numbers. D. All of the above