HLT

From Intellivision Wiki

Revision as of 08:27, 4 December 2010 by Mr z (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Instruction NameHalt
MnemonicHLT
CP1610 Clock CyclesInfinity
InterruptibleNo
Opcode Range$0000
Input FlagsNone
Output FlagsNone
Addressing ModeImplied

The Halt (HLT) instruction halts the CP1610. The CPU asserts its HALT output, and performs no further processing once it executes this instruction. The CPU ignores interrupts as well until the CPU is reset, or unhalted by a negative pulse on STPST. HLT is mainly useful for debugging.

A pulse on the STPST input will restart a halted CPU. On the Intellivision, this is mostly irrelevant as STPST tied to a fixed value. The CPU is socketed, however, so one could modify their Intellivision in order to make this useful, say with a "debugging support" daughtercard.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox