Table of Contents

ROL Box Function

Rotate Left

Category: Bitwise Operation Box Functions

Behavior

Rotates a D, C, or T WORD left. Bits leaving the left return at the right end.

Syntax and Arguments

Syntax: ROL D0 2 D1

Behavior Example

Run condition Before Command entered Expected result
Left condition ON D0=0x8001 ROL D0 2 D1 D1=0x0006

Inputs and results for Bitwise Operation Box Functions

Cautions

Box Functions in the Same Category