mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-25 20:33:13 +00:00
f34e2b5f7c
-Loader is now working (todo:rename to A2osX.system,tSYS) -most of BINs working -CR->CR/LF
100 lines
1.9 KiB
Plaintext
100 lines
1.9 KiB
Plaintext
PR#3
|
||
NEW
|
||
AUTO 6
|
||
.TF /DATA/A2OS/BIN/ASM.T.65C02
|
||
.OR $2000
|
||
*---------------------------------------
|
||
.MA AMS AMSID,"Syntax",0,"Operand",0,"Rule",0
|
||
.DA #]1
|
||
.AS ]2
|
||
.DA #0
|
||
.AS ]3
|
||
.DA #0
|
||
.AS ]4
|
||
.DA #0
|
||
.EM
|
||
*---------------------------------------
|
||
T.ADDR.MODES.SYNTAX >AMS 1,"","","" Implicit
|
||
>AMS 2,"#$1",$1","" Immediate
|
||
>AMS 3,"$2","$1=$2-@+1","-127<$1<128" rel
|
||
>AMS 4,"$1","$1","" zp
|
||
>AMS 5,"$1,X","$1","" zp,x
|
||
>AMS 6,"$2","$2","" abs
|
||
>AMS 7,"$2,X","$2","" abs,x
|
||
>AMS 8,"$2,Y","$2","" abs,y
|
||
>AMS 9,"($2)","$2","" (abs)
|
||
>AMS 10,"($1)","$1","" (zp)
|
||
>AMS 11,"($1,X)","$1","" (zp,x)
|
||
>AMS 12,"($1),Y","$1","" (zp),x
|
||
|
||
T.OPCODES .AS "ADC"
|
||
.HS 0
|
||
.HS 2,$69,4,$65,5,$75,6,$6D,7,$7D,8,$79,11,$61,12,$71
|
||
.HS 0
|
||
.AS "AND"
|
||
.AS "ASL"
|
||
.AS "BCC"
|
||
.HS 0
|
||
.HS 3,$90
|
||
.HS 0
|
||
.AS "BCS"
|
||
.HS 0
|
||
.HS 3,$B0
|
||
.HS 0
|
||
.AS "BEQ"
|
||
.AS "BIT"
|
||
.AS "BMI"
|
||
.AS "BNE"
|
||
.AS "BPL"
|
||
.AS "BRK"
|
||
.AS "BVC"
|
||
.AS "BVS"
|
||
.AS "CLC"
|
||
.AS "CLD"
|
||
.AS "CLI"
|
||
.AS "CLV"
|
||
.AS "CMP"
|
||
.AS "CPX"
|
||
.AS "CPY"
|
||
.AS "DEC"
|
||
.AS "DEX"
|
||
.AS "DEY"
|
||
.AS "EOR"
|
||
.AS "INC"
|
||
.AS "INX"
|
||
.AS "INY"
|
||
.AS "JMP"
|
||
.AS "JSR"
|
||
.AS "LDA"
|
||
.AS "LDX"
|
||
.AS "LDY"
|
||
.AS "LSR"
|
||
.AS "NOP"
|
||
.AS "NOP"
|
||
.AS "ORA"
|
||
.AS "PHA"
|
||
.AS "PHP"
|
||
.AS "PLA"
|
||
.AS "ROL"
|
||
.AS "ROR"
|
||
.AS "RTI"
|
||
.AS "RTS"
|
||
.AS "SBC"
|
||
.AS "SEC"
|
||
.AS "SED"
|
||
.AS "SEI"
|
||
.AS "STA"
|
||
.AS "STX"
|
||
.AS "STY"
|
||
.AS "TAX"
|
||
.AS "TAY"
|
||
.AS "TSX"
|
||
.AS "TXA"
|
||
.AS "TXS"
|
||
.AS "TYA"
|
||
*---------------------------------------
|
||
.HS 0
|
||
MAN
|
||
SAVE /DATA/A2OS/BIN/ASM.T.65C02.S
|
||
ASM
|
||
|