Skip to content
BookMarkedBooks

Mastering Machine Code on Your ZX Spectrum

The definitive Spectrum assembly guide

Toni Baker's 1983 classic that taught a generation of Spectrum owners to program in Z80 assembly language.

sinclair-zx-spectrumz80assemblyspectrumtechnical1980s1983

Mastering Machine Code on Your ZX Spectrum by Toni Baker was the book that transformed Spectrum BASIC programmers into assembly language experts. Published in 1983 by Interface Publications, it combined clear explanations with practical examples that readers could immediately use.

Baker’s approachable writing style made Z80 assembly accessible without dumbing it down, and the book’s worked examples produced visible, impressive results that motivated learners to continue.

Fast facts

  • Author: Toni Baker
  • Publisher: Interface Publications, 9–11 Kensington High Street, London W8 5NP
  • Year: 1983
  • Pages: ~200
  • Platform: ZX Spectrum (Z80)
  • Sequel: Mastering Machine Code on Your Spectrum +3
  • Series: one of several Mastering Machine Code volumes from the same publisher, each by a different author — Mark Greenshields wrote the Commodore 64 edition, Clive Gifford and Scott Vincent the Amstrad

Baker was the Sinclair machine-code author before this book

The Spectrum volume did not introduce her. By June 1982 — a year before this book — ZX Computing was running her machine-code tutorial in its first issue and introducing her as “Toni Baker — author of Mastering Machine Code on Your ZX81 or ZX80”.

The title was also a series rather than a one-off. Interface Publications ran the same format across machines with different authors: Mark Greenshields wrote the Commodore 64 volume, Clive Gifford and Scott Vincent the Amstrad. Both are held in this library; the Spectrum one is not, which is why the details below are described rather than sourced.

Contents

The book covered Z80 programming comprehensively:

  • Z80 architecture - Registers, flags, memory
  • Instruction set - All documented opcodes
  • Spectrum specifics - ROM routines, display
  • Graphics programming - Screen manipulation
  • Sound - Beeper programming
  • Input handling - Keyboard scanning
  • Practical projects - Complete programs

Teaching approach

Baker’s method was hands-on:

  • Short, testable code examples
  • Immediate visual results
  • Building complexity gradually
  • Explaining the “why” not just “how”
  • Debugging techniques

Impact

The book created many of the programmers who made Spectrum games. Its influence can be seen in the quality of later Spectrum software, as bedroom coders who learned from Baker went professional.

The Author

Toni Baker was notable as a prominent female programmer in the male-dominated 1980s computing scene, writing extensively about machine code and contributing to computing magazines.

See also

Not yet fact-checked. This entry was drafted by an AI and nobody has verified it. The dates, figures and technical details may be wrong. Use it to find your bearings, then confirm anything that matters against a primary source.