scemu/test.s

24 lines
226 B
ArmAsm

.org $8000
reset:
lda #$01
sta $7005
loop:
lda $7004
bne loop
lda $7003
sta $7000
lda #$01
sta $7002
waiting:
nop
nop
nop
nop
lda $7001
bne waiting
.byte $ff
.org $fffa
.word $8000
.word $8000
.word $8000