[][src]Enum zinc64_emu::cpu::Instruction

pub enum Instruction {
    LDA(Operand),
    LDX(Operand),
    LDY(Operand),
    PHA,
    PHP,
    PLA,
    PLP,
    STA(Operand),
    STX(Operand),
    STY(Operand),
    TAX,
    TAY,
    TSX,
    TXA,
    TXS,
    TYA,
    ADC(Operand),
    SBC(Operand),
    CMP(Operand),
    CPX(Operand),
    CPY(Operand),
    DEC(Operand),
    DEX,
    DEY,
    INC(Operand),
    INX,
    INY,
    AND(Operand),
    EOR(Operand),
    ORA(Operand),
    ASL(Operand),
    LSR(Operand),
    ROL(Operand),
    ROR(Operand),
    BCC(Operand),
    BCS(Operand),
    BEQ(Operand),
    BMI(Operand),
    BNE(Operand),
    BPL(Operand),
    BVC(Operand),
    BVS(Operand),
    JMP(Operand),
    JSR(Operand),
    RTS,
    BIT(Operand),
    BRK,
    CLC,
    CLD,
    CLI,
    CLV,
    NOP,
    SEC,
    SED,
    SEI,
    RTI,
    ANE(Operand),
    AXS(Operand),
    LAX(Operand),
}

Variants

LDA(Operand)LDX(Operand)LDY(Operand)PHAPHPPLAPLPSTA(Operand)STX(Operand)STY(Operand)TAXTAYTSXTXATXSTYAADC(Operand)SBC(Operand)CMP(Operand)CPX(Operand)CPY(Operand)DEC(Operand)DEXDEYINC(Operand)INXINYAND(Operand)EOR(Operand)ORA(Operand)ASL(Operand)LSR(Operand)ROL(Operand)ROR(Operand)BCC(Operand)BCS(Operand)BEQ(Operand)BMI(Operand)BNE(Operand)BPL(Operand)BVC(Operand)BVS(Operand)JMP(Operand)JSR(Operand)RTSBIT(Operand)BRKCLCCLDCLICLVNOPSECSEDSEIRTIANE(Operand)AXS(Operand)LAX(Operand)

Methods

impl Instruction[src]

pub fn decode(cpu: &mut Cpu6510, opcode: u8, tick_fn: &TickFn) -> Instruction[src]

Trait Implementations

impl Display for Instruction[src]

Auto Trait Implementations

impl Send for Instruction

impl Sync for Instruction

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]