mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-01 22:50:35 +00:00
b7d3e3cfdf
Split into 6502/65816 portions. The 6502 version is the original with a few in-place substitutions (e.g. JMP for BRL). The 65816 version is only needed to exercise special handling of PEA/PER.
17 lines
333 B
ArmAsm
17 lines
333 B
ArmAsm
;6502bench SourceGen v1.7.3-dev2
|
|
.setcpu "65816"
|
|
; .segment "SEG000"
|
|
.org $1000
|
|
.a8
|
|
.i8
|
|
nop
|
|
L1001: bit L1001
|
|
caddr: pea caddr-1
|
|
per caddr-1
|
|
lda L1001+2
|
|
lda caddr
|
|
lda caddr+1
|
|
lda caddr+2
|
|
rts
|
|
|