Programming the CPU

To make the CPU perform a task, you need give it a corresponding program, describing how to perform that task.

From the CPU's point of view, a program is a list of native instructions. The only instruction the Qibec CPU can perform is called "IBC" (Invert, and Branch if Clear). Arguments to each such instruction specify what has to be inverted, and where to branch to.

The programmer can choose to write programs using only IBC-instructions, or use an abstraction-layer to generate programs more easily.

In this chapter...