mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-30 01:50:10 +00:00
d80132e941
There's no easy way to make non-zero-bank 65816 code work, so I'm punting and just generating a whole-file hex dump for those. This renders tests 2007 and 2009 useless, so I'm hesitant to claim that ACME support is fully functional.
36 lines
629 B
ArmAsm
36 lines
629 B
ArmAsm
!cpu 6502
|
|
* = $1000
|
|
!byte $03
|
|
!byte $02
|
|
|
|
L1002 bit L1002
|
|
!byte $2c
|
|
lda #$11
|
|
nop
|
|
!byte $2c
|
|
L100A ldx #$ff
|
|
nop
|
|
jsr L100A
|
|
nop
|
|
!byte $2c
|
|
L1012 ldx #$ff
|
|
nop
|
|
jsr L1012
|
|
jsr $2456
|
|
L101B !32 $22a211a9
|
|
jsr L101B
|
|
jsr L1028
|
|
jsr $2456
|
|
L1028 !32 $44a233a9
|
|
jsr L1037
|
|
jsr L103A
|
|
nop
|
|
lda $2456
|
|
rts
|
|
|
|
L1037 jsr $2456
|
|
L103A lda #$55
|
|
ldx #$66
|
|
rts
|
|
|