1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-12 21:29:30 +00:00
6502bench/SourceGen/SGTestData/Expected/20280-label-placement_merlin32.S

28 lines
547 B
ArmAsm
Raw Normal View History

shortnm equ $4000 ;short label
SomewhatLongName equ $4001 ;somewhat longer label
org $1000
lda shortnm
ldx SomewhatLongName
clc
bcc BranchTargetLongName
data
dfb $cc
]ptr equ $00 ;local var with short name
]PointerWithLongName equ $02 ;local var with longer name
BranchTargetLongName
sta ]ptr
stx ]PointerWithLongName
ldy data
lsr A
bcc shortb
shortb
nop
jmp done
done
rts