mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-12 21:29:30 +00:00
9784ad043e
While it's okay to use ';', the classic Merlin editor will treat it as an end-of-line comment and shove the entire thing off to the right side of the screen. This adds a configuration item to the app settings, with a default value of ';'.
15 lines
272 B
ArmAsm
15 lines
272 B
ArmAsm
.setcpu "65816"
|
|
.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
|
|
|