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>shr shift right operator</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SHR              Shift Right                                         Operator

  expression SHR count

    Shifts expression right by count bits.

       Notes:     Bits shifted off the end are lost.  Zeroes are entered
                  when shifting.  If count is greater than or equal to 16,
                  the result is 0.

                  If the value being shifted is a word, all 16-bits will
                  be shifted.  However, if the value is only a byte, only
                  8-bits will be shifted.

See Also: SHL

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