Name
Shr -- shift bits to the right (V1.5)
Synopsis
result = Shr(a, x)
Function
This function shifts a by x bits to the right, padding the holes with zero bits. This is called a logical shift. a is converted to an unsigned 32-bit integer variable before the shift.

Inputs
a
source value
x
number of bits to shift
Results
result
integer result
Example
a = Shr(256, 3)
This returns 32.

Show TOC