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>popa pop 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]
POPA              Pop All (186/286/386)              Flags: O D I T S Z A P C

POPA

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

     This instruction pops the eight general-purpose registers in a 186, 286
     or 386. The registers popped, in order, are: DI, SI, BP, SP, BX, DX, CX,
     and AX. Use this instruction after PUSHA.

     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
   POPA                       19 (286)     16       1    POPA
  --------------------------------------------------------------------------

        Note:          The popped value for SP is discarded, not loaded
                       into SP.

See Also: POPAD PUSHA PUSHAD

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