sahf

Store AH into Flags

SAHF

Loads SF, ZF, AF, PF, and CF from AH.

Details

The Store AH into Flags instruction loads SF, ZF, AF, PF, and CF from AH.

Pseudocode Operation

// Loads SF, ZF, AF, PF, and CF from AH

Example

SAHF

Encoding

Binary Layout
9E
+0
 
Format Legacy
Opcode 9E
Extension Base

Operands