Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 911 Bytes

File metadata and controls

10 lines (6 loc) · 911 Bytes

To Index

The User Program

After having defined registers, implemented custom commands, and set system properties it is time to implement the actual user program.

The user program consists of command invocations. Functions (incl. built-in functions) can not be invoked here (except &print* and &assert).

All commands and registers can only be used after they have been defined.

Additionally, labels can be used to point to locations within the program. Labels are given as a label name followed by :. (See &set_program_counter on how to manipulate the program counter in combination with custom commands in order to implement jumping capabilities).