Micro processor Lab Manual / convert LSB to MSB

Program Name

Write a Assembly Language Program for convert least significant bit (LSB) to most significant bit (MSB).
Theory
Instruction Mnemonic Operand
81 Load the contents of 8100 into accumulator i.e. input.
RRC Rotate accumulator to right by 1 bit position.
RRC Rotate accumulator to right by 1 bit position.
RRC Rotate accumulator to right by 1 bit position.
RRC Rotate accumulator to right by 1 bit position.
STA State the contents of the result in 8200
HLT Stop
Program Code


Online compiler for 8085 Microprocess Compiler


Home     Back