sahf
AH -> SF:ZF:xx:AF:xx:PF:xx:CF
Loads flags (sign, zero, indeterminate, auxiliary carry, indeterminate, parity, indeterminate, and carry) with values from the AH register.
Load values from the AH register into the flags word: