8 Bit Logical Rotational Instructions | 8085 Microprocessor

These instructions execute on the basis of the content of accumulator. When these instructions execute, the content of accumulator will shift by 1 bit either left or right as per the instruction.

1. RLC  no operand

Instruction word size  ⇒   1 Byte

Operation ⇒ When this instruction will execute the content of accumulator will shift (or rotate) left by 1 bit without carry flag.

Addressing Mode ⇒ Implicit Addressing Mode

2. RAL  no operand

Instruction word size  ⇒   1 Byte

Operation ⇒ When this instruction will execute the content of accumulator will shift (or rotate) left by 1 bit with carry flag.

Addressing Mode ⇒ Implicit Addressing Mode

3. RRC  no operand

Instruction word size  ⇒   1 Byte

Operation ⇒ When this instruction will execute the content of accumulator will shift (or rotate) right by 1 bit without carry flag.

Addressing Mode ⇒ Implicit Addressing Mode

4. RAR  no operand

Instruction word size  ⇒   1 Byte

Operation ⇒ When this instruction will execute the content of accumulator will shift (or rotate) right by 1 bit with carry flag.

Addressing Mode ⇒ Implicit Addressing Mode

 

Note: Rotational instruction affect only one flag i.e. carry flag.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.