Make your own free website on Tripod.com

RLC r

Rotate register left with branch carry.
Function:
 
Format:
1100 1011
 
byte 1: CB
 
0000 0rrr
 
byte 2
 
Description: The contents of the specified register are rotated left. The original contents of bit 7 are moved to the carry flag as well as bit 0. r may be any one of:
A
111
B
000
C
001
D
010
E
011
H
100
L
101

 
Data Flow:
 
Timing: 2 M cycles; 8 T states: 4 usec @ 2 MHz
 
Addressing Mode: implicit
 
Byte Codes:
ADC  A,r
r:ABCDEHL
CB +07000102030405
 
Flags:
C is set by bit 7 of source register.
 
Example:
RLC  B

OBJECT CODE
Before:
 
After: