qasm/testdata/3003-var.S

26 lines
195 B
ArmAsm
Raw Normal View History

2019-11-14 03:37:26 +00:00
lst
xc
xc
mx %00
org $4000
2019-11-14 05:39:35 +00:00
getkey = $FF00
]myvar = getkey
2019-11-14 03:37:26 +00:00
start nop
ldy #$00
]loop sta $800,y
dey
2019-11-20 01:09:58 +00:00
;dw ]loop;]loop2
;bne ]myvar;
2019-11-14 05:39:35 +00:00
2019-11-14 03:37:26 +00:00
bcs ]loop
bpl ]loop
rts
2019-11-20 01:09:58 +00:00
;use var
2019-11-14 03:37:26 +00:00
lst on