Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>shr shift right masm operator</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SHR              Shift Right                                    MASM 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