Add meta assembly commands for dealing with variables

This commit is contained in:
2025-06-20 13:18:40 -05:00
parent bfe6db57b6
commit 227dcc662e
3 changed files with 29 additions and 14 deletions

View File

@@ -18,8 +18,7 @@
(define fib-program-asm
'( (variable result 0)
(push result)
(@)
(ref result)
(push fib)
(call)
(push cleanup)
@@ -50,8 +49,7 @@
(nip)
(return)
cleanup
(push result)
(!)
(set! result)
(bye)))
(define adder-program-bytecode