Logic circuits
Which correctly lists the inputs of a full adder?
- AThe two bits to be added and the carry from the lower digit
- BOnly the two bits to be added
- COnly a clock signal
Show answer and explanation
Answer: A. The two bits to be added and the carry from the lower digit
A full adder takes three inputs—bits A and B plus a carry-in from the lower position—and produces a sum and a carry-out. Chaining n full adders adds n-bit numbers (a ripple-carry adder). Setting the lowest carry-in to 1 and inverting B computes A − B = A + (¬B + 1), so the same circuit subtracts. This is why a CPU's ALU generally uses one adder for both addition and subtraction.