1
0
mirror of https://github.com/specht/champ.git synced 2024-11-30 11:51:44 +00:00
champ/examples/example03.s
2018-02-16 15:05:05 +01:00

22 lines
342 B
ArmAsm

DSK test
MX %11
ORG $6000
FOO EQU $8000 ; @u8
JSR TEST
RTS
TEST LDX #$FF
LDA #1
LOOP TAY
TXA
EOR #$FF
LSR
LSR
STA FOO
TYA
ADC FOO ; @Au(post)
DEX ; @Xu(post) @Au,FOO(post)
BNE LOOP