You are on page 1of 3

EXPERIMENT No. 7 1.

0 TITLE :
To write a program to multiply 05H and 03H .

2.0 PRIOR CONCEPTS:


8085 Architecture & Instruction Set

3.0 NEW CONCEPTS:


1. Clearing the contents of the accumulator. 2. Entering a hex number in one of the register B , for example. 3. Entering a hex number in another register C , for example. 4. Formation of a loop using JUMP instruction. 5. Multiplying the contents of register B & register C in the accumulator.

4.0 LEARNING OBJECTIVES:


1. To clear the contents of the accumulator. 2. To enter a hex number in register B.

3. To enter a hex number in register C. 4. To form a loop using JUMP instruction. 5. To multiply the contents of register B & register C in the accumulator.

5.0 APPARATUS:
8085 Microprocessor Kit.
6.0

PROCEDURE & OBSERVATION TABLE :


Memory location 7000 7001 7002 Hex code 3E 00 06 MVI B, 05 H Load 05H in register B Instruction MVI A , 00 H Comment Load value 00H in the accumulator

7003 7004 7005 7006 7007 7008 7009 700A 700B

05 OE 03 80 OD C2 06 70 CF RST 1 Reset ADD B DCR C JNZ ADD value of B to A Decrement C by 01H Jump if no zero to 7006 MVI C , 03 H Load 03H in register C

The contents of the various registers including flag register will be : A= 0F B= 05 C= 00 D= 00 Flag Register F : E=00 F=54 H=00 L=00

D7 S 0

D6 Z 1

D5 X 0

D4 AC 1

D3 X 0

D2 P 1

D1 X 0

D0 CY 0

You might also like