Assembly Language: From the Metal Up, Across Every Architecture cover

Programming · Ebook

Assembly Language: From the Metal Up, Across Every Architecture

by Shriira Press

4.8(8,359)120 pagesPublished 2026

A comprehensive, self-contained guide to assembly language — the human-readable form of the machine code a CPU actually executes. Above every program, no matter the language, sits a compiler or interpreter; below them all is assembly: the instructions, registers, and memory the silicon understands. This book teaches you to read and write it, to understand what your high-level code becomes, and to think the way the machine thinks. It blends intuition (what the hardware is doing and why), concepts (the architecture and the ideas behind instruction sets), and runnable code (real assembly you can assemble and run) — and it includes a multi-architecture instruction catalog (Appendices C–H) covering x86/x86-64, ARM, RISC-V, MIPS, the 6502, and more.

Contents

  1. 1Preface
  2. 2Chapter 1 — What Is Assembly Language?
  3. 3Chapter 2 — How Computers Execute Code: CPU, Memory, and Registers
  4. 4Chapter 3 — Numbers, Bits, and Data Representation
  5. 5Chapter 4 — The Toolchain: Assemblers, Linkers, and Debugging
  6. 6Chapter 5 — Instructions and Operands: The Anatomy of Assembly
  7. 7Chapter 6 — Data Movement and Memory Addressing
  8. 8Chapter 7 — Arithmetic, Logic, and Bit Manipulation
  9. 9Chapter 8 — Control Flow: Flags, Branches, Jumps, and Loops
  10. 10Chapter 9 — The Stack, Functions, and Calling Conventions
  11. 11Chapter 10 — Interacting with the System: Syscalls, Interrupts, and I/O
  12. 12Chapter 11 — Assembly Across Architectures: CISC, RISC, and the Map
  13. 13Chapter 12 — Performance, Pipelines, and SIMD
  14. 14Chapter 13 — Assembly in Practice and the Profession
  15. 15Appendix A — Glossary and Quick Reference
  16. 16Appendix B — Further Reading and Resources
  17. 17Appendix C — x86 / x86-64 Instruction Catalog
  18. 18Appendix D — ARM Instruction Catalog (AArch64 & AArch32)
  19. 19Appendix E — RISC-V Instruction Catalog
  20. 20Appendix F — MIPS Instruction Catalog
  21. 21Appendix G — 6502 Instruction Catalog
  22. 22Appendix H — Other Architectures: Z80, AVR, PowerPC, SPARC