A2osX/BIN/ASM.65C02.O.txt
2020-02-23 21:01:48 +01:00

389 lines
7.7 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
AUTO 3,1
*---------------------------------------
T.OPCODES .EQ *
ADC .DA ADC.E+1-*
.DA #3,$$"ADC"
.DA #1,#3,$$"69a"
.DA #2,#3,$$"72a"
.DA #3,#3,$$"71a"
.DA #4,#3,$$"61a"
.DA #5,#3,$$"65a"
.DA #6,#3,$$"75a"
.DA #7,#4,$$"6Daa"
.DA #8,#4,$$"7Daa"
.DA #9,#4,$$"79aa"
ADC.E .HS 00
AND .DA AND.E+1-*
.DA #3,$$"AND"
.DA #1,#3,$$"29a"
.DA #2,#3,$$"32a"
.DA #3,#3,$$"31a"
.DA #4,#3,$$"21a"
.DA #5,#3,$$"25a"
.DA #6,#3,$$"35a"
.DA #7,#4,$$"2Daa"
.DA #8,#4,$$"3Daa"
.DA #9,#4,$$"39aa"
AND.E .HS 00
ASL .DA ASL.E+1-*
.DA #3,$$"ASL"
.DA #5,#3,$$"06a"
.DA #6,#3,$$"16a"
.DA #7,#4,$$"0Eaa"
.DA #8,#4,$$"1Eaa"
.DA #255,#2,$$"0A"
ASL.E .HS 00
BCC .DA BCC.E+1-*
.DA #3,$$"BCC"
.DA #7,#3,$$"90r"
BCC.E .HS 00
BCS .DA BCS.E+1-*
.DA #3,$$"BCS"
.DA #7,#3,$$"B0r"
BCS.E .HS 00
BEQ .DA BEQ.E+1-*
.DA #3,$$"BEQ"
.DA #7,#3,$$"F0r"
BEQ.E .HS 00
BIT .DA BIT.E+1-*
.DA #3,$$"BIT"
.DA #1,#3,$$"89a"
.DA #5,#3,$$"24a"
.DA #6,#3,$$"34a"
.DA #7,#4,$$"2Caa"
.DA #8,#4,$$"3Caa"
BIT.E .HS 00
BMI .DA BMI.E+1-*
.DA #3,$$"BMI"
.DA #7,#3,$$"30r"
BMI.E .HS 00
BNE .DA BNE.E+1-*
.DA #3,$$"BNE"
.DA #7,#3,$$"D0r"
BNE.E .HS 00
BPL .DA BPL.E+1-*
.DA #3,$$"BPL"
.DA #7,#3,$$"10r"
BPL.E .HS 00
BRA .DA BRA.E+1-*
.DA #3,$$"BRA"
.DA #7,#3,$$"80r"
BRA.E .HS 00
BRK .DA BRK.E+1-*
.DA #3,$$"BRK"
.DA #255,#2,$$"00"
BRK.E .HS 00
BVC .DA BVC.E+1-*
.DA #3,$$"BVC"
.DA #7,#3,$$"50r"
BVC.E .HS 00
BVS .DA BVS.E+1-*
.DA #3,$$"BVS"
.DA #7,#3,$$"70r"
BVS.E .HS 00
CLC .DA CLC.E+1-*
.DA #3,$$"CLC"
.DA #255,#2,$$"18"
CLC.E .HS 00
CLD .DA CLD.E+1-*
.DA #3,$$"CLD"
.DA #255,#2,$$"D8"
CLD.E .HS 00
CLI .DA CLI.E+1-*
.DA #3,$$"CLI"
.DA #255,#2,$$"58"
CLI.E .HS 00
CLV .DA CLV.E+1-*
.DA #3,$$"CLV"
.DA #255,#2,$$"B8"
CLV.E .HS 00
CMP .DA CMP.E+1-*
.DA #3,$$"CMP"
.DA #1,#3,$$"C9a"
.DA #2,#3,$$"D2a"
.DA #3,#3,$$"D1a"
.DA #4,#3,$$"C1a"
.DA #5,#3,$$"C5a"
.DA #6,#3,$$"D5a"
.DA #7,#4,$$"CDaa"
.DA #8,#4,$$"DDaa"
.DA #9,#4,$$"D9aa"
CMP.E .HS 00
CPX .DA CPX.E+1-*
.DA #3,$$"CPX"
.DA #1,#3,$$"E0a"
.DA #5,#3,$$"E4a"
.DA #7,#4,$$"ECaa"
CPX.E .HS 00
CPY .DA CPY.E+1-*
.DA #3,$$"CPY"
.DA #1,#3,$$"C0a"
.DA #5,#3,$$"C4a"
.DA #7,#4,$$"CCaa"
CPY.E .HS 00
DEC .DA DEC.E+1-*
.DA #3,$$"DEC"
.DA #5,#3,$$"C6a"
.DA #6,#3,$$"D6a"
.DA #7,#4,$$"CEaa"
.DA #8,#4,$$"DEaa"
.DA #255,#2,$$"3A"
DEC.E .HS 00
DEX .DA DEX.E+1-*
.DA #3,$$"DEX"
.DA #255,#2,$$"CA"
DEX.E .HS 00
DEY .DA DEY.E+1-*
.DA #3,$$"DEY"
.DA #255,#2,$$"88"
DEY.E .HS 00
EOR .DA EOR.E+1-*
.DA #3,$$"EOR"
.DA #1,#3,$$"49a"
.DA #2,#3,$$"52a"
.DA #3,#3,$$"51a"
.DA #4,#3,$$"41a"
.DA #5,#3,$$"45a"
.DA #6,#3,$$"55a"
.DA #7,#4,$$"4Daa"
.DA #8,#4,$$"5Daa"
.DA #9,#4,$$"59aa"
EOR.E .HS 00
INC .DA INC.E+1-*
.DA #3,$$"INC"
.DA #5,#3,$$"E6a"
.DA #6,#3,$$"F6a"
.DA #7,#4,$$"EEaa"
.DA #8,#4,$$"FEaa"
.DA #255,#2,$$"1A"
INC.E .HS 00
INX .DA INX.E+1-*
.DA #3,$$"INX"
.DA #255,#2,$$"E8"
INX.E .HS 00
INY .DA INY.E+1-*
.DA #3,$$"INY"
.DA #255,#2,$$"C8"
INY.E .HS 00
JMP .DA JMP.E+1-*
.DA #3,$$"JMP"
.DA #10,#4,$$"6Caa"
.DA #11,#4,$$"7Caa"
.DA #7,#4,$$"4Caa"
JMP.E .HS 00
JSR .DA JSR.E+1-*
.DA #3,$$"JSR"
.DA #7,#4,$$"20aa"
JSR.E .HS 00
LDA .DA LDA.E+1-*
.DA #3,$$"LDA"
.DA #1,#3,$$"A9a"
.DA #2,#3,$$"B2a"
.DA #3,#3,$$"B1a"
.DA #4,#3,$$"A1a"
.DA #5,#3,$$"A5a"
.DA #6,#3,$$"B5a"
.DA #7,#4,$$"ADaa"
.DA #8,#4,$$"BDaa"
.DA #9,#4,$$"B9aa"
LDA.E .HS 00
LDX .DA LDX.E+1-*
.DA #3,$$"LDX"
.DA #1,#3,$$"A2a"
.DA #5,#3,$$"A6a"
.DA #12,#3,$$"B6a"
.DA #7,#4,$$"AEaa"
.DA #9,#4,$$"BEaa"
LDX.E .HS 00
LDY .DA LDY.E+1-*
.DA #3,$$"LDY"
.DA #1,#3,$$"A0a"
.DA #5,#3,$$"A4a"
.DA #6,#3,$$"B4a"
.DA #7,#4,$$"ACaa"
.DA #8,#4,$$"BCaa"
LDY.E .HS 00
LSR .DA LSR.E+1-*
.DA #3,$$"LSR"
.DA #5,#3,$$"46a"
.DA #6,#3,$$"56a"
.DA #7,#4,$$"4Eaa"
.DA #8,#4,$$"5Eaa"
.DA #255,#2,$$"4A"
LSR.E .HS 00
NOP .DA NOP.E+1-*
.DA #3,$$"NOP"
.DA #255,#2,$$"EA"
NOP.E .HS 00
ORA .DA ORA.E+1-*
.DA #3,$$"ORA"
.DA #1,#3,$$"09a"
.DA #2,#3,$$"12a"
.DA #3,#3,$$"11a"
.DA #4,#3,$$"01a"
.DA #5,#3,$$"05a"
.DA #6,#3,$$"15a"
.DA #7,#4,$$"0Daa"
.DA #8,#4,$$"1Daa"
.DA #9,#4,$$"19aa"
ORA.E .HS 00
PHA .DA PHA.E+1-*
.DA #3,$$"PHA"
.DA #255,#2,$$"48"
PHA.E .HS 00
PHP .DA PHP.E+1-*
.DA #3,$$"PHP"
.DA #255,#2,$$"08"
PHP.E .HS 00
PHX .DA PHX.E+1-*
.DA #3,$$"PHX"
.DA #255,#2,$$"DA"
PHX.E .HS 00
PHY .DA PHY.E+1-*
.DA #3,$$"PHY"
.DA #255,#2,$$"5A"
PHY.E .HS 00
PLA .DA PLA.E+1-*
.DA #3,$$"PLA"
.DA #255,#2,$$"68"
PLA.E .HS 00
PLP .DA PLP.E+1-*
.DA #3,$$"PLP"
.DA #255,#2,$$"28"
PLP.E .HS 00
PLX .DA PLX.E+1-*
.DA #3,$$"PLX"
.DA #255,#2,$$"FA"
PLX.E .HS 00
PLY .DA PLY.E+1-*
.DA #3,$$"PLY"
.DA #255,#2,$$"7A"
PLY.E .HS 00
ROL .DA ROL.E+1-*
.DA #3,$$"ROL"
.DA #5,#3,$$"26a"
.DA #6,#3,$$"36a"
.DA #7,#4,$$"2Eaa"
.DA #8,#4,$$"3Eaa"
.DA #255,#2,$$"2A"
ROL.E .HS 00
ROR .DA ROR.E+1-*
.DA #3,$$"ROR"
.DA #5,#3,$$"66a"
.DA #6,#3,$$"76a"
.DA #7,#4,$$"6Eaa"
.DA #8,#4,$$"7Eaa"
.DA #255,#2,$$"6A"
ROR.E .HS 00
RTI .DA RTI.E+1-*
.DA #3,$$"RTI"
.DA #255,#2,$$"40"
RTI.E .HS 00
RTS .DA RTS.E+1-*
.DA #3,$$"RTS"
.DA #255,#2,$$"60"
RTS.E .HS 00
SBC .DA SBC.E+1-*
.DA #3,$$"SBC"
.DA #1,#3,$$"E9a"
.DA #2,#3,$$"F2a"
.DA #3,#3,$$"F1a"
.DA #4,#3,$$"E1a"
.DA #5,#3,$$"E5a"
.DA #6,#3,$$"F5a"
.DA #7,#4,$$"EDaa"
.DA #8,#4,$$"FDaa"
.DA #9,#4,$$"F9aa"
SBC.E .HS 00
SEC .DA SEC.E+1-*
.DA #3,$$"SEC"
.DA #255,#2,$$"38"
SEC.E .HS 00
SED .DA SED.E+1-*
.DA #3,$$"SED"
.DA #255,#2,$$"F8"
SED.E .HS 00
SEI .DA SEI.E+1-*
.DA #3,$$"SEI"
.DA #255,#2,$$"78"
SEI.E .HS 00
STA .DA STA.E+1-*
.DA #3,$$"STA"
.DA #2,#3,$$"92a"
.DA #3,#3,$$"91a"
.DA #4,#3,$$"81a"
.DA #5,#3,$$"85a"
.DA #6,#3,$$"95a"
.DA #7,#4,$$"8Daa"
.DA #8,#4,$$"9Daa"
.DA #9,#4,$$"99aa"
STA.E .HS 00
STP .DA STP.E+1-*
.DA #3,$$"STP"
.DA #255,#2,$$"DB"
STP.E .HS 00
STX .DA STX.E+1-*
.DA #3,$$"STX"
.DA #5,#3,$$"86a"
.DA #12,#3,$$"96a"
.DA #7,#4,$$"8Eaa"
STX.E .HS 00
STY .DA STY.E+1-*
.DA #3,$$"STY"
.DA #5,#3,$$"84a"
.DA #6,#3,$$"94a"
.DA #7,#4,$$"8Caa"
STY.E .HS 00
STZ .DA STZ.E+1-*
.DA #3,$$"STZ"
.DA #5,#3,$$"64a"
.DA #6,#3,$$"74a"
.DA #7,#4,$$"9Caa"
.DA #8,#4,$$"9Eaa"
STZ.E .HS 00
TAX .DA TAX.E+1-*
.DA #3,$$"TAX"
.DA #255,#2,$$"AA"
TAX.E .HS 00
TAY .DA TAY.E+1-*
.DA #3,$$"TAY"
.DA #255,#2,$$"A8"
TAY.E .HS 00
TRB .DA TRB.E+1-*
.DA #3,$$"TRB"
.DA #5,#3,$$"14a"
.DA #7,#4,$$"1Caa"
TRB.E .HS 00
TSB .DA TSB.E+1-*
.DA #3,$$"TSB"
.DA #5,#3,$$"04a"
.DA #7,#4,$$"0Caa"
TSB.E .HS 00
TSX .DA TSX.E+1-*
.DA #3,$$"TSX"
.DA #255,#2,$$"BA"
TSX.E .HS 00
TXA .DA TXA.E+1-*
.DA #3,$$"TXA"
.DA #255,#2,$$"8A"
TXA.E .HS 00
TXS .DA TXS.E+1-*
.DA #3,$$"TXS"
.DA #255,#2,$$"9A"
TXS.E .HS 00
TYA .DA TYA.E+1-*
.DA #3,$$"TYA"
.DA #255,#2,$$"98"
TYA.E .HS 00
WAI .DA WAI.E+1-*
.DA #3,$$"WAI"
.DA #255,#2,$$"CB"
WAI.E .HS 00
.HS 0000
*---------------------------------------
MAN
SAVE USR/SRC/BIN/ASM.65C02.O
LOAD USR/SRC/BIN/ASM.65C02.S
ASM