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>popf pop flags from the stack 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]
POPF             POP Flags from the Stack            Flags: O D I T S Z A P C
                                                            r r r r r r r r r
          Logic:    flag-register . (SP)
                    SP . SP + 2

    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.

  --------------------------------------------------------------------------
   Operands                  Clocks   Transfers  Bytes   Example
   no operands                 12         1        1     POPF
  --------------------------------------------------------------------------

See Also: POP PUSH PUSHF LAHF SAHF

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