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

WORKSHEET – 2.

Name: Kshitiz
Section/Group: 717 / “A”
UID: 20BCS7311
Subject: Microprocessor and Interfacing Lab
Branch: BE CSE (4th Semester)

Aim:
Finding 1’s complement of an 8-bit number.

Apparatus / Simulator Used:


1. Jubin Application
2. 8085 Simulator
3. JDK

PCHANDIGARH UNIVERSITY MICROPROCESSOR AND


INTERFACING LAB
Algorithm / Flowchart:

1. load the 3011 location data in to accumulator

2.Complement the value of accumulator

3. store the result of accumulator on provided memory location (3012)

4. stop

Code:

#BEGIN 0000H
LDA 3011
CMA
STA 3012
HLT
#ORG 3011

CHANDIGARH UNIVERSITY MICROPROCESSOR AND INTERFACING LAB


Result / Output / Writing Summary
Learning Outcomes:
1. Working of microprocessors.
2. Learn how to do mathematical operations in microprocessors.
3. Learn about 8085 simulator.
4. Learnt How To Take 1’s Complement Of an 8-bit number.
5. Learn about the different instructions that are needed to be given to the
memory to perform some tasks.

CHANDIGARH UNIVERSITY MICROPROCESSOR AND INTERFACING LAB


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

Sr. Parameters Marks Obtained Maximum Marks


No.
1.
2.
3.

CHANDIGARH UNIVERSITY MICROPROCESSOR AND INTERFACING LAB

You might also like