SHR Operator

Does a right shift operation on a bit pattern.

Syntax

pattern SHR number

Parts

pattern
An integer expression
number
An integer expression

Instructions

If pattern is a signed integer (Int8, Int16, Int32, Int64, or Int128), SHR does an arithmetic right shift. An arithmetic shift is TODO

If pattern is an unsigned integer (UInt8, UInt16, UInt32, UInt64, or UInt128), SHR does a logical right shift. A logical shift is TODO

Examples

TODO

See also