Interrupt

vm.set_interrupt(n, callback)

Interrupts are a runtime extension of the bytecode. You can use this to implement custom instructions and frequently used functions without the overhead of a name lookup.

The test environment uses Interrupt(10) to analyse the programs state at a certain point of execution.

RangeMeaning
0 - 9reserved
10debug
11 - 63reserved
64 - 255free