Ceci est une ancienne révision du document !
Transfers the Flags Register onto the stack. PUSHF saves a 16 bit value while PUSHFD saves a 32 bit value.
Usage:
PUSHF PUSHFD ; (386+ only)
Modifies flags:
None
Clocks | Size | ||||
---|---|---|---|---|---|
Operands | 808x | 286 | 386 | 486 | Bytes |
none | 10/14 | 3 | 4 | 4 | 1 |
none (PM) | - | - | 4 | 3 | 1 |
Pops word/doubleword from stack into the Flags Register and then increments SP by 2 (for POPF) or 4 (for POPFD).
Usage:
POPF POPFD ; (386+ only)
Modifies flags:
CF PF AF ZF SF TF IF DF OF IOPL NT RF VM
286+ only 386+ only
Clocks | Size | ||||
---|---|---|---|---|---|
Operands | 808x | 286 | 386 | 486 | Bytes |
none | 10/14 | 3 | 4 | 4 | 1 |
none (PM) | - | - | 4 | 3 | 1 |