1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-11 13:50:13 +00:00
6502bench/SourceGen/SGTestData/Expected/20050-branches-and-banks_64tass.S
Andy McFadden 3637bb964d Regression test rework, part 4
Split 2005x-branches-and-banks into two parts, one that stays within
the 64K bounds of the 6502, one that puts code in a separate bank.
2020-06-06 17:30:50 -07:00

36 lines
573 B
ArmAsm

.cpu "6502"
* = $1000
jmp L0000
.logical $0000
L0000 bit @wL0000
L0003 lda L0000
lda L0003
bne LFFC3
bmi $ffc3
bvs L0012
bvc L0080
lodat .byte $00
.byte $01
.byte $02
L0012 lda lodat+1
clc
bcc LFFC0
.here
.logical $0080
L0080 bit @wL0080
jmp LFFC6
.here
.logical $ffc0
LFFC0 bit LFFC0
LFFC3 clc
bcc L0003
LFFC6 rts
.here