ROL
Rotate Accumulator Left
7-144
Syntax ROL
Operands None
Opcode
0123456789101112131415
0011000001111101
Execution Increment PC, then ...
C → ACC(0)
(ACC(31)) → C
(ACC(30:0)) → ACC(31:1)
Status Bits
Affects
C
This instruction is not affected by SXM.
Description The ROL instruction rotates the accumulator left one bit. The value of the carry
bit is shifted into the LSB, then the MSB is shifted into the carry bit.
Words 1
Cycles for a Single ROL Instruction
ROM DARAM SARAM External
1 1 1 1+p
Cycles for a Repeat (RPT) Execution of an ROL Instruction
ROM
DARAM SARAM External
n n n n+p
Example ROL
Before Instruction After Instruction
ACC 0 B0001234h ACC 1 60002468h
CC
Cycles