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>movsd move string doubleword (386) 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]
MOVSD             Move String Doubleword (386)       Flags: O D I T S Z A P C

MOVSD

           Logic:        DWORD PTR ES:DI . DWORD PTR (DS:SI)
                         if DF = 0
                             SI . SI + 4
                             DI . DI + 4
                         else
                             SI . SI - 4
                             DI . DI - 4

     This instruction copies the doubleword at DS:SI to ES:DI. If the
     destination flag is cleared, SI and DI are incremented by 4. Otherwise,
     they are decremented by 4.

     If the strings are DWORD-aligned, MOVSD works more quickly than either
     MOVSB or MOVSW to transfer large strings.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   MOVSD                      7 (386)      4        1    MOVSD
  --------------------------------------------------------------------------

        Note:          This instruction is usually used with a REP
                       prefix. Load CX with the number of times to repeat
                       the instruction.

See Also: MOVS MOVSB MOVSW REP

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