pub enum Opcode {
Show 54 variants
ADC(AddressingMode),
AND(AddressingMode),
ASL(AddressingMode),
BIT(AddressingMode),
BPL(i8),
BMI(i8),
BVC(i8),
BVS(i8),
BCC(i8),
BCS(i8),
BNE(i8),
BEQ(i8),
BRK,
CMP(AddressingMode),
CPX(AddressingMode),
CPY(AddressingMode),
DEC(AddressingMode),
EOR(AddressingMode),
CLC,
SEC,
CLI,
SEI,
CLV,
INC(AddressingMode),
JMP(AddressingMode),
JSR(AddressingMode),
LDA(AddressingMode),
LDX(AddressingMode),
LDY(AddressingMode),
LSR(AddressingMode),
NOP,
ORA(AddressingMode),
TAX,
TXA,
DEX,
INX,
TAY,
TYA,
DEY,
INY,
ROL(AddressingMode),
ROR(AddressingMode),
RTI,
RTS,
SBC(AddressingMode),
STA(AddressingMode),
TXS,
TSX,
PHA,
PLA,
PHP,
PLP,
STX(AddressingMode),
STY(AddressingMode),
}Variants§
ADC(AddressingMode)
AND(AddressingMode)
ASL(AddressingMode)
BIT(AddressingMode)
BPL(i8)
BMI(i8)
BVC(i8)
BVS(i8)
BCC(i8)
BCS(i8)
BNE(i8)
BEQ(i8)
BRK
CMP(AddressingMode)
CPX(AddressingMode)
CPY(AddressingMode)
DEC(AddressingMode)
EOR(AddressingMode)
CLC
SEC
CLI
SEI
CLV
INC(AddressingMode)
JMP(AddressingMode)
JSR(AddressingMode)
LDA(AddressingMode)
LDX(AddressingMode)
LDY(AddressingMode)
LSR(AddressingMode)
NOP
ORA(AddressingMode)
TAX
TXA
DEX
INX
TAY
TYA
DEY
INY
ROL(AddressingMode)
ROR(AddressingMode)
RTI
RTS
SBC(AddressingMode)
STA(AddressingMode)
TXS
TSX
PHA
PLA
PHP
PLP
STX(AddressingMode)
STY(AddressingMode)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Opcode
impl<'de> Deserialize<'de> for Opcode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more