0% found this document useful (0 votes)
52 views2 pages

Microprocessor &amp Micro Controller Expt No.2

This document describes an experiment using an 8085 microprocessor kit to add the hexadecimal numbers 06H and 09H in the accumulator register. The experiment loads 06H into the accumulator using MVI A, 06H, then adds 09H to the accumulator using ADI 09H, resulting in 0FH being stored in the accumulator with the carry flag set to 1.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views2 pages

Microprocessor &amp Micro Controller Expt No.2

This document describes an experiment using an 8085 microprocessor kit to add the hexadecimal numbers 06H and 09H in the accumulator register. The experiment loads 06H into the accumulator using MVI A, 06H, then adds 09H to the accumulator using ADI 09H, resulting in 0FH being stored in the accumulator with the carry flag set to 1.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

EXPERIMENT No. 2 1.

0 TITLE :
To write a program to add the values 06H and 09H using ADI

2.0 PRIOR CONCEPTS:


8085 Architecture & Instruction Set

3.0 NEW CONCEPTS:


1. Entering a hex number in the accumulator. 2. Adding directly another hex number to the contents of the accumulator.

4.0 LEARNING OBJECTIVES:


1. To enter a hex number in the accumulator. 2. To add directly another hex number to the contents of the accumulator.

5.0 APPARATUS :
8085 Microprocessor Kit
6.0

PROCEDURE & OBSERVATION TABLE :


Memory Location 7000 7001 7002 7003 7004 Hex Code 3E 06 C6 09 CF RST 1 ADI 09 H Instruction MVI A , 06 H

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

Flag Register F :

D7 S 0

D6 Z 0

D5 X 0

D4 AC 0

D3 X 0

D2 P 1

D1 X 0

D0 CY 0

You might also like