mirror of
https://github.com/soconnor0919/eceg431.git
synced 2025-12-12 07:04:43 -05:00
project07 - add project files
This commit is contained in:
10
07/StackArithmetic/SimpleAdd/SimpleAdd.vm
Normal file
10
07/StackArithmetic/SimpleAdd/SimpleAdd.vm
Normal file
@@ -0,0 +1,10 @@
|
||||
// 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/7/StackArithmetic/SimpleAdd/SimpleAdd.vm
|
||||
|
||||
// Pushes and adds two constants.
|
||||
|
||||
push constant 7
|
||||
push constant 8
|
||||
add
|
||||
Reference in New Issue
Block a user