[<<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
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson