Struct rs6502::OpCode
[−]
[src]
pub struct OpCode { pub code: u8, pub mnemonic: &'static str, pub length: u8, pub time: u8, pub mode: AddressingMode, }
Fields
code: u8
mnemonic: &'static str
length: u8
time: u8
mode: AddressingMode
Methods
impl OpCode
[src]
fn from_raw_byte<'opcode>(byte: u8) -> Option<&'opcode OpCode>
fn from_mnemonic<S>(input: S) -> Option<OpCode> where S: Into<String>
fn from_mnemonic_and_addressing_mode<S>(input: S,
mode: AddressingMode)
-> Option<OpCode> where S: Into<String>
mode: AddressingMode)
-> Option<OpCode> where S: Into<String>
Trait Implementations
impl Clone for OpCode
[src]
fn clone(&self) -> OpCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more