pub struct X86;
Expand description
Intel i386 architecture specific definitions.
See Intel386 psABi version 1.1 at the X86 psABI wiki.
Implementations§
source§impl X86
impl X86
pub const EAX: Register = _
pub const ECX: Register = _
pub const EDX: Register = _
pub const EBX: Register = _
pub const ESP: Register = _
pub const EBP: Register = _
pub const ESI: Register = _
pub const EDI: Register = _
pub const RA: Register = _
pub const ST0: Register = _
pub const ST1: Register = _
pub const ST2: Register = _
pub const ST3: Register = _
pub const ST4: Register = _
pub const ST5: Register = _
pub const ST6: Register = _
pub const ST7: Register = _
pub const XMM0: Register = _
pub const XMM1: Register = _
pub const XMM2: Register = _
pub const XMM3: Register = _
pub const XMM4: Register = _
pub const XMM5: Register = _
pub const XMM6: Register = _
pub const XMM7: Register = _
pub const MM0: Register = _
pub const MM1: Register = _
pub const MM2: Register = _
pub const MM3: Register = _
pub const MM4: Register = _
pub const MM5: Register = _
pub const MM6: Register = _
pub const MM7: Register = _
pub const MXCSR: Register = _
pub const ES: Register = _
pub const CS: Register = _
pub const SS: Register = _
pub const DS: Register = _
pub const FS: Register = _
pub const GS: Register = _
pub const TR: Register = _
pub const LDTR: Register = _
pub const FS_BASE: Register = _
pub const GS_BASE: Register = _
source§impl X86
impl X86
sourcepub fn register_name(register: Register) -> Option<&'static str>
pub fn register_name(register: Register) -> Option<&'static str>
The name of a register, or None
if the register number is unknown.
Only returns the primary name for registers that alias with others.
sourcepub fn name_to_register(value: &str) -> Option<Register>
pub fn name_to_register(value: &str) -> Option<Register>
Converts a register name into a register number.