Fundamentals

The internal operation of the CPU is probably simple enough to be understood with little prior knowledge about electronics or digital logic.

To recap, a quick (and very incomplete) introduction to electronics and digital logic is given in the following sections.

Ideally, the reader would be familiar with, or get a feeling for the material presented here. However, this is not necessary in order to program the CPU, from a pure software point of view.

(Throughout this chapter, names and symbols for some concepts are deliberately changed in order to make the text mode accessible. For example, logic gates are called "blocks", and their symbols are more verbose than the standardised versions.)

In this chapter...

(Beyond the concept of digital logic gates, there's not much more to the CPU - it simply consists of these gates, with a lot of duplication rather than complexity going on.)