logo
Expand description

Easier creating of instructions (eg. a.mov(eax, ecx)) than using Instruction::with*() functions.

This requires the code_asm feature to use (not enabled by default). Add it to your Cargo.toml:

[dependencies.iced-x86]
version = "1.17.0"
features = ["code_asm"]

See CodeAssembler docs for usage.

Re-exports

pub use crate::code_asm::registers::*;

Modules

This module contains all registers that can be used.

Structs

A memory operand passed to CodeAssembler methods.
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 bound registers.
All control registers.
All debug 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).
Creates and encodes instructions. It’s easier to use this struct than to call Instruction::with*() functions.
Result of assembling the instructions
A label created by CodeAssembler
iced error

Functions

Creates a broadcast memory operand with no size hint
Creates a memory operand with a BYTE PTR size hint
Creates a broadcast memory operand with a DWORD BCST size hint
Creates a memory operand with a DWORD PTR size hint
Creates a memory operand with an FWORD PTR size hint
Creates a memory operand with an MMWORD PTR size hint
Creates a memory operand with an OWORD PTR size hint
Creates a memory operand with no size hint
Creates a broadcast memory operand with a QWORD BCST size hint
Creates a memory operand with a QWORD PTR size hint
Creates a memory operand with a TBYTE PTR size hint
Creates a memory operand with a TWORD PTR size hint
Creates a broadcast memory operand with a WORD BCST size hint
Creates a memory operand with a WORD PTR size hint
Creates a memory operand with an XMMWORD PTR size hint
Creates a memory operand with a YMMWORD PTR size hint
Creates a memory operand with a ZMMWORD PTR size hint