A2osX/BIN/ASM.T.65816.S.txt
2015-10-28 17:55:12 +01:00

56 lines
1001 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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