diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2019-12-08 20:45:55 -0500 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2019-12-08 20:45:55 -0500 |
commit | 3dfde833082fc66cededd0206ae5fc76162867b6 (patch) | |
tree | 70ab1961552731bf58c13e82f57199b817ef8c5f /test/test-stack.s | |
parent | 1e3787256c8fb98c41e3263fe697f30557a895fe (diff) |
Added support for resolving fixup labels.
AKA, referencing a label before it has been declared
yet.
Diffstat (limited to 'test/test-stack.s')
-rw-r--r-- | test/test-stack.s | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/test/test-stack.s b/test/test-stack.s index 88ed25c..5c7e0fd 100644 --- a/test/test-stack.s +++ b/test/test-stack.s @@ -1,10 +1,25 @@ init: cps +ldx.w #$FFFF +txs +ldx.d #$00 loop: iax -pha #$8 -ply #$8 +pha #$08 +ply #$08 jmp loop + +.org $FFC0 +.qword init +.org $FF50 +.qword init +.qword init +.qword init +.qword init +.qword init +.qword init +.qword init + done |