Files
The-Hack-Assembler/example_file/Add.asm

11 lines
125 B
NASM
Raw Normal View History

2020-08-10 16:09:59 +05:30
// 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