pub struct X86_64;
Expand description
AMD64 architecture specific definitions.
See x86-64 psABI version 1.0 at the X86 psABI wiki.
Implementations§
source§impl X86_64
impl X86_64
pub const RAX: Register = _
pub const RDX: Register = _
pub const RCX: Register = _
pub const RBX: Register = _
pub const RSI: Register = _
pub const RDI: Register = _
pub const RBP: Register = _
pub const RSP: Register = _
pub const R8: Register = _
pub const R9: Register = _
pub const R10: Register = _
pub const R11: Register = _
pub const R12: Register = _
pub const R13: Register = _
pub const R14: Register = _
pub const R15: Register = _
pub const RA: 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 XMM8: Register = _
pub const XMM9: Register = _
pub const XMM10: Register = _
pub const XMM11: Register = _
pub const XMM12: Register = _
pub const XMM13: Register = _
pub const XMM14: Register = _
pub const XMM15: 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 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 RFLAGS: 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 FS_BASE: Register = _
pub const GS_BASE: Register = _
pub const TR: Register = _
pub const LDTR: Register = _
pub const MXCSR: Register = _
pub const FCW: Register = _
pub const FSW: Register = _
pub const XMM16: Register = _
pub const XMM17: Register = _
pub const XMM18: Register = _
pub const XMM19: Register = _
pub const XMM20: Register = _
pub const XMM21: Register = _
pub const XMM22: Register = _
pub const XMM23: Register = _
pub const XMM24: Register = _
pub const XMM25: Register = _
pub const XMM26: Register = _
pub const XMM27: Register = _
pub const XMM28: Register = _
pub const XMM29: Register = _
pub const XMM30: Register = _
pub const XMM31: Register = _
pub const K0: Register = _
pub const K1: Register = _
pub const K2: Register = _
pub const K3: Register = _
pub const K4: Register = _
pub const K5: Register = _
pub const K6: Register = _
pub const K7: Register = _
source§impl X86_64
impl X86_64
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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for X86_64
impl RefUnwindSafe for X86_64
impl Send for X86_64
impl Sync for X86_64
impl Unpin for X86_64
impl UnwindSafe for X86_64
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