intel-xed 12.0.1 Encoder and decoder for x86 (IA32 and Intel64) instructions
The Intel X86 Encoder Decoder (XED) is a software library and for encoding and decoding X86 (IA32 and Intel64) instructions. The decoder takes sequences of 1-15 bytes along with machine mode information and produces a data structure describing the opcode, operands, and flags. The encoder takes a similar data structure and produces a sequence of 1 to 15 bytes. Disassembly is essentially a printing pass on the data structure.
The library and development files are under the
lib output, with a family of command line utility wrappers in the default output. Each of the cli tools is named like
xed*. Documentation for the cli tools is sparse, so this is a case where ``the code is the documentation.''