LAHF LOAD REGISTER AH LAHF
FROM FLAGS
Operation: | Flags Affected: |
(AH) +- (SF):(ZF):X:(AF):X:(PF):X:(CF) None
Description:
LAHF (load register AH from flags) copies SF, ZF, AF, PF and CF (the 8080/S0S5 flags) into bits 7, 6, 4, 2 and 0, respectively, of register AH. The content of bits 5, 3 and 1 is undefined; the flags themselves are not affected. LAHF is provided primarily for con- verting SOSO/SOS5 assembly language pro- grams to run on an SOS6 or SOSS.
Encoding:
1100111111 |
|
|
|
LAH F Operands | Clocks | Transfers | Bytes LAH F Coding Example |
(no operands) | 4 | - | 1 LAHF |