[][src]Struct x64_asm::REXPrefix

pub struct REXPrefix {
    pub w_bit: bool,
    pub r_bit: bool,
    pub x_bit: bool,
    pub b_bit: bool,
}

using for 64-bit mode.

Fields

w_bit: bool

related with operand-size.

r_bit: bool

related with reg-field in ModR/M

x_bit: bool

related with index-field in ModR/M

b_bit: bool

related with r/m-field in ModR/M, base in SIB-byte, reg-field in opcode

Implementations

impl REXPrefix[src]

pub const BASE: u8[src]

pub const W_BIT: u8[src]

pub const R_BIT: u8[src]

pub const X_BIT: u8[src]

pub const B_BIT: u8[src]

pub fn to_byte(&self) -> u8[src]

pub fn b_bit_from_reg(reg: &GeneralPurposeRegister) -> u8[src]

pub fn r_bit_from_reg(reg: &GeneralPurposeRegister) -> u8[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.