1
0
mirror of https://github.com/specht/champ.git synced 2024-11-22 05:31:37 +00:00
champ/examples/example01.s
2018-02-16 15:05:05 +01:00

14 lines
261 B
ArmAsm

DSK test
MX %11
ORG $6000
FOO EQU $8000
JSR TEST
RTS
TEST LDA #64 ; load 64 into accumulator
ASL ; multiply by two @Au
STA FOO ; store result @Au
RTS