1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-19 21:29:14 +00:00
6502bench/SourceGen/SGTestData/Expected/2011-hinting_64tass.S
Andy McFadden f7e5cf2f45 Progress toward 64tass support
Most tests pass, but 2007-labels-and-symbols fails because the
expressions recognized by 64tass don't match up with either of the
other assemblers.

This is currently using a workaround for the local label syntax.
64tass uses '_' as the prefix, which is unfortunate since SourceGen
explicitly allowed underscores in labels.  (So does 64tass for that
matter, but it treats labels specially when the '_' comes first.)
We will need to rename any non-local user labels that start with '_'.

(issue #16)
2018-10-23 20:08:01 -07:00

36 lines
631 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 .dword $22a211a9
jsr L101B
jsr L1028
jsr $2456
L1028 .dword $44a233a9
jsr L1037
jsr L103A
nop
lda $2456
rts
L1037 jsr $2456
L103A lda #$55
ldx #$66
rts