CsitLabs
Ctrlk
  • CSIT Labs
  • 1st Semester
  • 2nd Semester
    • Algorithms used in Discrete Structure class
    • Microprocessor
      • 8085 Microprocessor
        • Arithmetic and Logical Instruction Set
        • Branching Instruction Set
        • Data Transfer and Instruction Set
        • Multiply, Divide and Memory Block Operations
        • Rotate Instruction Set
        • Subroutine, Stack and BCD Conversion](Subroutine_Stack_BCD_Conversion
      • 8086 Microprocessor
    • Object Oriented Programming using C++
    • Statistics-I
  • 3rd Semester
  • 4th Semester
  • 5th Semester
  • 6th Semester
  • 7th Semester
  • docs
Powered by GitBook
On this page
  1. 2nd Semester
  2. Microprocessor
  3. 8085 Microprocessor

Rotate Instruction Set

  • WAP to rotate left the data byte A1H two times

  • WAP to rotate right the data byte F1H three times

  • Rotate left with carry the result of addition (AAH+EEH) three times

  • Rotate right with carry the result of subtraction (DEH-FAH) two times

  • 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

  • WAP to convert the total number of 1 in given bit number

PreviousMultiply, Divide and Memory Block OperationsNextSubroutine, Stack and BCD Conversion](Subroutine_Stack_BCD_Conversion

Last updated 1 year ago

Was this helpful?

Was this helpful?