Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- iAPx86 - <b>popa pop all general registers flags: not altered</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
POPA            Pop All General Registers            Flags: Not altered

POPA                                                 CPU: 186+
POPAD                                                CPU: 386+

        Logic   POP eDI
                POP eSI
                POP eBP
                ADD eSP,n
                POP eBX
                POP eDX
                POP eCX
                POP eAX

    POPA pops the eight general registers from the stack. The value
    for the stack pointer is discarded instead of loaded into SP/ESP.
    POPA reverses the action of a previous PUSHA instruction.

    POPAD is the 32-bit form of POPA.


    Note
    Some assemblers support a POPA extension (POPAW) that forces 8
    16-bit word-style pop's regardless of the code segment's size
    attribute (80386+).


    Opcode      Format
    61          POPA
    61          POPAD


    Length and timing
    Variations  Bytes   8088    186     286     386     486     Pentium
    popa         1              51      19      24       9       5   NP
    popad        1               -       -      24       9       5   NP

See Also: POP POPF PUSH PUSHA PUSHF

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