Enum Opcode6502
- java.lang.Object
-
- java.lang.Enum<Opcode6502>
-
- io.github.applecommander.disassembler.api.mos6502.Opcode6502
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Opcode6502>
public enum Opcode6502 extends java.lang.Enum<Opcode6502>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADC
ALR
ANC
AND
ANE
ARR
ASL
BCC
BCS
BEQ
BIT
BMI
BNE
BPL
BRA
BRK
BVC
BVS
CLC
CLD
CLI
CLV
CMP
CPX
CPY
DCP
DEC
DEX
DEY
EOR
INC
INX
INY
ISC
JAM
JMP
JSR
LAS
LAX
LDA
LDX
LDY
LSR
LXA
NOP
ORA
PHA
PHP
PHX
PHY
PLA
PLP
PLX
PLY
RLA
ROL
ROR
RRA
RTI
RTS
SAX
SBC
SBX
SEC
SED
SEI
SHA
SHX
SHY
SLO
SRE
STA
STX
STY
STZ
TAS
TAX
TAY
TRB
TSB
TSX
TXA
TXS
TYA
USBC
ZZZ
-
Field Summary
Fields Modifier and Type Field Description static Opcode6502[]
MOS6502
static Opcode6502[]
MOS6502_WITH_ILLEGAL
static Opcode6502[]
WDC65C02
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMnemonic()
static Opcode6502
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Opcode6502[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADC
public static final Opcode6502 ADC
-
AND
public static final Opcode6502 AND
-
ASL
public static final Opcode6502 ASL
-
BCC
public static final Opcode6502 BCC
-
BCS
public static final Opcode6502 BCS
-
BEQ
public static final Opcode6502 BEQ
-
BIT
public static final Opcode6502 BIT
-
BMI
public static final Opcode6502 BMI
-
BNE
public static final Opcode6502 BNE
-
BPL
public static final Opcode6502 BPL
-
BRK
public static final Opcode6502 BRK
-
BVC
public static final Opcode6502 BVC
-
BVS
public static final Opcode6502 BVS
-
CLC
public static final Opcode6502 CLC
-
CLD
public static final Opcode6502 CLD
-
CLI
public static final Opcode6502 CLI
-
CLV
public static final Opcode6502 CLV
-
CMP
public static final Opcode6502 CMP
-
CPX
public static final Opcode6502 CPX
-
CPY
public static final Opcode6502 CPY
-
DEC
public static final Opcode6502 DEC
-
DEX
public static final Opcode6502 DEX
-
DEY
public static final Opcode6502 DEY
-
EOR
public static final Opcode6502 EOR
-
INC
public static final Opcode6502 INC
-
INX
public static final Opcode6502 INX
-
INY
public static final Opcode6502 INY
-
JMP
public static final Opcode6502 JMP
-
JSR
public static final Opcode6502 JSR
-
LDA
public static final Opcode6502 LDA
-
LDX
public static final Opcode6502 LDX
-
LDY
public static final Opcode6502 LDY
-
LSR
public static final Opcode6502 LSR
-
NOP
public static final Opcode6502 NOP
-
ORA
public static final Opcode6502 ORA
-
PHA
public static final Opcode6502 PHA
-
PHP
public static final Opcode6502 PHP
-
PLA
public static final Opcode6502 PLA
-
PLP
public static final Opcode6502 PLP
-
ROL
public static final Opcode6502 ROL
-
ROR
public static final Opcode6502 ROR
-
RTI
public static final Opcode6502 RTI
-
RTS
public static final Opcode6502 RTS
-
SBC
public static final Opcode6502 SBC
-
SEC
public static final Opcode6502 SEC
-
SED
public static final Opcode6502 SED
-
SEI
public static final Opcode6502 SEI
-
STA
public static final Opcode6502 STA
-
STX
public static final Opcode6502 STX
-
STY
public static final Opcode6502 STY
-
TAX
public static final Opcode6502 TAX
-
TAY
public static final Opcode6502 TAY
-
TSX
public static final Opcode6502 TSX
-
TXA
public static final Opcode6502 TXA
-
TXS
public static final Opcode6502 TXS
-
TYA
public static final Opcode6502 TYA
-
BRA
public static final Opcode6502 BRA
-
PHX
public static final Opcode6502 PHX
-
PHY
public static final Opcode6502 PHY
-
PLX
public static final Opcode6502 PLX
-
PLY
public static final Opcode6502 PLY
-
STZ
public static final Opcode6502 STZ
-
TRB
public static final Opcode6502 TRB
-
TSB
public static final Opcode6502 TSB
-
ALR
public static final Opcode6502 ALR
-
ANC
public static final Opcode6502 ANC
-
ANE
public static final Opcode6502 ANE
-
ARR
public static final Opcode6502 ARR
-
DCP
public static final Opcode6502 DCP
-
ISC
public static final Opcode6502 ISC
-
LAS
public static final Opcode6502 LAS
-
LAX
public static final Opcode6502 LAX
-
LXA
public static final Opcode6502 LXA
-
RLA
public static final Opcode6502 RLA
-
RRA
public static final Opcode6502 RRA
-
SAX
public static final Opcode6502 SAX
-
SBX
public static final Opcode6502 SBX
-
SHA
public static final Opcode6502 SHA
-
SHX
public static final Opcode6502 SHX
-
SHY
public static final Opcode6502 SHY
-
SLO
public static final Opcode6502 SLO
-
SRE
public static final Opcode6502 SRE
-
TAS
public static final Opcode6502 TAS
-
USBC
public static final Opcode6502 USBC
-
JAM
public static final Opcode6502 JAM
-
ZZZ
public static final Opcode6502 ZZZ
-
-
Field Detail
-
MOS6502
public static Opcode6502[] MOS6502
-
MOS6502_WITH_ILLEGAL
public static Opcode6502[] MOS6502_WITH_ILLEGAL
-
WDC65C02
public static Opcode6502[] WDC65C02
-
-
Method Detail
-
values
public static Opcode6502[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Opcode6502 c : Opcode6502.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Opcode6502 valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getMnemonic
public java.lang.String getMnemonic()
-
-