LAHF            Load Register AH from Flags          Flags: Not altered

LAHF

Logic AH bits ← Flag-reg bits
7 6 4 2 0 ← S Z A P C

LAHF transfers the low byte of the flags register to AH. The flags
themselves are not changed by this instruction.

Note
After this instruction is executed, bits 1, 3 and 5 of AH are
undefined.


Opcode Format
9F LAHF


Length and timing
Operands Bytes 8088 186 286 386 486 Pentium
- 1 4 2 2 2 3 2 NP