1
0
mirror of https://github.com/specht/champ.git synced 2026-03-11 03:18:56 +00:00
Files
champ/examples/example01.s
Michael Specht 946a32f7cc documentation
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