RLCA

Operation

      n--------------m
n--m  | n---------m  |
|CY|<-T-|7<------0|<-u
v--u    v---------u
             A

Mnemonic

RLCA

Operands

None

b7b6b5b4b3b2b1b0
0 0 0 0 0 1 1 1$07

Description

The contents of the Accumulator (Register A) are rotated left 1 bit position. The sign bit (bit 7) is copied to the Carry flag and also to bit 0. Bit 0 is the least-significant bit.

Condition Bits Affected

Sis not affected.
Zis not affected.
His reset.
P/Vis not affected.
Nis reset.
Cis data from bit 7 of Accumulator.

Example

The Accumulator contains the following data:

76543210
10001000

Upon the execution of

	RLCA

the Accumulator and Carry flag contains:

C76543210
100010001