RLA

Operation

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

Mnemonic

RLA

Operands

None

b7b6b5b4b3b2b1b0
0 0 0 1 0 1 1 1$17

Description

The contents of the Accumulator (Register A) are rotated left 1 bit position through the Carry flag. The previous contents of the Carry flag are copied 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:

C76543210
101110110

Upon the execution of

	RLA

the Accumulator and Carry flag contains:

C76543210
011101101