Idea
A register machine is an automaton idealizing the notion of computer registers, by removing an upper limit of the values in the register.
Configuration
A register machine consists of:
- A set of register indexes .
- A program made up of a finite list of instructions .
Instructions typically include:
- - Increment register and jump to
- - If register is positive then decrement and jump to else jump to
- - Stop executing.
Operation
States are made up of an instruction pointer , and an map for the register values.
The program runs the instruction, and then jumps to the appropriate next line. If the instruction is reached then terminate.