Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>pop pop a word from the stack flags: not altered</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
POP              POP a Word from the Stack           Flags: not altered

POP destination

          Logic:    destination . (SP)
                    SP . SP + 2

    POP transfers the word at the top of the stack to the destination
    operand, then increments SP by 2 to point to the new top of stack.

  --------------------------------------------------------------------------
   Operands                  Clocks   Transfers  Bytes   Example
   register                    12         1        1     POP CX
   seg-reg (CS illegal)        12         1        1     POP ES
   memory                   25 + EA       2       2-4    POP VALUE
  --------------------------------------------------------------------------

       Note:          You may not use the CS register as the destination
                      of a POP instruction.

See Also: PUSH POPF MOV XCHG XLAT EA

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