> For the complete documentation index, see [llms.txt](https://suyashs-organization-3.gitbook.io/csitlabs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://suyashs-organization-3.gitbook.io/csitlabs/2nd_semester/microprocessor/8085_mp/rotate_instruction_set.md).

# Rotate Instruction Set

* [WAP to rotate left the data byte A1H two times](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Rotate_Instruction_set/rotate_left.asm)
* [WAP to rotate right the data byte F1H three times](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Rotate_Instruction_set/rotate_right.asm)
* [Rotate left with carry the result of addition (AAH+EEH) three times](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Rotate_Instruction_set/rotate_left_with_carry.asm)
* [Rotate right with carry the result of subtraction (DEH-FAH) two times](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Rotate_Instruction_set/rotate_right_with_carry.asm)
* [WAP to load two data stored in memory location 8000 and 8001 directly to HL register. Add them. If carry exists, rotate right with carry the accumulator result three times, otherwise terminate](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Rotate_Instruction_set/load_two_data_stored_in_mem8000_and_8001_directly_to_HL_reg.asm)
* [WAP to convert the total number of 1 in given bit number](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Rotate_Instruction_set/convert_total_number_of_1_in_given_bit_number.asm)
