logo
Expand description

This module contains all registers that can be used.

All register identifiers (eg. eax, cr8) are part of the public API but the register types are not! They’re an implementation detail.

To use the registers, you must import everything from the module:

use iced_x86::code_asm::*;

or import them from this module:

use iced_x86::code_asm::registers::*;

or only the registers you need:

use iced_x86::code_asm::registers::gpr32::*;
use iced_x86::code_asm::registers::gpr64::*;
use iced_x86::code_asm::registers::xmm::*;

Re-exports

pub use self::bnd::*;
pub use self::cr::*;
pub use self::dr::*;
pub use self::gpr16::*;
pub use self::gpr32::*;
pub use self::gpr64::*;
pub use self::gpr8::*;
pub use self::k::*;
pub use self::mm::*;
pub use self::segment::*;
pub use self::st::*;
pub use self::tmm::*;
pub use self::tr::*;
pub use self::xmm::*;
pub use self::ymm::*;
pub use self::zmm::*;

Modules

All bound registers.
All control registers.
All debug registers.
All 8-bit general purpose registers.
All 16-bit general purpose registers.
All 32-bit general purpose registers.
All 64-bit general purpose registers.
All opmask registers.
All MMX registers.
All segment registers.
All FPU registers.
All tile registers.
All test registers.
All 128-bit vector registers (XMM).
All 256-bit vector registers (YMM).
All 512-bit vector registers (ZMM).