A2osX/BIN/ASM.T.6502.O.txt
2018-01-15 06:50:44 +00:00

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