The processor that powers the Commodore 64 supports only a handful of registers that can be used for arithmetic or logical operations. This means that we will often encounter a situation when we need to save temporary values in the memory, calculate some other thing, and then get back to previous ones.
We can use store and load operations for that purpose. But it requires allocating memory for temporary variables.
Fortunately, there is a better way...
What is this?
It's an episode of the 64 Bites - Video Tutorials for Programmers,
the series designed to teach you how to program Commodore 64 in small and easy steps.
- The Video - Short, Intense and Focused
- You can stream it on any device
- or download DRM-free
- Full Transcript so you can follow along.
- Source Code for everything you will see on the screen.
- Programming Exercises to do on your own.