Chapter 12. Introducing z80 assembly

 

This chapter covers

  • The basics of numbers and commands in z80 assembly
  • Your first z80 assembly programs
  • All the tools to get started with assembly programming

TI-BASIC can be used to create programs and games running the gamut from extremely simple to very complex. After spending some time with TI-BASIC and running into some of its limitations, you might have wanted to reach for more power and more features, which the hybrid TI-BASIC libraries introduced in chapter 11 provided. Perhaps you’ve used the hybrid libraries for a while, and have wondered why those libraries can do so much. Why are they so fast, and how come they can access so many features that your TI-BASIC programs can’t use? The answer is that they’re written in z80 assembly, a more-powerful, less-restrictive language that can take full control of your calculator. You too can learn how to write programs in assembly!

12.1. What is assembly?

12.2. “Hello, World”

12.3. Bases and registers

12.4. z80 math with registers

12.5. Functions and control flow

12.6. Summary

sitemap