mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-22 16:31:07 +00:00
56 lines
1001 B
Plaintext
56 lines
1001 B
Plaintext
PR# 3
|
||
PREFIX /A2OSX.SRC
|
||
NEW
|
||
INC 1
|
||
AUTO 6
|
||
.LIST OFF
|
||
.OR $0
|
||
.TF /A2OSX.BOOT/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 BIN/ASM.T.65816.S
|
||
ASM
|