0% found this document useful (0 votes)
18 views13 pages

Microprocessor Lab

Microprocessor Lab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views13 pages

Microprocessor Lab

Microprocessor Lab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Name:

Faculty 3000 H RAM:PRO G 8085


DATA COMPONGNTS OBECTIVE
So08 H 300 3006H
H 3005H 3004H 3003H 3002 H 3DoI H ddre A ofre
Name..saan..hattachajeeExperimentNo..
Poyorm
2050
GlvEN -
Kmicro
eCesor
y pro
ardREQUIRED
bo -
20 50 3 addition
+6
2. 3ECode

+váming 8
Mnemomic · bit
ADD MVI B MVI
HLT 2050H
STA
mun
A
ber
No...2.1013A).S5005
Roll 1
Date..o202.3.
Reswlt
Sign.
Date
with
SDH 20
Tn Comment
operahon Halk e reuh ore S
tore s
Experinund- 1(a)

obiectve Pyorm additon 8 b4 munmb u


and
Store Q050H

Compo nents Reguired


8085

FJowchert
Program
Stat

Tnput 4st no

Ihput end

Addiion
two umber

Store the swt


onmm
Jocabo
of

(stop
Experiment No. Date

Roll No.
Name........s**
RESULT
20 50 H 09 H

Faculty Name : Sign. with Date


To Petorm Aubtracion
nu bers
and
Store 20 50 H

Compomunt Reguid
tenprocuor tenia kit,
yboard.
FJow chat

Start

Input 1st No.

Input and
No

Sub tacti on

Store the
Msult
loeaion

Stop
Experiment No..1.b). Date 19..oL2.Q4..
Roll No.NO)321.55.006)
Name ..Sayan.Shattachajee
O 3JECTIVE -
To sbractfon b?t
perform 20SO
numbers. Resut Store in

COMPONENT REQUIRED -
80 85
Loires
rnicro proce ssor comnecing
Kgboard
PRO GRAM -

A DDRESS CoDE
MNEMONIC CoMMENT

3E MVI

2001 H

3 002 H

3003 H

3004 H
SuB B
3005 H 32
SrA 20S0H
3006 H
50

3007 H
2.0

30084
76
HLT Flal
he
operaharn
Faculty Name: Sign. with Date
Experiment No.. Date

Name Roll No..

R5 SULT :
hi ven ML3003) 03H

Ouput M [20s0J = o 3H

Co NCLVSION -
Thus the do subrat hwo
bit+ nunbers eaeted,

Sign. with Date


Faculty Name;
Flowchaat
(Stant
Tahe the
data

Take the second


data

Add sthe cat

Convert
decimal

Store the
Jt
Experiment N...2. Date..3.6.l942D43..
RollNo..2.0L341.5S0951
Name.Sayan... hattachajee
9 BJECTIVE -
wite
program to add BCD'S n um ber

SoMPONENT REQUIRED:
3085
uofre
mîeroprocesor
Kejboard.
Connechng
DATA hiveN -
[30013’09
PROGRAM :
A DDRESS CODE MNEM10NIC COMMEN T
3000 H 3E
MVI A
3001 H
3 002 H
O6 MVI 8
3003 H
O5
t3004H &0 ADD
3005 H Convett
DAA
3006 H 32. decirmal.
3007 H
STA (R05S0 H)
50
3008 H
3009 H 76
HLT
Hall Hhe
opera hon
XESULT
[2050]H ’ 14
Faculty Name: Sign. with Date
Flow chat

(Stoot
Take he
da ta

Take the se¡nd

Subtract the clota

Convot the ut
deina!

Stone theut

Step
Date
Experiment No....2.Cb)
Roll No.2.I9.).321.5.500.S.)
Name.Sagan...hatashagee
OGJECTIVE
Wite Jo Subtrat
num be1
a
program
COMPONENT S REQuiRED
8085
mierbprocasor +coäring kit connecHng
oires
Kyboard.
PROGRAM
A bDRESS
CODE MNEM DN ICS CoMMENTS
3000 H 3¬
MVI A
3001 H
3002 H
O6 MVI 8
3003 H*
O5
3004 H
SUB B
300 5H 27
DHA Convert resulA
înto decimal
3006 H 32.
STA (205o H)
3007 H SO

3008 H

3009 H 76
HLT Halt the
ofpere tion.

Sign. with Date


Faculty Name :
Experiment No. Date

Name .... Roll No.

RESULT
hiven MC3OD]- 0H
M [3003] = o5H
Ouput M[2058] = o4H

CoNCLU SION
ThUs
the be
mumber.

Faculty Name : Sign wth Date


Flow Chort

(Stat
Enter a 8 ?+
mumbe

Complement the
mmber

add no. 1 în
the

Store the Tewt

Stop
Experiment No...3 ...
e.L0L05/ao23.
Date

Roll No..219)3215.50.0.5.1
Name...s.yan... Bhattachajee
OBJECTIVE :
write
assembydon guge Program to
tjnd Comp lement
CoMPONENT REQ UIRED
8085 MicroproCesor
otres and tralntng it,connecing
Key board.
DATA
2500 -05
PROGRAM
ADDRESs CODE MNEMoNIC COMMENT
Load Conten k
3000 H 3A LDA to accumvlator
3001 H
3002 H 25

3003 H 2F CMA 1s complemut


300 4 H 3c
INRA inerement by
3005 H 32.
(24 complem)
STA(50lN) Store data
3006 H acturnalal

3007 H
3o08H 76 HLT Stop or
temina He
RESULT Pgram.
M[25o1] ’ FB

Faculty Name:
Sign. with Date

You might also like