Difference between revisions of "HLT"
m |
|||
Line 11: | Line 11: | ||
</table><br/> | </table><br/> | ||
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 gets reset. HLT is mainly useful for debugging.<br/><br/> | 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 gets reset. HLT is mainly useful for debugging.<br/><br/> | ||
− | 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. | + | 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. |
Revision as of 18:28, 24 January 2005
Instruction Name | Halt |
Mnemonic | HLT |
CP1610 Clock Cycles | Infinity |
Interruptible | No |
Opcode Range | $0000 |
Input Flags | None |
Output Flags | None |
Addressing Mode | Implied |
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 gets reset. 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.