ROTATELM(RS, SHIFT, MASK)

Purpose

Rotate Left AND with Mask

Rotates the value of RS left by the number of bits specified in SHIFT. The rotated data is ANDed with the MASK and then returned as a result.

Class

Function

Argument Type and Attributes

RS
must be of type integer. Must be an an integer of less than 8-bytes.

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

The rotated data ANDed with MASK. IBM Copyright 2003