THE 80286 INSTRUCTION SET

LAHF-load Flags into AH Register

OpcodeInstruction ClocksDescription

9F

LAHF

2

Load: AH = flags SF ZF xx AF xx PF xx CF

FLAGS MODIFIED

None

FLAGS UNDEFINED

None

OPERATION

The low byte of the flags word is transferred to AH. The bits, from MSB to LSB, are as follows: sign, zero, indeterminate; auxiliary carry, indeterminate, parity, indeterminate, and carry. See figure 3-5.

PROTECTED MODE EXCEPTIONS

None

REAL ADDRESS MODE EXCEPTIONS

None

8-59

Page 269
Image 269
Intel 80286, 80287 manual LAHF-load Flags into AH Register, Lahf