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>pusha push all (186/286/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]
PUSHA             Push All (186/286/386)             Flags: O D I T S Z A P C

POPA

           Logic:        PUSH AX
                         PUSH CX
                         PUSH DX
                         PUSH BX
                         PUSH SP
                         PUSH BP
                         PUSH SI
                         PUSH DI

     This instruction pushes the eight general-purpose registers in a 186, 286
     or 386. The registers pushed, in order, are: AX, CX, DX, BX, SP, BP, SI,
     and DI. Use POPA to pop all the registers again.

     The PUSHA/POPA instructions are useful at the beginning and end of called
     procedures to save and restore the contents of used registers.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   PUSHA                      17 (286)     16       1    PUSHA
  --------------------------------------------------------------------------

See Also: POPA POPAD PUSHAD

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