LAHF sets the AH register according to the contents of the
low byte of the flags word.
The operation of LAHF is:
AH <-- SF:ZF:0:AF:0:PF:1:CF
See also SAHF (SAHF).
LAHF sets the AH register according to the contents of the
low byte of the flags word.
The operation of LAHF is:
AH <-- SF:ZF:0:AF:0:PF:1:CF
See also SAHF (SAHF).
Every form of lahf the assembler accepts, from NASM's own instruction table.
The second column is the processor that introduced the form; a badge marks a form that needs
an extension, that is lockable, or that long mode dropped.
| Form | Since | Notes |
|---|---|---|
| lahf | 8086 |