rewrite, its now a vm for a shitty subset of assembly

This commit is contained in:
Xtimhedi committed 2026-09-09 00:45:52 -05:00
1 parent d261a49213
commit a71d73e19d
76 files changed
+703 -99

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
:: variables
NVAR var1, 12
NVAR var2, 10
NVAR outcome, 0
JMP 8
:: setup
SEA var1
LDX
SEA var2
LDY
ADD
SVAR outcome, ACC
SEA outcome
STA 4
PRM 4
JMP 21
:: end
RVAR var1
RVAR var2
RVAR outcome
HLT