GATE Computer ScienceEasyGATE CS (PYQ pattern)

In an n-bit two's-complement adder, which pair (carry into the MSB, carry out of the MSB) signals signed overflow?

  1. A. (1, 1) only
  2. B. (0, 1) only
  3. C. (0, 0) or (1, 1) — the two carries are equal
  4. D. (0, 1) or (1, 0) — the two carries differ

Correct answer: D. (0, 1) or (1, 0) — the two carries differ

Overflow = c_in(MSB) ⊕ c_out(MSB). Example: 0111 + 0001 gives carry in 1, out 0; 1000 + 1000 gives carry in 0, out 1. A carry out alone is an unsigned-overflow indicator.

More Computer Organization and Architecture questions

Exams that ask this topic