1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-03 05:49:48 +00:00
6502bench/SourceGen/SGTestData/Expected/20042-address-changes_64tass.S
Andy McFadden 225ab9e132 Regression test rework, part 2
Renamed the remaining tests.  Only edits were to the project files
that referenced .sym65/.cs.
2020-06-06 15:36:08 -07:00

124 lines
2.2 KiB
ArmAsm

.cpu "65816"
* = $1000
.as
.xs
clc
xce
sep #$ff
jsr L1100
jsr L1107
jmp L2000
.logical $1100
L1100 bit L1100
L1103 lda #$11
ldx #$11
L1107 ldy #$11
per L1103
bra L1103
.here
.logical $1100
_L1100_0 bit _L1100_0
lda #$22
_L1105 ldx #$22
ldy #$22
per _L1105
jmp _L1105
.here
.logical $1100
_L1100_1 bit _L1100_1
lda #$33
ldx #$33
_L1107_0 ldy #$33
per _L1107_0
bra _L1107_0
.here
.logical $2000
L2000 bit L2000
beq $2018
bra _L2020
.here
.logical $2020
_L2020 bit _L2020
beq $2029
brl _L2080
_offend nop
.here
.logical $2080
_L2080 bit _L2080
lda _offend
jsr _offend
lda $2029
jsr $2029
lda _L2080-1
jsr _L2080-1
lda _L2080
jsr _L2080
lda $00
beq _L2100
.byte $ad
.here
.logical $2100
_L2100 nop
nop
jmp _L3000
.here
.logical $2800
.byte $00
.byte $28
.fill 14,$00
.here
.logical $2820
.fill 18,$00
.here
.logical $3000
_L3000 bit _L3000
lda #$44
ldx #$44
ldy #$44
brl _fwd
_ulabel .byte $00
.byte $01
.here
.logical $3100
.byte $02
_fwd bit _fwd
lda _ulabel
lda _ulabel+1
lda $300e
lda $300f
lda _fwd-1
beq _L3182
.byte $ea
.byte $ea
.here
.logical $3180
.byte $00
.byte $01
_L3182 bit _L3182
lda _label1
lda _label1+1
lda _label1+112
bra _L3200
_label1 .byte $ea
.byte $ea
.here
.logical $3200
_L3200 bit _L3200
.byte $00
.byte $01
.here