* better
[mascara-docs.git] / hw / i386.reference / CLD.htm
blob2f1fe46962582d5d2ec957f9613d9c7248905006
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
2 <HTML>
3 <HEAD>
4 <TITLE>80386 Programmer's Reference Manual -- Opcode CLD</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="CLC.htm"> CLC Clear Carry Flag</A><BR>
10 <B>next:</B><A HREF="CLI.htm"> CLI Clear Interrupt Flag</A>
11 <P>
12 <HR>
13 <P>
14 <H1>CLD -- Clear Direction Flag</H1>
16 <PRE>
17 Opcode Instruction Clocks Description
19 FC CLD 2 Clear direction flag; SI and DI
20 will increment during string
21 instructions
22 </PRE>
24 <H2>Operation</H2>
26 <PRE>
27 DF := 0;
28 </PRE>
30 <H2>Description</H2>
32 CLD clears the direction flag. No other flags or registers are affected.
33 After CLD is executed, string operations will increment the index registers
34 (SI and/or DI) that they use.
36 <H2>Flags Affected</H2>
38 DF := 0
40 <H2>Protected Mode Exceptions</H2>
42 None
44 <H2>Real Address Mode Exceptions</H2>
46 None
48 <H2>Virtual 8086 Mode Exceptions</H2>
50 None
53 <P>
54 <HR>
55 <P>
56 <B>up:</B> <A HREF="c17.htm">
57 Chapter 17 -- 80386 Instruction Set</A><BR>
58 <B>prev:</B><A HREF="CLC.htm"> CLC Clear Carry Flag</A><BR>
59 <B>next:</B><A HREF="CLI.htm"> CLI Clear Interrupt Flag</A>
60 </BODY>