Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>shrd double precision shift right (386) flags: o d i t s z a p c</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SHRD         Double Precision Shift Right (386)      Flags: O D I T S Z A P C
                                                            ?       * * ? * *
SHRD operand1, operand2, count

           Logic:        operand1|operand2 . SHR(operand1|operand2,count)

     SHRD is a double precision shift right instruction.

     This instruction takes three operands. Taken together, the first two
     operands (operand1 and operand2) form a 32-bit or 64-bit entity,
     OP. The third operand, 8 bits long, is the count. The SHRD
     instruction shifts OP right by count places.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   SHRD reg,reg,immediate8    3 (386)      -        5    SHRD BX,CX,5
   SHRD memory,reg,immediate8 7 (386)      -        6    SHRD MEM_LOC,DX,6
   SHRD reg,reg,CL            3 (386)      -        4    SHRD BX,DX,CL
   SHRD memory,CL             7 (386)      -        5    SHRD MEM_LOC,DX,CL
  --------------------------------------------------------------------------

        Note:          count may be stored in CL.

See Also: SHLD

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson