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, Int, Int64, or Int128), then SHR does an arithmetic right shift. An arithmetic shift is TODO

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

Examples

TODO

See also