Convert Word to DoubleWord                          
  
    | 
       86/88  | 
    
       Y  | 
    
       186  | 
    
       Y  | 
    
       286  | 
    
       Y  | 
    
       386  | 
    
       Y  | 
    
       486  | 
    
       Y  | 
    
       CWD  | 
   
  
    | 
       Ovfl  | 
    
       N  | 
    
       Dir  | 
    
       N  | 
    
       Int  | 
    
       N  | 
    
       Trap  | 
    
       N  | 
    
       Sign  | 
    
       N  | 
    
       Zero  | 
    
       N  | 
    
       Aux  | 
    
       N  | 
    
       Prty  | 
    
       N  | 
    
       Carry  | 
    
       N  | 
   
     CWD extends the sign bit of the AX register into the DX register. This
    instruction generates the double-word equivalent of the signed number
    in the AX register.
------------------------------------ Timing ----------------------------------
OpCode          Instruction             386     286     86
99              CWD                     2       2       5
------------------------------------ Logic -----------------------------------
        If (AX < 8000h) then
                DX = 0
        else
                DX = 0FFFFh
See Also CWDE CBW CDQ DIV IDIV |