You are on page 1of 6

Experiment Title.-1.

Student Name: UID:


Branch: Section/Group:
Semester: Date of Performance:
Subject Name: MPI LAB Subject Code:

1. Aim/Overview of the practical:

Addition of two 8bit numbers, sum 8 bit.

2. Task to be done:

Writing a code that uses basic binary math operations using the
microprocessor for addition of two 8 bit numbers.

3. Apparatus(For applied/experimental sciences/materials


based labs):

Operating System(Windows, Mac, Linux), GNUSim8085


4. Algorithm/Flowchart (For programming based labs):

5. Theme/Interests definition( For creative domains):

Much of the real-world information is mathematical in nature like the


count of things, measurements of quantities, etc. Such information
may further have mathematical relationships. In order for a computer
(digital circuit) to perform computing (mathematical operations) on
such information, it must be first able to perform arithmetic operations.
The arithmetic operations are the basic mathematical operations. Only
by performing arithmetic operations, other algebraic operations can be
performed on numerical data.
Digital circuits only understand and manipulate binary numbers. So,
the arithmetic operations can be performed on data only in binary
form. The digital circuits implement various arithmetic operations
(binary arithmetic) with the help of logic gates. The electronic circuit of
a binary adder (built by logic gates) with suitable shift registers can
perform all arithmetic operations. Before understanding how digital
circuits capable of performing mathematical operations can be built
using logic gates, it is important to understand how various arithmetic
operations are executed in binary form. So, let us learn the basics of
Boolean algebra.

6. Steps for experiment/practical:

1. Click on 8085 simulator version 2 

2. Write the program code on editor file window.

3. Store some input data at specified Memory Array.

4. Click on the option Assemble for simulation.

5. Write the starting address of the program to simulate option.

6. Simulation of entire code could be run at a time or step by step.

7. Execution results can be checked through the Register, Memory and


Device environment window.

8. Note down updated register and memory content value for


verification of result.

9. For instruction mnemonic details, click the Help option


#BEGIN 0000H
LXI H,3800
MOV A,M
INX H
ADD M
INX H
MOV M,A
HLT

#ORG 3800
#DB 38H,55H

7. Observations/Discussions(For applied/experimental
sciences/materials based labs):

It has the following configuration −


• 8-bit data bus
• 16-bit address bus, which can address upto 64KB
• A 16-bit program counter
• A 16-bit stack pointer
• Six 8-bit registers arranged in pairs: BC, DE, HL
• Requires +5V supply to operate at 3.2 MHZ single phase clock
• It is used in washing machines, microwave ovens, mobile phones,
etc.
10. Result/Output/Writing Summary:

Learning outcomes (What I have learnt):

1. Learnt how to use 8085 stimulator.

2. Learnt how to code in Sim8085.

3. Learnt to adjust settings of GNUSim8085.

4. Learnt how to add 2 binary digits of 8 bit numbers.

5. Learnt that H-L pair is loaded with 1st memory location.


Evaluation Grid (To be created as per the SOP and Assessment guidelines by the faculty):

Sr. No. Parameters Marks Obtained Maximum Marks


1.
2.
3.

You might also like