mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-01 22:50:35 +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.
66 lines
1.4 KiB
ArmAsm
66 lines
1.4 KiB
ArmAsm
;Project file was edited for some ASCII operands.
|
|
!cpu 65816
|
|
* = $1000
|
|
!as
|
|
!rs
|
|
clc
|
|
xce
|
|
sep #$30
|
|
lda $01
|
|
lda $0102
|
|
lda+3 $010203
|
|
lda 1
|
|
lda 258
|
|
lda+3 66051
|
|
lda %00000001
|
|
lda %0000000100000010
|
|
lda+3 %000000010000001000000011
|
|
bra skipdata
|
|
|
|
!byte $01
|
|
!word $0201
|
|
!24 $030201
|
|
!32 $04030201
|
|
!byte 1
|
|
!word 513
|
|
!24 197121
|
|
!32 67305985
|
|
!byte %00000001
|
|
!word %0000001000000001
|
|
!24 %000000110000001000000001
|
|
!32 %00000100000000110000001000000001
|
|
|
|
skipdata lda #'h'
|
|
lda 'h'
|
|
lda+2 'h'
|
|
lda+3 'h'
|
|
lda #$1f
|
|
lda #' '
|
|
lda #'~'
|
|
lda #$7f
|
|
lda #$80
|
|
lda #$9f
|
|
lda #$a0
|
|
lda #$fe
|
|
lda #$ff
|
|
rep #'0'
|
|
!al
|
|
!rl
|
|
lda #'h'
|
|
lda #$c8
|
|
lda #$6868
|
|
rts
|
|
|
|
more_ascii !byte 'h'
|
|
!byte $80
|
|
!word $6868
|
|
!byte $80
|
|
!word skipdata
|
|
!24 skipdata
|
|
!byte $10,$3f
|
|
!byte <more_ascii
|
|
!byte >more_ascii
|
|
!word more_ascii
|
|
!24 more_ascii
|
|
!byte $10,$68
|