[ROL_DW] DWORD rotate left

Description

The bits of input value IN are rotated left by the number of steps specified in input value N.

The bit positions freed by rotating are filled with the bit positions that are pushed out. The status of the bits remains intact.

The result is stored at output parameter OUT.

Example of N = 3 and the data type WORD:

Parameters

Parameters

Declaration

Data type

Description

Default

IN

Input

DWORD

Input value

0

N

Input

WORD

Number of bit positions by which value IN is rotated.

0

OUT

Output

DWORD

Output value

0