1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-12 21:29:30 +00:00
6502bench/SourceGen/SGTestData/Expected/20300-binary-include_merlin32.S
Andy McFadden 7ca11b0889 Use Merlin 32 "putbin" directive
I had missed the existence of Merlin 32's PUTBIN directive, which
provides the binary include feature.
2024-06-01 10:24:41 -07:00

17 lines
291 B
ArmAsm

org $1000
L1000 ldy #$28
lda :L1017,y
sta $2000,y
dey
bpl L1000
lda :L103F
lda :L103F+1
lda done-1
jmp done
:L1017 putbin 20300-1.bin
:L103F putbin 20300sub/20300-2.bin
done rts