[SHL_DW] DWORD shift left

Description

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

The low-order bit positions freed by rotating are assigned value "0". The high-order bit positions that are pushed out are lost.

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 shifted.

0

OUT

Output

DWORD

Output value

0