Consider an -bit 2's complement adder computing . Let and be the sign bits of the operands, be the sign bit of the result, be the carry into the sign bit position, and be the carry out of the sign bit position.
Which of the following combinations of is IMPOSSIBLE?
D
Step-by-Step Solution
Key idea: This is a hardware logic elimination question. You must use the fundamental full-adder equation at the Most Significant Bit (MSB) position to check the physical validity of each carry and sign bit combination.
Step 1: Write the addition equation for the MSB (bit ).
The sum bit and the carry out are determined by:
where all variables are either 0 or 1.
Step 2: Test Option A:
Substitute into the equation: .
This is mathematically valid. (This represents Pos + Pos = Neg, an overflow condition).
Step 3: Test Option B:
Substitute: .
This is mathematically valid. (This represents Neg + Neg = Pos, an overflow condition).
Step 4: Test Option C:
Substitute: .
This is mathematically valid. (This represents Pos + Neg = Neg, no overflow).
Step 5: Test Option D:
Substitute: .
This is a mathematical contradiction. It is physically impossible for the adder to produce a sum bit of 1 and a carry out of 0 when both operands and the carry in are 0.
Answer: D