CHAPTER 5 EXPLANATION OF INSTRUCTIONS
User’s Manual U11047EJ3V0UM00
85
ROL
Rotate Left
Byte Data Rotation to the Left
[Instruction format]
ROL dst, cnt
[Operation]
(CY, dst
0
←
0dst
7
, dst
m+1
←
dst
m
)
×
one time
[Operand]
Mnemonic
Operand (dst, cnt)
ROL
A, 1
[Flag]
Z
AC
CY
×
[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.
CY
0
7
[Description example]
ROL A, 1; The A register contents are rotated to the left by one bit.
Summary of Contents for 78K/0S Series
Page 2: ...User s Manual U11047EJ3V0UM00 2 MEMO ...
Page 14: ...User s Manual U11047EJ3V0UM00 14 MEMO ...
Page 28: ...User s Manual U11047EJ3V0UM00 28 MEMO ...
Page 118: ...User s Manual U11047EJ3V0UM00 118 MEMO ...
Page 120: ...User s Manual U11047EJ3V0UM00 120 MEMO ...