Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 835 Bytes

iii.3.58-shl.md

File metadata and controls

21 lines (12 loc) · 835 Bytes

III.3.58 shl – shift integer left

Format Assembly Format Description
62 shl Shift an integer left (shifting in zeros), return an integer.

Stack Transition:

…, value, shiftAmount → …, result

Description:

The shl instruction shifts value (int32, int64 or native int) left by the number of bits specified by shiftAmount. shiftAmount is of type int32 or native int. The return value is unspecified if shiftAmount is greater than or equal to the width of value. See Table III.6: Shift Operations for details of which operand types are allowed, and their corresponding result type.

Exceptions:

None.

Correctness and Verifiability:

See Table 5: Integer Operations.