Struct capstone_sys::m68k_op_mem
source · #[repr(C)]pub struct m68k_op_mem {
pub base_reg: Type,
pub index_reg: Type,
pub in_base_reg: Type,
pub in_disp: u32,
pub out_disp: u32,
pub disp: i16,
pub scale: u8,
pub bitfield: u8,
pub width: u8,
pub offset: u8,
pub index_size: u8,
}
Expand description
Instruction’s operand referring to memory This is associated with M68K_OP_MEM operand type above
Fields§
§base_reg: Type
< base register (or M68K_REG_INVALID if irrelevant)
index_reg: Type
< index register (or M68K_REG_INVALID if irrelevant)
in_base_reg: Type
< indirect base register (or M68K_REG_INVALID if irrelevant)
in_disp: u32
< indirect displacement
out_disp: u32
< other displacement
disp: i16
< displacement value
scale: u8
< scale for index register
bitfield: u8
< set to true if the two values below should be used
width: u8
< used for bf* instructions
offset: u8
< used for bf* instructions
index_size: u8
< 0 = w, 1 = l
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for m68k_op_mem
impl Send for m68k_op_mem
impl Sync for m68k_op_mem
impl Unpin for m68k_op_mem
impl UnwindSafe for m68k_op_mem
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