mirror of
https://github.com/fadden/6502bench.git
synced 2024-09-11 04:57:02 +00:00
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.
32 lines
491 B
ArmAsm
32 lines
491 B
ArmAsm
org $1000
|
|
jmp L0000
|
|
|
|
org $0000
|
|
L0000 bit: L0000
|
|
L0003 lda L0000
|
|
lda L0003
|
|
dfb $d0,$ba
|
|
dfb $30,$b8
|
|
bvs L0012
|
|
bvc L0080
|
|
|
|
lodat dfb $00
|
|
dfb $01
|
|
dfb $02
|
|
|
|
L0012 lda lodat+1
|
|
clc
|
|
dfb $90,$a9
|
|
|
|
org $0080
|
|
L0080 bit: L0080
|
|
jmp LFFC6
|
|
|
|
org $ffc0
|
|
LFFC0 bit LFFC0
|
|
LFFC3 clc
|
|
dfb $90,$3d
|
|
|
|
LFFC6 rts
|
|
|