This commit is contained in:
Andre Wagner
2026-05-02 15:25:09 -05:00
parent f9733f3b20
commit 1d24570f1b
6 changed files with 51 additions and 26 deletions

View File

@@ -30,8 +30,9 @@ Stack operations:
05 dup
Local variables:
a3 c3 e3 setl [int] Set stack top as indexed local variable
a4 c4 e4 getl [int] Get indexed local variable and place on stack
a3 c3 e3 pushv [int] Push n nil values into the stack (used to init local vars)
ab cb eb set [index] Set value in stack position (set local variable)
a4 c4 e4 dupv [index] Duplicate stack value (load local variable)
a5 c5 e5 setg [int] Set global variable
a6 c6 e6 getg [int] Get global variable