1
0
mirror of https://github.com/specht/champ.git synced 2024-11-26 01:49:20 +00:00
champ/examples/example01.s

14 lines
261 B
ArmAsm
Raw Normal View History

2018-02-16 14:05:05 +00:00
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