1
0
mirror of https://github.com/specht/champ.git synced 2025-08-14 01:25:06 +00:00
Files
champ/examples/example03.s
Michael Specht 6dd792fed0 documentation
2018-02-16 18:44:27 +01:00

23 lines
354 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
CLC
ADC FOO ; @Au(post)
DEX ; @Xu(post) @Au,FOO(post)
BNE LOOP