1
0
mirror of https://github.com/fachat/xa65.git synced 2024-07-28 21:28:57 +00:00
xa65/xa/tests/adrm/816.asm

30 lines
313 B
NASM
Raw Normal View History

2011-12-16 22:04:51 +00:00
.word $0400
* = $0400
q = $0005
r = $000005
fizz
/* these should be optimized to zero page */
sta $05
sta $0005
sta q
sta r
/* 16-bit */
sta !$0005
sta !q
sta $8765
/* 24-bit */
sta @q
sta @$000005
sta $876543
rts
jmp $fce2
jmp $99fce2
jmp breadbox
jmp @breadbox
breadbox rts
bne fizz
rts