ROL
[Instruction format]
[Operation]
[Operand]
Mnemonic
ROL
A, 1
[Flag]
Z
AC
[Description]
•
The destination operand (dst) contents specified with the 1st operand are rotated to the left just once.
•
The MSB (bit 7) contents are simultaneously rotated to LSB (bit 0) and transferred to the CY flag.
[Description example]
ROL A, 1; The A register contents are rotated to the left by one bit.
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
ROL dst, cnt
← 0dst
(CY, dst
, dst
0
7
m+1
Operand (dst, cnt)
CY
×
CY
7
User's Manual U11047EJ3V0UM00
← dst
) × one time
m
Rotate Left
Byte Data Rotation to the Left
0
85