mirror of
https://github.com/A2osX/A2osX.git
synced 2024-10-30 01:26:10 +00:00
102 lines
2.0 KiB
Plaintext
102 lines
2.0 KiB
Plaintext
PR#3
|
||
PREFIX /A2OSX.SRC
|
||
NEW
|
||
INC 1
|
||
AUTO 6
|
||
.TF /A2OSX.BOOT/BIN/ASM.T.65R02
|
||
.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),y
|
||
|
||
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 BIN/ASM.T.65R02.S
|
||
ASM
|
||
|