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.
60 lines
1012 B
ArmAsm
60 lines
1012 B
ArmAsm
!cpu 65816
|
|
REALLYLONGLABELNAME = $8888 ;that's a long name
|
|
|
|
* = $1000
|
|
!as
|
|
!rs
|
|
nop
|
|
_start lda @start
|
|
lda X_start
|
|
lda pastglob
|
|
lda @__nopped
|
|
@start nop
|
|
@__nopped
|
|
nop
|
|
X_start nop
|
|
pastglob
|
|
nop
|
|
lda nlocal
|
|
nlocal lda #$11
|
|
reach1G nop
|
|
lda reach1G+1
|
|
lda @reach2+2
|
|
@reach2 nop
|
|
reach3G nop
|
|
@_reach4
|
|
nop
|
|
lda @_reach4-2
|
|
lda $00
|
|
beq @L102D
|
|
jsr @_reach4
|
|
jsr _start
|
|
@L102D lda #$22
|
|
lda gtest2
|
|
gtest1 nop
|
|
lda gtest3
|
|
gtest2 nop
|
|
gtest3 nop
|
|
lda #$33
|
|
lda $1041
|
|
topglob nop
|
|
lda @L1043
|
|
nop
|
|
nop
|
|
@L1043 nop
|
|
lda #$44
|
|
globalnm
|
|
jsr @L104A
|
|
nop
|
|
@L104A nop
|
|
nop
|
|
nglobal nop
|
|
globlat jsr nglobal
|
|
bra end
|
|
|
|
end nop
|
|
EXCESSIVELY_LONG_LABEL
|
|
lda REALLYLONGLABELNAME
|
|
rts
|
|
|