Rotate Accumulator Left
Instruction | RL A |
---|---|
Function | Rotate Accumulator Left |
Bytes | 1 |
Cycles | 1 |
Encoding | 0 0 1 0 0 0 1 1 |
Operation | An+1 = An WHERE n = 0 TO 6 A0 = A7 |
Description | The eight bits in the Accumulator are rotated one bit to the left. Bit 7 is rotated into the bit 0 position. No flags are affected. |
Flags Affected | C AC F0 RS1 RS0 OV P |
Example | The Accumulator holds the value 0C5H (11000101B). The following instruction, RL A leaves the Accumulator holding the value 8BH (10001011B) with the carry unaffected. |
Bytes: Number of bytes required to encode the instruction. Cycles: Number of instruction cycles required to execute the instruction. Note that there are 12 oscillator cycles to one instruction cycle on a standard 8051. Encoding: Lists the byte encoding for the instruction. Operation: Lists, step-by-step, the operations performed by the instruction. Flags Affected: are highlighted in Bold |
Related topics:
8051 Logical Operation Instructions | 8051 ANL Instruction | 8051 ORL Instruction | 8051 XRL Instruction | 8051 CLR Instruction | 8051 CPL Instruction | 8051 RR Instruction | 8051 RLC Instruction | 8051 RRC Instruction | 8051 SWAP Instruction
List of topics: 8051
No comments:
Post a Comment