Expand description
Instruction encoding: prefixes, REX, opcode, ModRM/SIB, displacement and immediate.
Structs§
- Prefixes
- Legacy prefixes contributed by
lock,repand friends.
Functions§
- encode
- indirect_
inner - The register or memory operand behind an indirect branch target.
- nop_
bytes - The canonical multi-byte no-ops recommended by both vendors, indexed by length. Padding with these keeps alignment padding executable and cheap.
- rel_
expr - Extracts the operand expression a
Relslot refers to. A bare label parses as an immediate in Intel syntax and as a displacement-only memory operand in AT&T, so both spellings are accepted here. - segment_
prefix