Struct mos6502_model::debug::InstructionWithOperand
source · pub struct InstructionWithOperand { /* private fields */ }
Implementations§
source§impl InstructionWithOperand
impl InstructionWithOperand
pub fn decode<M: MemoryReadOnly>( address: Address, memory: &M ) -> Result<Self, UnknownOpcode>
pub fn next<M: MemoryReadOnly>( cpu: &Cpu, memory: &M ) -> Result<Self, UnknownOpcode>
pub fn instruction(&self) -> Instruction
pub fn operand_u16_le(&self) -> Option<u16>
pub fn address(&self) -> Address
Trait Implementations§
source§impl Clone for InstructionWithOperand
impl Clone for InstructionWithOperand
source§fn clone(&self) -> InstructionWithOperand
fn clone(&self) -> InstructionWithOperand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more