mirror of
https://github.com/avinal/The-Hack-Assembler.git
synced 2026-01-10 23:28:33 +05:30
Exam files added
This commit is contained in:
10
example_file/Add.asm
Normal file
10
example_file/Add.asm
Normal file
@@ -0,0 +1,10 @@
|
||||
// This file is part of www.nand2tetris.org
|
||||
|
||||
// Computes R0 = 2 + 3 (R0 refers to RAM[0])
|
||||
|
||||
@2
|
||||
D=A
|
||||
@3
|
||||
D=D+A
|
||||
@0
|
||||
M=D
|
||||
Reference in New Issue
Block a user