SAHF
Usage: SAHF Modifies flags: AF CF PF SF ZF
Transfers bits 0-7 of AH into the Flags Register. This includes AF, CF, PF, SF and ZF.
Store AH to Flags
SAHF ; 9E [8086]
SAHF sets the low byte of the flags word according to the contents of the AH register.
The operation of SAHF is:
AH --> SF:ZF:0:AF:0:PF:1:CF
See also LAHF.
Example:
sahf