mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-05 06:04:36 +00:00
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
|
||
|
|