Skip to main content

assertz

The assert zero instruction is useful for hardware debugging. If the zero flag is not set, it causes the system to halt. In the current build, there is also an LED showing whether an assertion failed.

InstructionEncodingSemanticsCycles
assertz11 11 10 10halts the system iff ZF=0\mathit{ZF} = 01