This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

RRC Rotate bits right with Carry

Rotate bits left with carry

Table of Contents

Visualisation of the RRC instruction
76543210
 
RRCA
000011110F
 
RRC r
11001011CB
00001r
 
RRC (HL)
11001011CB
000011100E
 
RRC (IX+d)
11011101DD
11001011CB
d
000011100E
 
RRC (IY+d)
11111101FD
11001011CB
d
000011100E
Registers
Registerr
B000
C001
D010
E011
H100
L101
A111
Flags Affected
Flags
sz-h-p/v-c
sset if result negative
zset if result is 0
hreset
p/vset if parity even, reset if parity odd
cdata from bit 0 of source register
Opcode Matrix
ABCDEHL(HL)(IX+d)(IY+d)
RRC
RRCA
0F14









RRC
RRC A
CB0F28
RRC B
CB0828
RRC C
CB0928
RRC D
CB0A28
RRC E
CB0B28
RRC H
CB0C28
RRC L
CB0D28
RRC (HL)
CB0E215
RRC (IX+d)
DDCBnn0E423
RRC (IY+d)
FDCBnn0E423
Opcode Matrix Legend
Instruction Opcode hexSize bytesCycle count
 Register Memory