| 
 |  | 
                         Store AH Register into Flags                         
  
    | 
       86/88  | 
    
       Y  | 
    
       186  | 
    
       Y  | 
    
       286  | 
    
       Y  | 
    
       386  | 
    
       Y  | 
    
       486  | 
    
       Y  | 
    
       SAHF  | 
   
  
    | 
       Ovfl  | 
    
       N  | 
    
       Dir  | 
    
       N  | 
    
       Int  | 
    
       N  | 
    
       Trap  | 
    
       N  | 
    
       Sign  | 
    
       Y  | 
    
       Zero  | 
    
       Y  | 
    
       Aux  | 
    
       Y  | 
    
       Prty  | 
    
       Y  | 
    
       Carry  | 
    
       Y  | 
   
     SAHF copies bits 7, 6, 4, 2, and 0 from the AH register into the Flags
    register, replacing the previous values of the Sign, Zero, Auxiliary
    Carry, Parity, and the Carry flags.
       Notes:         The Overflow, Direction, Interrupt, and Trap flags
                      are not changed by this instruction.
                      This instruction is primarily used to provide upward
                      compatibility between the 8080/8085 family and the
                      8086 family.
------------------------------------ Timing ----------------------------------
OpCode          Instruction             386     286     86
9E              SAHF                    3       2       4
See Also LAHF PUSHF POPF Flags |