1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-04 15:05:03 +00:00
6502bench/SourceGen/SGTestData/Expected/20070-hinting_merlin32.S
Andy McFadden e9fbc6c96c Change Merlin 32 output suffix
We append an assembler identifier to generated code.  For Merlin 32,
this was "_Merlin32".  All of the other assemblers use a lower-case
string, which makes Merlin look a little weird, so it has been
changed to "_merlin32".

Windows filesystems are generally case-insensitive, so this won't
likely affect anything.
2020-10-18 15:47:11 -07:00

43 lines
711 B
ArmAsm

org $1000
dfb $03
dfb $02
L1002 bit L1002
dfb $2c
lda #$11
nop
dfb $2c
:L100A ldx #$ff
nop
jsr :L100A
nop
dfb $2c
:L1012 ldx #$ff
nop
jsr :L1012
jsr $2456
:L101B adrl $22a211a9
jsr :L101B
jsr :L1028
jsr $2456
:L1028 adrl $44a233a9
jsr :L103A
jsr :L103D
nop
lda $2456
jsr :L1045
rts
:L103A jsr $2456
:L103D lda #$55
ldx #$66
rts
dfb $81
dfb $82
dfb $83
:L1045 lda #$99
rts