* remove "\r" nonsense
[mascara-docs.git] / i386 / i386.reference / HLT.htm
blob174a68ed54b1704a11af5710356bd9a1af9cef43
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
2 <HTML>
3 <HEAD>
4 <TITLE>80386 Programmer's Reference Manual -- Opcode HLT</TITLE>
5 </HEAD>
6 <BODY>
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>
11 <P>
12 <HR>
13 <P>
14 <H1>HLT -- Halt</H1>
16 <PRE>
17 Opcode Instruction Clocks Description
19 F4 HLT 5 Halt
20 </PRE>
22 <H2>Operation</H2>
24 Enter Halt state;
26 <H2>Description</H2>
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>
35 None
37 <H2>Protected Mode Exceptions</H2>
39 HLT is a privileged instruction; #GP(0) if the current privilege level is
40 not 0
42 <H2>Real Address Mode Exceptions</H2>
44 None
46 <H2>Virtual 8086 Mode Exceptions</H2>
48 #GP(0); HLT is a privileged instruction
51 <P>
52 <HR>
53 <P>
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>
58 </BODY>