Live simulation10 components · 12 wires
A
OFF
B
OFF
Cin
OFF
XOR
0
AND
0
XOR
0
AND
0
OR
0
Sum0
Carry0
Click a switch to toggle it · drag output → input to wire · drag to move · Delete removes the selection · Ctrl+Z undoes.
Truth table
live from the current circuit| A | B | Cin | Sum | Carry |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 0 | 1 |
| 1 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 |