mirror of
https://github.com/fachat/xa65.git
synced 2024-11-03 22:04:55 +00:00
23 lines
290 B
ArmAsm
23 lines
290 B
ArmAsm
#define HI(z) (((z) >> 16) & $FFFF)
|
|
#define LO(z) ((z) & $FFFF)
|
|
|
|
.al
|
|
.xl
|
|
*=$112233
|
|
SYM:
|
|
rts
|
|
jmp SYM
|
|
jmp $112233
|
|
lda $112233
|
|
lda @$2233
|
|
lda $2233
|
|
lda $33
|
|
|
|
#print HI(SYM)
|
|
lda #HI(SYM)
|
|
pha
|
|
#print LO(SYM)
|
|
lda #LO(SYM)
|
|
pha
|
|
|