mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-18 15:06:07 +00:00
3637bb964d
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.
32 lines
491 B
ArmAsm
32 lines
491 B
ArmAsm
org $1000
|
|
jmp L0000
|
|
|
|
org $0000
|
|
L0000 bit: L0000
|
|
L0003 lda L0000
|
|
lda L0003
|
|
dfb $d0,$ba
|
|
dfb $30,$b8
|
|
bvs L0012
|
|
bvc L0080
|
|
|
|
lodat dfb $00
|
|
dfb $01
|
|
dfb $02
|
|
|
|
L0012 lda lodat+1
|
|
clc
|
|
dfb $90,$a9
|
|
|
|
org $0080
|
|
L0080 bit: L0080
|
|
jmp LFFC6
|
|
|
|
org $ffc0
|
|
LFFC0 bit LFFC0
|
|
LFFC3 clc
|
|
dfb $90,$3d
|
|
|
|
LFFC6 rts
|
|
|