SAHF sets the low byte of the flags word according to the
contents of the AH register.
The operation of SAHF is:
AH --> SF:ZF:0:AF:0:PF:1:CF
See also LAHF (LAHF).
SAHF sets the low byte of the flags word according to the
contents of the AH register.
The operation of SAHF is:
AH --> SF:ZF:0:AF:0:PF:1:CF
See also LAHF (LAHF).
Every form of sahf the assembler accepts.
| Form | Since | Notes |
|---|---|---|
| sahf | 8086 |