Microprocessor Lab
Microprocessor Lab
+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)
FJowchert
Program
Stat
Tnput 4st no
Ihput end
Addiion
two umber
(stop
Experiment No. Date
Roll No.
Name........s**
RESULT
20 50 H 09 H
Compomunt Reguid
tenprocuor tenia kit,
yboard.
FJow chat
Start
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
R5 SULT :
hi ven ML3003) 03H
Ouput M [20s0J = o 3H
Co NCLVSION -
Thus the do subrat hwo
bit+ nunbers eaeted,
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
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.
RESULT
hiven MC3OD]- 0H
M [3003] = o5H
Ouput M[2058] = o4H
CoNCLU SION
ThUs
the be
mumber.
(Stat
Enter a 8 ?+
mumbe
Complement the
mmber
add no. 1 în
the
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
3007 H
3o08H 76 HLT Stop or
temina He
RESULT Pgram.
M[25o1] ’ FB
Faculty Name:
Sign. with Date