From c94a65c993f5da6a86bd1e6d23e359ba2052f836 Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 13 Dec 2024 00:18:53 +0000 Subject: deploy: 758f014afb8ec5c20ef2fc862fc12e80f65d3d25 --- juicebox_asm/struct.Mem32.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 juicebox_asm/struct.Mem32.html (limited to 'juicebox_asm/struct.Mem32.html') diff --git a/juicebox_asm/struct.Mem32.html b/juicebox_asm/struct.Mem32.html new file mode 100644 index 0000000..7409029 --- /dev/null +++ b/juicebox_asm/struct.Mem32.html @@ -0,0 +1,19 @@ +Mem32 in juicebox_asm - Rust
juicebox_asm

Struct Mem32

source
pub struct Mem32 { /* private fields */ }
Expand description

A memory operand with dword size (32 bit).

+

Implementations§

source§

impl Mem32

source

pub fn indirect(base: Reg64) -> Self

Create a memory operand with indirect addressing mode. +For example mov [rax], rcx.

+
source

pub fn indirect_disp(base: Reg64, disp: i32) -> Self

Create a memory operand with indirect + displacement +addressing mode. +For example mov [rax + 0x10], rcx.

+
source

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§

source§

impl Add<Mem32, Imm8> for Asm

source§

fn add(&mut self, op1: Mem32, op2: Imm8)

Emit an add instruction.
source§

impl Dec<Mem32> for Asm

source§

fn dec(&mut self, op1: Mem32)

Emit a decrement instruction.
source§

impl Inc<Mem32> for Asm

source§

fn inc(&mut self, op1: Mem32)

Emit a increment instruction.
source§

impl Mov<Mem32, Reg32> for Asm

source§

fn mov(&mut self, op1: Mem32, op2: Reg32)

Emit an move instruction.
source§

impl Mov<Reg32, Mem32> for Asm

source§

fn mov(&mut self, op1: Reg32, op2: Mem32)

Emit an move instruction.

Auto Trait Implementations§

§

impl Freeze for Mem32

§

impl RefUnwindSafe for Mem32

§

impl Send for Mem32

§

impl Sync for Mem32

§

impl Unpin for Mem32

§

impl UnwindSafe for Mem32

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file -- cgit v1.2.3