feat: first_pass, parser functions, check command types, add to symbol table

This commit is contained in:
2026-02-19 09:22:27 +01:00
parent 4bbe67d3d6
commit 056464d85a
6 changed files with 121 additions and 55 deletions

View File

@@ -3,10 +3,11 @@
// by Nisan and Schocken, MIT Press.
// Computes R0 = 2 + 3 (R0 refers to RAM[0])
(lab)
@2
D=A
@3
D=D+A
(test)
@0
M=D
M=D