1
0
mirror of https://github.com/specht/champ.git synced 2024-09-26 08:54:53 +00:00
champ/examples/example01.s
2018-02-16 21:50:01 +01:00

14 lines
261 B
ArmAsm

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