A2osX/BIN/ASM.T.65C02.O.txt
2018-01-26 07:04:29 +00:00

560 lines
8.1 KiB
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.

NEW
PREFIX /A2OSX.BUILD
AUTO 4,1
*---------------------------------------
T.OPCODES .EQ *
ADC .DA ADC.E+1-*
>PSTR "ADC"
.HS 01
>PSTR "72a"
.HS 02
>PSTR "71a"
.HS 03
>PSTR "61a"
.HS 04
>PSTR "65a"
.HS 05
>PSTR "75a"
.HS 06
>PSTR "6Daa"
.HS 07
>PSTR "7Daa"
.HS 08
>PSTR "79aa"
.HS 09
>PSTR "69i"
ADC.E .HS 00
AND .DA AND.E+1-*
>PSTR "AND"
.HS 01
>PSTR "32a"
.HS 02
>PSTR "31a"
.HS 03
>PSTR "21a"
.HS 04
>PSTR "25a"
.HS 05
>PSTR "35a"
.HS 06
>PSTR "2Daa"
.HS 07
>PSTR "3Daa"
.HS 08
>PSTR "39aa"
.HS 09
>PSTR "29i"
AND.E .HS 00
ASL .DA ASL.E+1-*
>PSTR "ASL"
.HS 04
>PSTR "06a"
.HS 05
>PSTR "16a"
.HS 06
>PSTR "0Eaa"
.HS 07
>PSTR "1Eaa"
.HS 00
>PSTR "0A"
ASL.E .HS 00
BCC .DA BCC.E+1-*
>PSTR "BCC"
.HS 0A
>PSTR "90r"
BCC.E .HS 00
BCS .DA BCS.E+1-*
>PSTR "BCS"
.HS 0A
>PSTR "B0r"
BCS.E .HS 00
BEQ .DA BEQ.E+1-*
>PSTR "BEQ"
.HS 0A
>PSTR "F0r"
BEQ.E .HS 00
BIT .DA BIT.E+1-*
>PSTR "BIT"
.HS 04
>PSTR "24a"
.HS 05
>PSTR "34a"
.HS 06
>PSTR "2Caa"
.HS 07
>PSTR "3Caa"
.HS 09
>PSTR "89i"
BIT.E .HS 00
BMI .DA BMI.E+1-*
>PSTR "BMI"
.HS 0A
>PSTR "30r"
BMI.E .HS 00
BNE .DA BNE.E+1-*
>PSTR "BNE"
.HS 0A
>PSTR "D0r"
BNE.E .HS 00
BPL .DA BPL.E+1-*
>PSTR "BPL"
.HS 0A
>PSTR "10r"
BPL.E .HS 00
BRA .DA BRA.E+1-*
>PSTR "BRA"
.HS 0A
>PSTR "80r"
BRA.E .HS 00
BRK .DA BRK.E+1-*
>PSTR "BRK"
.HS 00
>PSTR "00"
BRK.E .HS 00
BVC .DA BVC.E+1-*
>PSTR "BVC"
.HS 0A
>PSTR "50r"
BVC.E .HS 00
BVS .DA BVS.E+1-*
>PSTR "BVS"
.HS 0A
>PSTR "70r"
BVS.E .HS 00
CLC .DA CLC.E+1-*
>PSTR "CLC"
.HS 00
>PSTR "18"
CLC.E .HS 00
CLD .DA CLD.E+1-*
>PSTR "CLD"
.HS 00
>PSTR "D8"
CLD.E .HS 00
CLI .DA CLI.E+1-*
>PSTR "CLI"
.HS 00
>PSTR "58"
CLI.E .HS 00
CLV .DA CLV.E+1-*
>PSTR "CLV"
.HS 00
>PSTR "B8"
CLV.E .HS 00
CMP .DA CMP.E+1-*
>PSTR "CMP"
.HS 01
>PSTR "D2a"
.HS 02
>PSTR "D1a"
.HS 03
>PSTR "C1a"
.HS 04
>PSTR "C5a"
.HS 05
>PSTR "D5a"
.HS 06
>PSTR "CDaa"
.HS 07
>PSTR "DDaa"
.HS 08
>PSTR "D9aa"
.HS 09
>PSTR "C9i"
CMP.E .HS 00
CPX .DA CPX.E+1-*
>PSTR "CPX"
.HS 04
>PSTR "E4a"
.HS 06
>PSTR "Ecaa"
.HS 09
>PSTR "E0i"
CPX.E .HS 00
CPY .DA CPY.E+1-*
>PSTR "CPY"
.HS 04
>PSTR "C4a"
.HS 06
>PSTR "Ccaa"
.HS 09
>PSTR "C0i"
CPY.E .HS 00
DEC .DA DEC.E+1-*
>PSTR "DEC"
.HS 00
>PSTR "3A"
.HS 04
>PSTR "C6a"
.HS 05
>PSTR "D6a"
.HS 06
>PSTR "Ceaa"
.HS 07
>PSTR "Deaa"
DEC.E .HS 00
DEX .DA DEX.E+1-*
>PSTR "DEX"
.HS 00
>PSTR "CA"
DEX.E .HS 00
DEY .DA DEY.E+1-*
>PSTR "DEY"
.HS 00
>PSTR "88"
DEY.E .HS 00
EOR .DA EOR.E+1-*
>PSTR "EOR"
.HS 01
>PSTR "52a"
.HS 02
>PSTR "51a"
.HS 03
>PSTR "41a"
.HS 04
>PSTR "45a"
.HS 05
>PSTR "55a"
.HS 06
>PSTR "4Daa"
.HS 07
>PSTR "5Daa"
.HS 08
>PSTR "59aa"
.HS 09
>PSTR "49i"
EOR.E .HS 00
INC .DA INC.E+1-*
>PSTR "INC"
.HS 00
>PSTR "1A"
.HS 04
>PSTR "E6a"
.HS 05
>PSTR "F6a"
.HS 06
>PSTR "Eeaa"
.HS 07
>PSTR "Feaa"
INC.E .HS 00
INX .DA INX.E+1-*
>PSTR "INX"
.HS 00
>PSTR "E8"
INX.E .HS 00
INY .DA INY.E+1-*
>PSTR "INY"
.HS 00
>PSTR "C8"
INY.E .HS 00
JMP .DA JMP.E+1-*
>PSTR "JMP"
.HS 0B
>PSTR "6Caa"
.HS 0C
>PSTR "7Caa"
.HS 06
>PSTR "4Caa"
JMP.E .HS 00
JSR .DA JSR.E+1-*
>PSTR "JSR"
.HS 06
>PSTR "20aa"
JSR.E .HS 00
LDA .DA LDA.E+1-*
>PSTR "LDA"
.HS 01
>PSTR "B2a"
.HS 02
>PSTR "B1a"
.HS 03
>PSTR "A1a"
.HS 04
>PSTR "A5a"
.HS 05
>PSTR "B5a"
.HS 06
>PSTR "Adaa"
.HS 07
>PSTR "Bdaa"
.HS 08
>PSTR "B9aa"
.HS 09
>PSTR "A9i"
LDA.E .HS 00
LDX .DA LDX.E+1-*
>PSTR "LDX"
.HS 04
>PSTR "A6a"
.HS 0D
>PSTR "B6a"
.HS 06
>PSTR "Aeaa"
.HS 08
>PSTR "Beaa"
.HS 09
>PSTR "A2i"
LDX.E .HS 00
LDY .DA LDY.E+1-*
>PSTR "LDY"
.HS 04
>PSTR "A4a"
.HS 05
>PSTR "B4a"
.HS 06
>PSTR "Acaa"
.HS 07
>PSTR "Bcaa"
.HS 09
>PSTR "A0i"
LDY.E .HS 00
LSR .DA LSR.E+1-*
>PSTR "LSR"
.HS 04
>PSTR "46a"
.HS 05
>PSTR "56a"
.HS 06
>PSTR "4Eaa"
.HS 07
>PSTR "5Eaa"
.HS 00
>PSTR "4A"
LSR.E .HS 00
NOP .DA NOP.E+1-*
>PSTR "NOP"
.HS 00
>PSTR "EA"
NOP.E .HS 00
ORA .DA ORA.E+1-*
>PSTR "ORA"
.HS 01
>PSTR "12a"
.HS 02
>PSTR "11a"
.HS 03
>PSTR "01a"
.HS 04
>PSTR "05a"
.HS 05
>PSTR "15a"
.HS 06
>PSTR "0Daa"
.HS 07
>PSTR "1Daa"
.HS 08
>PSTR "19aa"
.HS 09
>PSTR "09i"
ORA.E .HS 00
PHA .DA PHA.E+1-*
>PSTR "PHA"
.HS 00
>PSTR "48"
PHA.E .HS 00
PHP .DA PHP.E+1-*
>PSTR "PHP"
.HS 00
>PSTR "08"
PHP.E .HS 00
PHX .DA PHX.E+1-*
>PSTR "PHX"
.HS 00
>PSTR "DA"
PHX.E .HS 00
PHY .DA PHY.E+1-*
>PSTR "PHY"
.HS 00
>PSTR "5A"
PHY.E .HS 00
PLA .DA PLA.E+1-*
>PSTR "PLA"
.HS 00
>PSTR "68"
PLA.E .HS 00
PLP .DA PLP.E+1-*
>PSTR "PLP"
.HS 00
>PSTR "28"
PLP.E .HS 00
PLX .DA PLX.E+1-*
>PSTR "PLX"
.HS 00
>PSTR "FA"
PLX.E .HS 00
PLY .DA PLY.E+1-*
>PSTR "PLY"
.HS 00
>PSTR "7A"
PLY.E .HS 00
ROL .DA ROL.E+1-*
>PSTR "ROL"
.HS 04
>PSTR "26a"
.HS 05
>PSTR "36a"
.HS 06
>PSTR "2Eaa"
.HS 07
>PSTR "3Eaa"
.HS 00
>PSTR "2A"
ROL.E .HS 00
ROR .DA ROR.E+1-*
>PSTR "ROR"
.HS 04
>PSTR "66a"
.HS 05
>PSTR "76a"
.HS 06
>PSTR "6Eaa"
.HS 07
>PSTR "7Eaa"
.HS 00
>PSTR "6A"
ROR.E .HS 00
RTI .DA RTI.E+1-*
>PSTR "RTI"
.HS 00
>PSTR "40"
RTI.E .HS 00
RTS .DA RTS.E+1-*
>PSTR "RTS"
.HS 00
>PSTR "60"
RTS.E .HS 00
SBC .DA SBC.E+1-*
>PSTR "SBC"
.HS 01
>PSTR "F2a"
.HS 02
>PSTR "F1a"
.HS 03
>PSTR "E1a"
.HS 04
>PSTR "E5a"
.HS 05
>PSTR "F5a"
.HS 06
>PSTR "Edaa"
.HS 07
>PSTR "Fdaa"
.HS 08
>PSTR "F9aa"
.HS 09
>PSTR "E9i"
SBC.E .HS 00
SEC .DA SEC.E+1-*
>PSTR "SEC"
.HS 00
>PSTR "38"
SEC.E .HS 00
SED .DA SED.E+1-*
>PSTR "SED"
.HS 00
>PSTR "F8"
SED.E .HS 00
SEI .DA SEI.E+1-*
>PSTR "SEI"
.HS 00
>PSTR "78"
SEI.E .HS 00
STA .DA STA.E+1-*
>PSTR "STA"
.HS 01
>PSTR "92a"
.HS 02
>PSTR "91a"
.HS 03
>PSTR "81a"
.HS 04
>PSTR "85a"
.HS 05
>PSTR "95a"
.HS 06
>PSTR "8Daa"
.HS 07
>PSTR "9Daa"
.HS 08
>PSTR "99aa"
STA.E .HS 00
STX .DA STX.E+1-*
>PSTR "STX"
.HS 04
>PSTR "86a"
.HS 0D
>PSTR "96a"
.HS 06
>PSTR "8Eaa"
STX.E .HS 00
STY .DA STY.E+1-*
>PSTR "STY"
.HS 04
>PSTR "84a"
.HS 05
>PSTR "94a"
.HS 06
>PSTR "8Caa"
STY.E .HS 00
STZ .DA STZ.E+1-*
>PSTR "STZ"
.HS 04
>PSTR "64a"
.HS 05
>PSTR "74a"
.HS 06
>PSTR "9Caa"
.HS 07
>PSTR "9Eaa"
STZ.E .HS 00
TAX .DA TAX.E+1-*
>PSTR "TAX"
.HS 00
>PSTR "AA"
TAX.E .HS 00
TAY .DA TAY.E+1-*
>PSTR "TAY"
.HS 00
>PSTR "A8"
TAY.E .HS 00
TRB .DA TRB.E+1-*
>PSTR "TRB"
.HS 04
>PSTR "14a"
.HS 06
>PSTR "1Caa"
TRB.E .HS 00
TSB .DA TSB.E+1-*
>PSTR "TSB"
.HS 04
>PSTR "04a"
.HS 06
>PSTR "0Caa"
TSB.E .HS 00
TSX .DA TSX.E+1-*
>PSTR "TSX"
.HS 00
>PSTR "BA"
TSX.E .HS 00
TXA .DA TXA.E+1-*
>PSTR "TXA"
.HS 00
>PSTR "8A"
TXA.E .HS 00
TXS .DA TXS.E+1-*
>PSTR "TXS"
.HS 00
>PSTR "9A"
TXS.E .HS 00
TYA .DA TYA.E+1-*
>PSTR "TYA"
.HS 00
>PSTR "98"
TYA.E .HS 00
.HS 0000
*---------------------------------------
MAN
SAVE /A2OSX.BUILD/BIN/DEV/ASM.T.65C02.O
LOAD /A2OSX.BUILD/BIN/DEV/ASM.T.65C02.S
ASM