Home  Site Map  Instruction Index 

LAHF  -  Load Flags Instruction


The LAHF instruction is used to load the flags in AH from the EFlags Register.

Use the SET instructions to change the current flags.

Save the Flags using SAHF.

  • Bit 0 - CF Carry Flag
  • Bit 2 - PF Parity Flag
  • Bit 4 - AF Flag
  • Bit 6 - ZF Zero Flag
  • Bit 7 - SF Sign Flag
Bits 1,3 and 5 are reserved.