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-the-tests.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-the-tests.s')
-rw-r--r-- | test/test-the-tests.s | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/test/test-the-tests.s b/test/test-the-tests.s index 314ed45..5f1e255 100644 --- a/test/test-the-tests.s +++ b/test/test-the-tests.s @@ -6,7 +6,7 @@ lstart: lda #$01 lshft: -lsl #$1 +lsl #$01 bcs rstart jmp lshft @@ -18,31 +18,17 @@ lsr #$1 bcs lstart jmp rshft - -.org $8000 -init2: -cps - -lstart2: -lda #$01 - -lshft2: -lsl #$1 -bcs rstart2 -jmp lshft2 - -rstart2: -lda.q #$8000000000000000 - -rshft2: -lsr #$1 -bcs lstart2 -jmp rshft2 - .org $FFC0 .qword init .org $FF50 -.qword init2 +.qword init +.qword init +.qword init +.qword init +.qword init +.qword init +.qword init +.qword init done |