Multiple choice

Consider the ALU shown below

GATE 2003 Paper 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 + B, and A - B, but not A + 1

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

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

  4. A + B, and A - B, and A + 1

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation