Rotate Left
Category: Bitwise Operation Box Functions
Rotates a D, C, or T WORD left. Bits leaving the left return at the right end.
Syntax: ROL D0 2 D1
| Run condition | Before | Command entered | Expected result |
|---|---|---|---|
| Left condition ON | D0=0x8001 | ROL D0 2 D1 | D1=0x0006 |