Pop Flags off Stack                             

86/88

Y

186

Y

286

Y

386

Y

486

Y

POPF/POPFD

Ovfl

Y

Dir

Y

Int

Y

Trap

Y

Sign

Y

Zero

Y

Aux

Y

Prty

Y

Carry

Y

    POPF transfers the word at the top of the stack to the flags register,
    replacing the old flags, then increments SP by 2 to point to the new
    top of stack.

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

OpCode          Instruction             386     286     86
9D              POPF                    5       5       8
9D              POPFD                   5

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

        Flags = (SP)
        SP = SP + 2

See Also PUSHF POP PUSH PUSHA POPA LAHF SAHF INT IRET


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