CsitLabs
search
⌘Ctrlk
CsitLabs
  • 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
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. 2nd Semesterchevron-right
  2. Microprocessorchevron-right
  3. 8085 Microprocessor

Rotate Instruction Set

  • WAP to rotate left the data byte A1H two timesarrow-up-right

  • WAP to rotate right the data byte F1H three timesarrow-up-right

  • Rotate left with carry the result of addition (AAH+EEH) three timesarrow-up-right

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

  • 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 terminatearrow-up-right

  • WAP to convert the total number of 1 in given bit numberarrow-up-right

PreviousMultiply, Divide and Memory Block Operationschevron-leftNextSubroutine, Stack and BCD Conversion](Subroutine_Stack_BCD_Conversionchevron-right

Last updated 1 year ago