[][src]Struct xori::arch::x86::archx86::ModRmx86

pub struct ModRmx86 {
    pub data: u16,
    pub ref_data: u16,
    pub kind: RegType,
    pub base_reg: u16,
    pub base_ea_reg: u16,
    pub base_ea_base: u16,
    pub base_ea: u16,
    pub displacement_ea: u8,
    pub displacement: Option<Displacementx86>,
    pub sib: Option<SibLayout>,
}

These fields determine the allowable values for the ModR/M fields, which depend on operand and address widths The Mod and R/M fields can encode a base for an effective address, or a register. These are separated into two fields here

Fields

referenced original RM

The displacement, used for memory operands

SIB state

Trait Implementations

impl Debug for ModRmx86
[src]

Formats the value using the given formatter. Read more

impl Default for ModRmx86
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for ModRmx86

impl Sync for ModRmx86

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more