ROTATELI(RS, IS, SHIFT, MASK)

Purpose

Rotate Left Immediate then MASK Insert

Rotates the value of RS left by the number of bits specified in SHIFT. The function then inserts RS into IS under bit mask, MASK.

8-byte integers are valid only on a 64-bit architecture.

Class

Function

Argument Type and Attributes

RS
must be of type integer.

IS
must be of type integer.

SHIFT
must be of type INTEGER(4).

MASK
must be a literal value of type integer.

Result Type and Attributes

Same as RS.

Result Value

Rotates RS left the number of bits specified by SHIFT, and inserts the result into IS under the bit mask, MASK. IBM Copyright 2003