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

Time-Varying & Time-Invariant Systems

Time-Invariant System The system is time invariant if the behaviour and characteristic of the system are fixed over time. In other words, a system is said to be time invariant if a time shift in the input signal causes an identical time shift in the output signal. It means that  for continuous time if x(t) → y(t), then x(t-to) → y(t-to) … Read more

Linear and Non-Linear Systems

Linear System A system is said to be linear if superposition principle is applicable to the system. Superposition Principle The response resulting from several input signals can be computed as the sum of the responses resulting from each input signal acting alone. Let x1(t) and x2(t) be the two inputs. The corresponding responses/output are y1(t) … Read more