Halt and catch fire: Difference between revisions

Content added Content deleted
Line 16: Line 16:
=={{header|8086 Assembly}}==
=={{header|8086 Assembly}}==
{{trans|Z80 Assembly}}
{{trans|Z80 Assembly}}
Disabling interrupts prior to a <code>HLT</code> command will cause the CPU to wait forever.
These two lines will halt the processor:
<lang asm>cli
<lang asm>cli
hlt</lang>
hlt</lang>