1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML 2.0//EN">
4 <TITLE>80386 Programmer's Reference Manual -- Opcode HLT
</TITLE>
7 <B>up:
</B> <A HREF=
"c17.htm">
8 Chapter
17 --
80386 Instruction Set
</A><BR>
9 <B>prev:
</B><A HREF=
"ENTER.htm"> ENTER Make Stack Frame for Procedure Parameters
</A><BR>
10 <B>next:
</B><A HREF=
"IDIV.htm"> IDIV Signed Divide
</A>
17 Opcode Instruction Clocks Description
28 HALT stops instruction execution and places the
80386 in a HALT state.
29 An enabled interrupt, NMI, or a reset will resume execution. If an
30 interrupt (including NMI) is used to resume execution after HLT, the saved
31 CS:IP (or CS:EIP) value points to the instruction following HLT.
33 <H2>Flags Affected
</H2>
37 <H2>Protected Mode Exceptions
</H2>
39 HLT is a privileged instruction; #GP(
0) if the current privilege level is
42 <H2>Real Address Mode Exceptions
</H2>
46 <H2>Virtual
8086 Mode Exceptions
</H2>
48 #GP(
0); HLT is a privileged instruction
54 <B>up:
</B> <A HREF=
"c17.htm">
55 Chapter
17 --
80386 Instruction Set
</A><BR>
56 <B>prev:
</B><A HREF=
"ENTER.htm"> ENTER Make Stack Frame for Procedure Parameters
</A><BR>
57 <B>next:
</B><A HREF=
"IDIV.htm"> IDIV Signed Divide
</A>