2015-10-21 16:24:11 +00:00
|
|
|
|
PR# 3
|
|
|
|
|
PREFIX /A2OSX.SRC
|
|
|
|
|
NEW
|
|
|
|
|
INC 1
|
|
|
|
|
AUTO 6
|
2015-10-28 16:55:12 +00:00
|
|
|
|
.LIST OFF
|
|
|
|
|
.OR $0
|
2016-10-07 06:09:25 +00:00
|
|
|
|
.TF /A2OSX.DEV/BIN/ASM.T.65816
|
2015-10-21 16:24:11 +00:00
|
|
|
|
*---------------------------------------
|
2015-10-28 16:55:12 +00:00
|
|
|
|
.MA ST
|
|
|
|
|
.DA #:1-*-1
|
|
|
|
|
.AS "]1"
|
|
|
|
|
:1 .EQ *
|
|
|
|
|
.EM
|
2015-10-21 16:24:11 +00:00
|
|
|
|
*---------------------------------------
|
2015-10-28 16:55:12 +00:00
|
|
|
|
.DA T.ADDR.MODES
|
|
|
|
|
.DA T.REGISTERS
|
|
|
|
|
.DA T.OPCODES
|
2015-10-21 16:24:11 +00:00
|
|
|
|
*---------------------------------------
|
2016-10-07 06:09:25 +00:00
|
|
|
|
T.ADDR.MODES .EQ *
|
2015-10-28 16:55:12 +00:00
|
|
|
|
>ST "(a)"
|
|
|
|
|
>ST "(a),Y"
|
|
|
|
|
>ST "(a,S),Y"
|
|
|
|
|
>ST "(a,X)"
|
|
|
|
|
>ST "[a]"
|
|
|
|
|
>ST "[a],Y"
|
|
|
|
|
>ST "a"
|
|
|
|
|
>ST "a,X"
|
|
|
|
|
>ST "aa"
|
|
|
|
|
>ST "aa,X"
|
|
|
|
|
>ST "aa,Y"
|
|
|
|
|
>ST "aaa"
|
|
|
|
|
>ST "aaa,X"
|
|
|
|
|
>ST "i"
|
|
|
|
|
>ST "a,S"
|
|
|
|
|
>ST "r"
|
|
|
|
|
>ST "rr"
|
|
|
|
|
>ST "(aa)"
|
|
|
|
|
>ST "(aa,X)"
|
|
|
|
|
>ST "[aa]"
|
|
|
|
|
>ST "a,Y"
|
|
|
|
|
>ST "a,a"
|
|
|
|
|
.HS 00
|
2015-10-21 16:24:11 +00:00
|
|
|
|
*---------------------------------------
|
2015-10-28 16:55:12 +00:00
|
|
|
|
T.REGISTERS .EQ *
|
|
|
|
|
>ST "Y"
|
|
|
|
|
>ST "S"
|
|
|
|
|
>ST "X"
|
|
|
|
|
.HS 00
|
2015-10-21 16:24:11 +00:00
|
|
|
|
*---------------------------------------
|
2015-10-28 16:55:12 +00:00
|
|
|
|
.INB BIN/ASM.T.65816.O
|
2015-10-21 16:24:11 +00:00
|
|
|
|
*---------------------------------------
|
|
|
|
|
MAN
|
|
|
|
|
SAVE BIN/ASM.T.65816.S
|
|
|
|
|
ASM
|