Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:instr:pushf

Ceci est une ancienne révision du document !


PUSHF - POPF

PUSHF/PUSHFD - Push Flags onto Stack

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

POPF/POPD - Pop Flags off Stack

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
back2root/ibm-pc-ms-dos/instr/pushf.1677884914.txt.gz · Dernière modification : 2023/03/04 00:08 de frater