mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-11 13:50:13 +00:00
4e08810278
The label localizer is now always on. The regression tests turned it off by default, but that's no longer allowed, so the generated output has changed for many of them. The tests themselves were not altered.
45 lines
821 B
ArmAsm
45 lines
821 B
ArmAsm
.setcpu "6502"
|
|
; .segment "SEG000"
|
|
.org $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 @L103A
|
|
jsr @L103D
|
|
nop
|
|
lda $2456
|
|
jsr @L1045
|
|
rts
|
|
|
|
@L103A: jsr $2456
|
|
@L103D: lda #$55
|
|
ldx #$66
|
|
rts
|
|
|
|
.byte $81
|
|
.byte $82
|
|
.byte $83
|
|
|
|
@L1045: lda #$99
|
|
rts
|
|
|