AngoLinux

80386 Programmer's Reference Manual -- Opcode LAHF


LAHF -- Load Flags into AH Register

OpcodeInstructionClocks DescriptionExample
9Flahf 2 Load: AH := flags SF ZF xx AF xx PF xx CFlahf

Operation




AH := SF:ZF:xx:AF:xx:PF:xx:CF;

Description

LAHF transfers the low byte of the flags word to AH. The bits, from MSB to LSB, are sign, zero, indeterminate, auxiliary, carry, indeterminate, parity, indeterminate, and carry.

Flags Affected

None

Protected Mode Exceptions

None

Real Address Mode Exceptions

None

Virtual 8086 Mode Exceptions

None


[Home Page dell'ITIS "Fermi"] [80386 Programmer's Reference Manual Index] [Previous] [Next]