mirror of
https://github.com/A2osX/A2osX.git
synced 2024-08-14 13:29:02 +00:00
56 lines
1012 B
Plaintext
56 lines
1012 B
Plaintext
PR# 3
|
||
PREFIX /A2OSX.BUILD
|
||
NEW
|
||
INC 1
|
||
AUTO 6
|
||
.LIST OFF
|
||
.OR $0
|
||
.TF /A2OSX.DEV/BIN/ASM.T.65816
|
||
*---------------------------------------
|
||
.MA ST
|
||
.DA #:1-*-1
|
||
.AS "]1"
|
||
:1 .EQ *
|
||
.EM
|
||
*---------------------------------------
|
||
.DA T.ADDR.MODES
|
||
.DA T.REGISTERS
|
||
.DA T.OPCODES
|
||
*---------------------------------------
|
||
T.ADDR.MODES .EQ *
|
||
>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
|
||
*---------------------------------------
|
||
T.REGISTERS .EQ *
|
||
>ST "Y"
|
||
>ST "S"
|
||
>ST "X"
|
||
.HS 00
|
||
*---------------------------------------
|
||
.INB BIN/ASM.T.65816.O
|
||
*---------------------------------------
|
||
MAN
|
||
SAVE /A2OSX.SRC/BIN/ASM.T.65816.S
|
||
ASM
|