project06 - add files

This commit is contained in:
2025-09-22 23:20:42 -04:00
parent 114ba7ade3
commit 1853f8070e
7 changed files with 56010 additions and 0 deletions

13
06/add/Add.asm Normal file
View File

@@ -0,0 +1,13 @@
// 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/6/add/Add.asm
// Computes R0 = 2 + 3 (R0 refers to RAM[0])
@2
D=A
@3
D=D+A
@0
M=D