StephenHermer.com
Writing, Iguanas, and Electronics

HLT Instruction

The Halt instruction is a special instruction that disabled the clock and stops processing. This instruction is commonly used at the end of a program, but can be used for debugging purposes as well. There are conditional variants.

Halt (uncondtional)

Usage Examples:

        Hex                Mnemonic                      Action

F1FF       ; HLT               disabled the clock
 

Updates when Executed:

No flags or registers are updated when this instruction "executes".
 

Optional Conditional Variants

These variants may be added for debugging purposes.

Halt on Carry

Halt on Zero

Halt on Negative