AZM Book 1 — Z80 Fundamentals

This book starts from no prior knowledge of computers or programming. It introduces the Z80 from the bare machine upward: memory, registers, machine code, assembly language, flags, loops, tables, the stack, subroutines and port I/O.

The later chapters introduce the AZM features that make assembly programming more maintainable: subroutine conventions, register contracts, layout types and op declarations.

Main Path

  1. The Computer
  2. Machine Code
  3. Assembly Language
  4. Memory Access and Data
  5. Flags, Comparisons and Jumps
  6. Counting Loops and DJNZ
  7. Data Tables and Indexed Access
  8. Stack and Subroutines
  9. I/O and Ports
  10. A Complete Program
  11. Subroutine Conventions
  12. Register Contracts
  13. Layout Types
  14. Op Declarations