16 bit Assembly

Home   Site Map   Instruction Index  


SAHF   - Save Flags Instruction

The SAHF instruction is used to save the flags in AH to the EFlags Register.

Use the SET instructions to change the current flags.

When used this instruction updates the following flags:
Load the Flags into AH using LAHF.

Bits 1,3 and 5 are not changed




Last Update 09/02/2023