[][src]Enum zinc64_emu::cpu::Operand

pub enum Operand {
    Accumulator,
    Immediate(u8),
    ZeroPage(u8),
    ZeroPageX(u8),
    ZeroPageY(u8),
    Absolute(u16),
    AbsoluteX(u16),
    AbsoluteY(u16),
    IndirectX(u8),
    IndirectY(u8),
    Indirect(u16),
    Relative(i8),
}

Variants

AccumulatorImmediate(u8)ZeroPage(u8)ZeroPageX(u8)ZeroPageY(u8)Absolute(u16)AbsoluteX(u16)AbsoluteY(u16)IndirectX(u8)IndirectY(u8)Indirect(u16)Relative(i8)

Methods

impl Operand[src]

pub fn ea(&self, cpu: &Cpu6510, rmw: bool, tick_fn: &TickFn) -> u16[src]

pub fn get(&self, cpu: &Cpu6510, tick_fn: &TickFn) -> u8[src]

pub fn set(&self, cpu: &mut Cpu6510, value: u8, rmw: bool, tick_fn: &TickFn)[src]

Trait Implementations

impl Display for Operand[src]

Auto Trait Implementations

impl Send for Operand

impl Sync for Operand

Blanket Implementations

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

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<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]