[SHR_W] WORD shift right
Description
The bits of input value IN are shifted right by the number of steps specified in input value N.
The high-order bit positions freed by shifting are assigned value "0". The low-order bit positions that are pushed out are lost.
The result is stored at output parameter OUT.
Example of N = 3:

Parameters
Parameters | Declaration | Data type | Description | Default |
|---|---|---|---|---|
IN | Input | WORD | Input value | 0 |
N | Input | WORD | Number of bit positions by which value IN is shifted. | 0 |
OUT | Output | WORD | Output value | 0 |