Pop a Word from the Stack                          

86/88

Y

186

Y

286

Y

386

Y

486

Y

POP destination

Ovfl

N

Dir

N

Int

N

Trap

N

Sign

N

Zero

N

Aux

N

Prty

N

Carry

N

    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.

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

------------------------------------ Timing ----------------------------------

OpCode          Instruction             386     286     86
8F/0            POP m16                 5       5       17+EA
8F/0            POP m32                 5
58+rw           POP r16                 4       5       8
58+rd           POP r32                 4
1F              POP DS                  7       5       8
07              POP ES                  7       5       8
17              POP SS                  7       5       8
0F A1           POP FS                  7
0F A9           POP GS                  7

------------------------------------ Logic -----------------------------------

        destination = (SP)
        SP = SP + n

See Also PUSH PUSHA POPA PUSHF POPF MOV XCHG XLAT


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .