Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- iAPx86 - <b>lahf load register ah from flags flags: not altered</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
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

See Also: SAHF PUSHF Jcc SETcc Flags

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson