AngoLinux |
80386 Programmer's Reference Manual -- Opcode PUSHF |
PUSHF/PUSHFD -- Push Flags Register onto the Stack
OperationIF OperandSize = 32 THEN push(EFLAGS); ELSE push(FLAGS); FI; DescriptionPUSHF decrements the stack pointer by 2 and copies the FLAGS register to the new top of stack; PUSHFD decrements the stack pointer by 4, and the 80386 EFLAGS register is copied to the new top of stack which is pointed to by SS:eSP. Refer to Chapter 2 and Chapter 4 for information on the EFLAGS register.Flags AffectedNoneProtected Mode Exceptions#SS(0) if the new value of eSP is outside the stack segment boundariesReal Address Mode ExceptionsNone; the 80386 shuts down due to a lack of stack spaceVirtual 8086 Mode Exceptions#GP(0) fault if IOPL is less than 3, to permit emulation
[Home Page dell'ITIS "Fermi"] [80386 Programmer's Reference Manual Index] [Previous] [Next] |