Status: Links: Nand2Tetris Project 2
Half-Adder
Notes
- sum value is found through an xor gate
- carry value is found through an and gate
Code
|
|
Truth Table
a | b | sum | carry |
---|---|---|---|
0 | 0 | 0 | 0 |
1 | 0 | 1 | 0 |
0 | 1 | 1 | 0 |
1 | 1 | 0 | 1 |
Status: Links: Nand2Tetris Project 2
|
|
a | b | sum | carry |
---|---|---|---|
0 | 0 | 0 | 0 |
1 | 0 | 1 | 0 |
0 | 1 | 1 | 0 |
1 | 1 | 0 | 1 |