You are on page 1of 2

EXPERIMENT No. 4 1.

0 TITLE :
To write a program to add the values 88H and 8AH using ADD instruction

2.0 PRIOR CONCEPTS:


8085 Architecture & Instruction Set

3.0 NEW CONCEPTS:


1. Entering a hex number in the accumulator. 2. Entering a hex number in one of the registers. 3. Adding the contents of the register to the contents of the accumulator.

4.0 LEARNING OBJECTIVES:


1. To enter a hex number in the accumulator. 2. To enter a hex number in register C , for example. 3. To add the contents of register C to the contents of the accumulator

5.0 APPARATUS:
8085 Microprocessor Kit.
6.0

PROCEDURE & OBSERVATION TABLE :


Memory location 7000 7001 7002 7003 7004 7005 Hex code 3E 88 OE 8A 89 CF ADD C RST 1 MVI C , 8A H Instruction MVI A , 88 H

The contents of the various registers including flag register will be : A= 12 E=00

B= 00 C= 00 D= 00 Flag Register F :

F=37 H=00 L=00

D7 S 0

D6 Z 0

D5 X 1

D4 AC 1

D3 X 0

D2 P 1

D1 X 1

D0 CY 1

You might also like