mirror of
https://github.com/specht/champ.git
synced 2024-11-16 12:04:48 +00:00
24 lines
366 B
ArmAsm
24 lines
366 B
ArmAsm
DSK test
|
|
MX %11
|
|
ORG $6000
|
|
|
|
FOO EQU $8000 ; @u8
|
|
|
|
JSR TEST
|
|
BRK
|
|
|
|
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
|
|
RTS
|