summaryrefslogtreecommitdiff
path: root/test/test-stack.s
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2019-12-07 18:21:05 -0500
committermrb0nk500 <b0nk@b0nk.xyz>2019-12-07 18:23:08 -0500
commit1e3787256c8fb98c41e3263fe697f30557a895fe (patch)
tree6a61ce87767a5c7f7eeeb80d0231019ec95c9013 /test/test-stack.s
parent8b20b35bf5506ff74b7337e35d6827064eace425 (diff)
Added support for labels to the assembly language
monitor. I also rewrote the fibonacci program to include lables.
Diffstat (limited to 'test/test-stack.s')
-rw-r--r--test/test-stack.s5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test-stack.s b/test/test-stack.s
index e31e343..88ed25c 100644
--- a/test/test-stack.s
+++ b/test/test-stack.s
@@ -1,7 +1,10 @@
+init:
cps
+
+loop:
iax
pha #$8
ply #$8
-jmp $1
+jmp loop
done