diff options
Diffstat (limited to 'test/test.s')
-rw-r--r-- | test/test.s | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/test/test.s b/test/test.s index 7c36579..14b9798 100644 --- a/test/test.s +++ b/test/test.s @@ -2,12 +2,15 @@ ; ; Writen by mr b0nk 500 <b0nk@b0nk.xyz> .org $8000 -cps ; Clear the processor status register. -lda.w #$1000 ; Load 0x1000 into the accumulator. -rol #$1 ; Then rotate the accumulator left by 1 bit. -jmp $8005 ; And then loop. +entry: + cps ; Clear the processor status register. + lda.w #$1000 ; Load 0x1000 into the accumulator. +loop: + rol #$1 ; Then rotate the accumulator left by 1 bit. + jmp loop ; And then loop. -.org $FFC0 ; Reset vector. -.qword $8000 -done +.org $FFC0 ; Reset vector. +.qword entry +a +d |