summaryrefslogtreecommitdiff
path: root/test/test-stack.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-stack.s')
-rw-r--r--test/test-stack.s15
1 files changed, 8 insertions, 7 deletions
diff --git a/test/test-stack.s b/test/test-stack.s
index 193cca7..b9218a0 100644
--- a/test/test-stack.s
+++ b/test/test-stack.s
@@ -1,13 +1,13 @@
init:
-cps
-ldx.w #$FFFF
-txs
+ cps
+ ldx.w #$FFFF
+ txs
loop:
-iab
-pha #$08
-ply #$08
-jmp loop
+ inc
+ pha #1
+ ply #1
+ jmp loop
.org $FFC0
.qword init
@@ -20,5 +20,6 @@ jmp loop
.qword init
.qword init
+a
done