1
0
mirror of https://github.com/fachat/xa65.git synced 2024-07-10 11:28:56 +00:00
xa65/xa/tests/adrm/816.asm
2011-12-16 23:04:51 +01:00

30 lines
313 B
NASM

.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