summaryrefslogtreecommitdiff
path: root/test/test-stack.s
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-04-17 22:07:14 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-04-17 22:07:14 -0400
commit0a7a2a7a8f95730811117bd2aa904f1843f65071 (patch)
tree24d62bbdba0df124c7fe8af781312af993236ebb /test/test-stack.s
parentc5150ee31f07208422f1435de9b35a0d0168cbb5 (diff)
Made both the assembly language monitor, and the
emulator smaller, and faster. I am also starting to make SuBEditor's source code more readable.
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