You are on page 1of 10

EXPERIMENT NUMBER –3.

STUDENT’S NAME- SARBGUN SINGH


STUDENT’S UID – 20BCS5137
CLASS AND GROUP –B.E. CSE704 B
SEMESTER – 4TH

Subject Name: Microprocessor and Interfacing


Lab

PRACTICAL 1.1

AIM OF THE EXPERIMENT –

a) Program to Find the smaller out of two numbers.

TASK TO BE DONE –

Find the smaller out of two numbers.

APPARATUS/SIMULATOR USED

1. Jubin Application 2. 8085 Simulator 3. JDK

PROGRAM CODE
Result/Output/Writing Summary:
PRACTICAL 1.2
AIM OF THE EXPERIMENT –

b) Program to Find the larger out of two numbers.

TASK TO BE DONE –

Find the larger out of two numbers.

APPARATUS/SIMULATOR USED

1. Jubin Application 2. 8085 Simulator 3. JDK

PROGRAM CODE
#BEGIN 0000H

LXI H,2000H

MOV A,M

INX H

MOV B,M

CMP B

JNC 200BH

MOV A,B

INX H

MOV M,A

HLT

#ORG 2000H

#DB 12H

#ORG 2001H

#DB 22H

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. Operations of 8 bit numbers.
5. Learn about the different instructions that are needed to be given to the memory to
perform some tasks.

-------------------------------------------------------------------------------------------------------------------------------------------------

LEARNING OUTCOMES
• Identify situations where computational methods would be useful.
• Approach the programming tasks using techniques learnt and write pseudo-code.
• Choose the right data representation formats based on the requirements of the problem.
• Use the comparisons and limitations of the various programming constructs and choose the
right one for the task.
EVALUATION COLUMN (To be filled by concerned faculty only)
SUBJECT NAME - Problem Solving with Programming Lab
SUBJECT CODE-20CSP112

Sr. No. Parameters Maximum Marks


Marks Obtained
1. Worksheet Completion including writing 10
learning objective/ Outcome
2. Post Lab Quiz Result 5

3. Student engagement in Simulation/ 5


Performance/ Pre Lab Questions
4. Total Marks 20
SUBJECT NAME - Problem Solving with Programming Lab
SUBJECT CODE-20CSP112

You might also like