Plan 9 from Bell Labs’s /sys/src/pub/doc/intel/386/h.htm

Copyright © 2021 Plan 9 Foundation
Distributed under the MIT License.
Download the Plan 9 distribution.


<html>
<head>
<title>
17.3.H  'H' Instructions 
</title>
<body>
<pre>
<a name="17-03-H"></a>
Prev: <a href="chp17-e3.htm">17.3.E  'E' Instructions </a>
Next: <a href="chp17-i3.htm">17.3.I  'I' Instructions </a>
<hr>
<h2>
17.3.H  'H' Instructions 
</h2>

<a name="17-03-HLT"></a>
<h3>HLT -- Halt</h3>

Opcode      Instruction        Clocks     Description

F4          HLT                5          Halt


Operation

Enter Halt state;

<b>Description</b>

HALT stops instruction execution and places the 80386 in a HALT state.
An enabled interrupt, NMI, or a reset will resume execution. If an
interrupt (including NMI) is used to resume execution after HLT, the saved
CS:IP (or CS:EIP) value points to the instruction following HLT.

<b>Flags Affected</b>

None

<b>Protected Mode Exceptions</b>

HLT is a privileged instruction; #GP(0) if the current privilege level is
not 0

<b>Real Address Mode Exceptions</b>

None

<b>Virtual 8086 Mode Exceptions</b>

#GP(0); HLT is a privileged instruction


<hr>
Prev: <a href="chp17-e3.htm">17.3.E  'E' Instructions </a>
Next: <a href="chp17-i3.htm">17.3.I  'I' Instructions </a>
</pre>
</body>
</html>

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.