GATE | Sudo GATE 2020 Mock II (10 January 2019) | Question 35
When two 8-bit numbers (A7 A6 … A0) and (B7 B6 … B0) in 2’s complement representation (with A0 and B0 as the least significant bits) are added using ripple carry adder, the sum bits obtained are (S7 S6 … S0) and the carry bits are (C7 C6 … C0). Which of the following statement(s) is/are correct ?
- If two numbers with the same sign (both positive or both negative) are added, then overflow occurs if and only if the result has the opposite sign.
- The overflow and carry out can each occur without the other. In unsigned numbers, carry out is equivalent to overflow. In two’s complement, carry out tells you nothing about overflow.