Experiment 3
Experiment 3
EXPERIMENT NO. 1
AIM –
To write an 8085 assembly language program to multiply 2 8bit numbers(repetitive addition/ shift
and add method) stored in consecutive memory locations and save the result in subsequent memory
locations.
REQUIRMENTRS –
ALGORITHM 1-
PROGRAM 1 –
OUTPUT –
ALGORITHM 2-
1. LXI H, H will load the HL pair register with the address H of memory location.
2. MOV E, M copies the content of memory into register E.
3. MVI D, 00H clears the register D.
4. INX H points to the next location.
5. MOV A, M get the next operand.
6. LXI H, 0000H clears the HL pair.
Vaishali Turukmane
11
PROGRAM 2-
Vaishali Turukmane
12
OUTPUT –
FLOWCHART –
CONCLUSION –
Vaishali Turukmane