all repos — nand2tetris @ 6b59b2d1aa8d1c2c01d77b7a7d383be5fcfb4adc

my nand2tetris progress

projects/07/test/StackArithmetic/SimpleAdd/SimpleAdd.vm

 1
 2
 3
 4
 5
 6
 7
 8
 9
// 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/07/StackArithmetic/SimpleAdd/SimpleAdd.vm

// Pushes and adds two constants.
push constant 7
push constant 8
add