1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-01 22:50:35 +00:00
6502bench/SourceGen/SGTestData/Expected/20050-branches-and-banks_acme.S

38 lines
644 B
ArmAsm
Raw Normal View History

!cpu 6502
* = $0000
!pseudopc $1000 {
jmp L0000
} ;!pseudopc
!pseudopc $0000 {
L0000 bit+2 L0000
L0003 lda+1 L0000
lda+1 L0003
bne LFFC3
bmi $ffc3
bvs L0012
bvc L0080
lodat !byte $00
!byte $01
!byte $02
L0012 lda+1 lodat+1
clc
bcc LFFC0
} ;!pseudopc
!pseudopc $0080 {
L0080 bit+2 L0080
jmp LFFC6
} ;!pseudopc
!pseudopc $ffc0 {
LFFC0 bit LFFC0
LFFC3 clc
bcc L0003
LFFC6 rts
} ;!pseudopc