1 + 1 = 10
05Half adders
- Stage 1
- Stage 2
- Stage 3
- Stage 4
- Stage 5 (this one)
- Stage 6
- Stage 7
- Stage 8
- Stage 9
- Stage 10
- Stage 11
- Stage 12
- Stage 13
- Stage 14
- Stage 15
Explanation
Adding two bits gives a two-bit answer: 0 + 0 = 00, 0 + 1 = 01, 1 + 1 = 10. The right bit is the sum S and the left bit is the carry C.
Look at the columns of that table. S is 1 when the inputs differ: that is XOR. C is 1 only when both are 1: that is AND. Two gates, and you have a half adder. It is only "half" because it cannot accept a carry coming in from a lower column.
Flip the inputs and follow the signal
A
B
S = 0 C = 0
S = A XOR B, C = A AND B. Check that A + B = 2·C + S on every combination.
Check yourself
Marked instantly in your browser. Use the interactive above to work it out.