pub enum M680xOperandType {
Reg(RegId),
Imm(i32),
Indexed(M680xOpIdx),
Extended {
address: u16,
indirect: bool,
},
Direct {
direct_addr: u8,
},
Relative {
address: u16,
offset: i16,
},
Constant(u8),
Invalid,
}Expand description
M680X operand
Variants§
Reg(RegId)
Register
Imm(i32)
Immediate
Indexed(M680xOpIdx)
Indexed addressing operand
Extended
Extended addressing operand
Direct
Direct addressing operand
Relative
Relative addressing operand
Constant(u8)
Constant operand (displayed as number only)
Used e.g. for a bit index or page number.
Invalid
Invalid
Trait Implementations§
Source§impl Clone for M680xOperandType
impl Clone for M680xOperandType
Source§fn clone(&self) -> M680xOperandType
fn clone(&self) -> M680xOperandType
Returns a duplicate 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 moreSource§impl Debug for M680xOperandType
impl Debug for M680xOperandType
Source§impl Default for M680xOperandType
impl Default for M680xOperandType
Source§impl PartialEq for M680xOperandType
impl PartialEq for M680xOperandType
impl Eq for M680xOperandType
impl StructuralPartialEq for M680xOperandType
Auto Trait Implementations§
impl Freeze for M680xOperandType
impl RefUnwindSafe for M680xOperandType
impl Send for M680xOperandType
impl Sync for M680xOperandType
impl Unpin for M680xOperandType
impl UnwindSafe for M680xOperandType
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