Jump to content

Halt and catch fire: Difference between revisions

m
Line 16:
=={{header|8086 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
hlt</lang>
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.