2017-06-16 13:01:08 +00:00
|
|
|
|
NEW
|
2020-02-23 20:01:48 +00:00
|
|
|
|
AUTO 3,1
|
2017-06-16 13:01:08 +00:00
|
|
|
|
*---------------------------------------
|
2018-01-15 06:50:44 +00:00
|
|
|
|
T.ADDR.MODES .EQ *
|
2020-07-23 20:20:02 +00:00
|
|
|
|
.DA #4,$$"##aa"
|
2018-03-28 15:23:32 +00:00
|
|
|
|
.DA #2,$$"#a"
|
|
|
|
|
.DA #3,$$"(a)"
|
|
|
|
|
.DA #5,$$"(a),Y"
|
|
|
|
|
.DA #7,$$"(a,S),Y"
|
|
|
|
|
.DA #5,$$"(a,X)"
|
|
|
|
|
.DA #3,$$"[a]"
|
|
|
|
|
.DA #5,$$"[a],Y"
|
|
|
|
|
.DA #1,$$"a"
|
|
|
|
|
.DA #3,$$"a,S"
|
|
|
|
|
.DA #3,$$"a,X"
|
|
|
|
|
.DA #2,$$"aa"
|
|
|
|
|
.DA #4,$$"aa,X"
|
|
|
|
|
.DA #4,$$"aa,Y"
|
|
|
|
|
.DA #3,$$"aaa"
|
|
|
|
|
.DA #5,$$"aaa,X"
|
|
|
|
|
.DA #4,$$"(aa)"
|
|
|
|
|
.DA #6,$$"(aa,X)"
|
|
|
|
|
.DA #4,$$"[aa]"
|
|
|
|
|
.DA #3,$$"a,Y"
|
|
|
|
|
.DA #3,$$"a,b"
|
2017-06-16 13:01:08 +00:00
|
|
|
|
.HS 00
|
|
|
|
|
*---------------------------------------
|
|
|
|
|
T.REGISTERS .EQ *
|
2018-03-28 15:23:32 +00:00
|
|
|
|
.DA #1,$$"Y"
|
|
|
|
|
.DA #1,$$"S"
|
|
|
|
|
.DA #1,$$"X"
|
2017-06-16 13:01:08 +00:00
|
|
|
|
.HS 00
|
|
|
|
|
*---------------------------------------
|
|
|
|
|
MAN
|
2020-07-23 20:20:02 +00:00
|
|
|
|
SAVE usr/src/bin/asm.65816.a
|
|
|
|
|
LOAD usr/src/bin/asm.65816.s
|
2017-06-16 13:01:08 +00:00
|
|
|
|
ASM
|