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>stosd store 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]
STOSD             Store String Doubleword (386)      Flags: O D I T S Z A P C

STOSD

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

     STOSD stores a doubleword from the EAX register into the memory location
     pointed to by ES:DI. DI is then incremented if the direction flag is
     cleared or decremented if it is set.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   STOSD                      5 (386)      4        1    STOSD
  --------------------------------------------------------------------------

        Note:          These instructions are usually used with a REP
                       prefix. Load CX with the number of times to repeat
                       the instruction. You can only use STOSD on the 386.

See Also: LODSD

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