Consider the ALU shown below. If the operands are in 2's complement…

GATE · 2003 · CS

Consider the ALU shown below.

GATECS2009Q46

If the operands are in 2's complement representation, which of the following operations can be performed by suitably setting the control lines K and C0 only (+ and - denote addition and subtraction respectively) ?

  1. A.

    A + B, and A - B, but not A + 1

  2. B.

    A + B, and A + 1, but not A - B

  3. C.

    A + B, but not A - B, or A + 1

  4. D.

    A + B, and A - B, and A + 1

Attempted by 153 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…