pub struct Mem64 { /* private fields */ }
Expand description
A memory operand with qword
size (64 bit).
Implementations§
source§impl Mem64
impl Mem64
sourcepub fn indirect(base: Reg64) -> Self
pub fn indirect(base: Reg64) -> Self
Create a memory operand with indirect
addressing mode.
For example mov [rax], rcx
.
sourcepub fn indirect_disp(base: Reg64, disp: i32) -> Self
pub fn indirect_disp(base: Reg64, disp: i32) -> Self
Create a memory operand with indirect + displacement
addressing mode.
For example mov [rax + 0x10], rcx
.
sourcepub fn indirect_base_index(base: Reg64, index: Reg64) -> Self
pub fn indirect_base_index(base: Reg64, index: Reg64) -> Self
Create a memory operand with base + index
addressing mode.
For example mov [rax + rcx], rdx
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mem64
impl RefUnwindSafe for Mem64
impl Send for Mem64
impl Sync for Mem64
impl Unpin for Mem64
impl UnwindSafe for Mem64
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