Combined

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Exp No.

……………
Exp Name ………………………………………………………..........................
…………………………………………………………………………………....

…………………………………………………………………………………....

Date of experiment................................ Date of submission................................

Group Member’s Name ID

………………………………………..
Signature of the Teacher
EXPERIMENT NO.1

NAME OF THE EXPERIMENT: Write 8085 Assembly Language Program to


Add Two 8 Bit Numbers & Store The Result.

AIM & OBJECTIVE: To Add Two 8 Bit Numbers & Store The Result.

THEORY:
In this problem, the locations 8000H & 8001H having two numbers. The result
locations are 9000H (Addition Value) and 9001H (Carry Value). The 9000H holding the
lower byte of the result & 9001H is holding the upper byte of the result.

USER DATA GRID:

ADDRESS DATA
8000 FF
8001 01

9001 Upper byte of result


9000 Lower byte of result

FF+ 01 = 00 (lower byte of the result).


CY Flag is single bit information which will be set after addition; CY == 1. All the other
flags will also be modified to show the status of result.
The single bit information of carry flag will be converted into 8 bit format internally by
microprocessor. So upper byte of the result is: 01H (as CY=1).
ALGORITHM:
Insert the algorithm here.
PROGRAM TABLE :

Memory Label Mnemonics Hex Comment


Address code
Memory Label Mnemonics Hex Comment
Address code
RESULT:

(Insert screenshot of your program in simulator)


CALCULATION:

CONCLUSION:

You might also like