Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>cld clear direction flag flags: o d i t s z a p c</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CLD              Clear Direction Flag                Flags: O D I T S Z A P C
                                                              0
CLD

          Logic:    DF . 0             (Increment in string instructions)

    CLD zeros the Direction Flag. No other flags are affected. Clearing
    the direction flag causes string operations to increment SI and DI.

  --------------------------------------------------------------------------
   Operands                  Clocks   Transfers  Bytes   Example
   no operands                 2          -        1     CLD
  --------------------------------------------------------------------------

       Note:          String instructions increment SI and DI when the
                      direction flag is clear.

See Also: STD STC CLC CMC STI CLI Flags

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson