GATE Computer ScienceVery hardGATE CS

An 8-bit ALU adds the two's complement numbers A = 10110110 and B = 11001101. What are the carry-out C and the signed-overflow flag V of this addition?

  1. A. C = 0, V = 1
  2. B. C = 1, V = 1
  3. C. C = 1, V = 0
  4. D. C = 0, V = 0

Correct answer: C. C = 1, V = 0

A = −74 and B = −51, the true sum −125 fits in 8 bits (result 10000011), so V = 0 (carry into MSB equals carry out of MSB). Treated as unsigned, 182 + 205 = 387 > 255, so a carry-out C = 1 is produced; carry-out alone does not mean overflow.

More Digital Logic questions

Exams that ask this topic