
CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
6.70 RORC (Rotate Byte Data of Accumulator with Carry to Right)
Shift byte data of AL with a carry bit to the right. The contents of AH are not changed.
■RORC (Rotate Byte Data of Accumulator with Carry to Right)
Operation
AL | C |
Assembler format
RORC 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: LSB of A before entering shift
Number of execution cycle: 1
Byte count: 1
OP code: 03
186