Consider the ALU shown below. If the operands are in 2's complement…
GATE · 2003 · CS
Consider the ALU shown below.

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) ?
- A.
A + B, and A - B, but not A + 1
- B.
A + B, and A + 1, but not A - B
- C.
A + B, but not A - B, or A + 1
- D.
A + B, and A - B, and A + 1
Attempted by 153 students.
Sign up free to check your answer
Sign up freeLoading lesson…