lahf

8086 and later

Load AH from Flags

lahf

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).

Loading...

Forms

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.

FormSinceNotes
lahf 8086