You are on page 1of 3

Experiment Title:LAB MST WORKSHEET

Student Name: Raghav kumar duggal UID: 19BCA1469


Branch: UIC Section/Group: 3/B
Semester: 6th Date of Performance:17/03/2022
Subject Name:MPI LAB MST Subject Code:CAP-356

1. Aim/Overview of the practical:Write a Program to add three 8 bit numbers and


take one's complement of the result of addition.

2. Task to be done: add 8 bits numbers using one's compliment

3. . Hardware Required: simulator 8085

4. Steps for experiment/practical:


Load the content of location 3000 to accumulator
 Move the data from register A to B
 Load the content of location 3001H to accumulator
 Move the data from A to C
 Adding the value
 Store the content of accumulator to 3005H
 Stop the program
5. Observations:

6. Calculation: LDA 3000H


MOV B,A
LDA 3001H
MOV C,A
LDA 3002H
ADD C
CMA
STA 3005H
HLT

6. Screenshot with result:


7.

8. Learning outcomes (What I have learnt):

1. Learning one's compliment

2.addition of three 8 bit numbers

You might also like