Program to Shift Right 8-bit By 2-bit

Q. Write an 8085 program and draw a flowchart to Shift Right 8-bit By 2-bit.(8085 Microprocessor Program) Flowchart/Algorithm Program Address Mnemonics Operand Opcode Comments 2000 LDA 3000 H 3A Load A with data from 3000 H 2001 00 2002 30 2003 RAR 1F Shift Right Accumulator 2004 RAR 1F Shift Right Accumulator 2005 STA 3001 … Read more

Program to Shift Right 8-bit By 1-bit

Q. Write an 8085 program and draw a flowchart to Shift Right 8-bit By 1-bit.(8085 Microprocessor Program) Flowchart/Algorithm Program Address Mnemonics Operand Opcode Comments 2000 LDA 3000H 3A Load H-L pair with data from 3000H. 2001 00 2002 30 2003 RAR 1F Shift right accumulator 2004 STA 3001H 32 Store the result at memory location … Read more

Program to Shift Left 8-bit By 1-bit

Q. Write an 8085 program and draw a flowchart to Shift Left 8-bit By 1-bit.(8085 Microprocessor Program) Flowchart/Algorithm Program Address Mnemonics Operand Opcode Comments 2000 LDA 3000H 3A Load H-L pair with data from 3000H. 2001 00 2002 30 2003 RAL 17 Shift left accumulator 2004 STA 3001H 32 Store the result at memory location … Read more

Program to Multiply two 8-bit numbers

Q. Write an 8085 program and draw a flowchart to Multiply two 8-bit numbers.(8085 Microprocessor Program) Flowchart/Algorithm Program Address Mnemonics Operand Opcode Comments 2000 LXI H, 3000H 21 Load H-L pair with address 3000H. 2001 00 2002 30 2003 MOV B, M 46 Move the 1st operand from memory to reg. B. 2004 INX H … Read more