pub struct M680xOpIdx(/* private fields */);Expand description
Instruction’s operand referring to indexed addressing
Implementations§
Source§impl M680xOpIdx
impl M680xOpIdx
Sourcepub fn offset_reg(&self) -> Option<RegId>
pub fn offset_reg(&self) -> Option<RegId>
Offset register
Sourcepub fn offset_addr(&self) -> u16
pub fn offset_addr(&self) -> u16
Offset address
if base_reg == M680X_REG_PC, then calculated as offset + PC
Sourcepub fn offset_bits(&self) -> u8
pub fn offset_bits(&self) -> u8
Offset bits
Source§impl M680xOpIdx
impl M680xOpIdx
Sourcepub fn is_indirect(&self) -> bool
pub fn is_indirect(&self) -> bool
Is index indirect?
Sourcepub fn is_no_comma(&self) -> bool
pub fn is_no_comma(&self) -> bool
Is there no comma?
Sourcepub fn is_post_inc_dec(&self) -> bool
pub fn is_post_inc_dec(&self) -> bool
Is index indirect?
Trait Implementations§
Source§impl Clone for M680xOpIdx
impl Clone for M680xOpIdx
Source§fn clone(&self) -> M680xOpIdx
fn clone(&self) -> M680xOpIdx
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 M680xOpIdx
impl Debug for M680xOpIdx
Source§impl PartialEq for M680xOpIdx
impl PartialEq for M680xOpIdx
impl Eq for M680xOpIdx
Auto Trait Implementations§
impl Freeze for M680xOpIdx
impl RefUnwindSafe for M680xOpIdx
impl Send for M680xOpIdx
impl Sync for M680xOpIdx
impl Unpin for M680xOpIdx
impl UnwindSafe for M680xOpIdx
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