Add project 2 template files

This commit is contained in:
2025-08-30 19:47:34 -04:00
parent f43ce1f964
commit 4563dd234b
17 changed files with 1064 additions and 0 deletions

15
02/FullAdder.hdl Normal file
View File

@@ -0,0 +1,15 @@
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/2/FullAdder.hdl
/**
* Computes the sum of three bits.
*/
CHIP FullAdder {
IN a, b, c; // 1-bit inputs
OUT sum, // Right bit of a + b + c
carry; // Left bit of a + b + c
PARTS:
//// Replace this comment with your code.
}