Rolc – NEC 78K/0 Series User Manual
Page 79

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