Hex Decoding into Assembly Language: Disassembly and Instruction Encoding
Shriira Press
A comprehensive, self-contained guide to the reverse of assembly — taking raw hexadecimal machine code and decoding it back into human-readable ass…
Welcome to Hex Decoding into Assembly Language: Disassembly and Instruction Encoding.
A comprehensive, self-contained guide to the reverse of assembly — taking raw hexadecimal machine code and decoding it back into human-readable assembly instructions. This is disassembly, and it rests on understanding instruction encoding: how a CPU's instructions are represented as bytes, how the bytes split into opcode and operand fields, and how a decoder walks a byte stream turning 48 01 D8 into add rax, rbx. This book teaches that skill across architectures — the byte-level formats of x86/x86-64, ARM, RISC-V, MIPS, and more — blending intuition (what decoding is and why it's hard), concepts (encoding formats and the decode algorithm), and runnable practice (decoding by hand and writing a disassembler). It includes a multi-architecture encoding catalog (Appendices C–H) and the actual ISA manuals (in manuals/) that are the ground truth for every encoding.
This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.
A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.
We hope it serves you well.
— Shriira Press