1
0
mirror of https://github.com/specht/champ.git synced 2024-11-25 09:30:52 +00:00
champ/examples/example01.s
Michael Specht e1ab78a4e7 yay
2023-01-10 13:58:42 +01:00

14 lines
252 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