Decoding-and-spec-utils
Miscellaneous utilities for instruction decoding and for writing
instruction specification functions
Subtopics
- Read-operands-and-write-results
- Functions to fetch and read operands from an instruction,
and to write results to appropriate registers/memory locations,
based on ModR/M, SIB, immediate, and/or displacement bytes.
- Effective-address-computations
- Computing effective address using ModR/M, SIB bytes, and
displacement bytes present in the instruction
- Instruction-pointer-operations
- Operations to manipulate instruction pointers.
- Select-operand-size
- Selecting the operand size for general-purpose instructions
- Stack-pointer-operations
- Operations to manipulate stack pointers.
- Select-segment-register
- Segment register to use for an instruction operand in memory.
- Prefix-modrm-sib-decoding
- Decoding utilities for the prefixes, ModR/M, and SIB bytes
- Select-address-size
- Address size of an instruction, in bytes.
- Rex-byte-from-vex-prefixes
- Calculate a REX byte from a VEX prefix.
- Check-instruction-length
- Check if the length of an instruction exceeds 15 bytes.
- Error-objects
- Utilities trafficking in erp objects
- Rip-guard-okp
- Size constraints on a memory address of some instruction byte
- Sib-decoding
- Functions to detect and decode SIB bytes