RLC r |
Rotate register left with branch carry. |
Function: |
|
Format: |
|
byte 1: CB |
|
|
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: | A | B | C | D | E | H | L |
CB + | 07 | 00 | 01 | 02 | 03 | 04 | 05 |
---|
|
Flags: |
C is set by bit 7 of source register. |
Example: |
RLC B |
OBJECT CODE |
Before: |
After: |
|
|