
CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
6.69 ROLC (Rotate Byte Data of Accumulator with Carry to Left)
Shift byte data of AL with a carry one bit to the left. The contents of AH are not changed.
■ROLC (Rotate Byte Data of Accumulator with Carry to Left)
Operation
AL | C |
Assembler format
ROLC A
Condition code (CCR)
N | Z | V | C |
|
|
|
|
+ | + | - | + |
|
|
|
|
+: Changed by executing instruction
N:Set to 1 if the MSB is 1 as the result of the shift and set to 0 in other cases.
Z:Set to 1 if the result of the shift is 00H and set to 0 in other cases.
V: Not changed
C: Enter Bit 7 of A before shift.
Number of execution cycle: 1
Byte count: 1
OP code: 02
184