Add meta assembly commands for dealing with variables

This commit is contained in:
dane committed 2025-06-20 13:18:40 -05:00
1 parent bfe6db57b6
commit 227dcc662e
3 files changed
+29 -14

No files matched your search

+2 -4
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