Online HelpPC 2.10      Quick Reference Utility     Copyright 1991 David Jurgens
 
               SHLD/SHRD - Double Precision Shift (386+ only)               
                                                                                                                                                                          Usage:  SHLD    dest,src,count                                                           SHRD    dest,src,count                                                   Modifies flags: CF PF SF ZF (OF,AF undefined)                                                                                                                                                                                                      SHLD shifts "dest" to the left "count" times and the bit positions               opened are filled with the most significant bits of "src".  SHRD                 shifts "dest" to the right "count" times and the bit positions                   opened are filled with the least significant bits of the second                  operand.  Only the 5 lower bits of "count" are used.                                                                                                                                                                                      
                                        Clocks                  Size            
        Operands                808x  286   386   486           Bytes           
                                                                                         reg16,reg16,immed8       -     -     3     2              4                      reg32,reg32,immed8       -     -     3     2              4                      mem16,reg16,immed8       -     -     7     3              6                      mem32,reg32,immed8       -     -     7     3              6                      reg16,reg16,CL           -     -     3     3              3                      reg32,reg32,CL           -     -     3     3              3                      mem16,reg16,CL           -     -     7     4              5                      mem32,reg32,CL           -     -     7     4              5                                                                                                                                                                                        - see Instruction Timing                                                                                                                                                                                                                    
[helppc.bosbyte.nl]                  shld                     Home  Back  Topics