Let R1 and R2 be two 4-bit registers that store numbers in 2’s complement…

GATE · 2022 · CS · Computer Science & IT

Let R1 and R2 be two 4-bit registers that store numbers in 2’s complement form. For the operation R1+R2, which one of the following values of R1 and R2 gives an arithmetic overflow?

  1. A.

    R1 = 1011 and R2 = 1110

  2. B.

    R1 = 1100 and R2 = 1010

  3. C.

    R1 = 0011 and R2 = 0100

  4. D.

    R1 = 1001 and R2 = 1111

Attempted by 442 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…