1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-06-30 06:29:32 +00:00
6502bench/SourceGen/SGTestData/Expected/20062-target-adjustment_acme.S
Andy McFadden b7d3e3cfdf Refactor 2006x-target-adjustment
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.
2020-10-19 15:46:05 -07:00

16 lines
290 B
ArmAsm

;6502bench SourceGen v1.7.3-dev2
!cpu 65816
* = $1000
!as
!rs
nop
L1001 bit L1001
caddr pea caddr-1
per caddr-1
lda L1001+2
lda caddr
lda caddr+1
lda caddr+2
rts