You are on page 1of 12

Addae ss The adloeos u t fe untdtmechonal

aturme ceol to trcanscC the mernorcy addre


ss orc porc
sort to memcrty orc 1o deuice
addaes S rtom mrcrtoprtocee
the
bData.bu The data bus trcesed to trans ken
mcotoprtocessor
olata
data orr mortmtton brdèrtectionatly rtam
to memotey or aleuices aml vic vertha
bug ts ue to trranskt
CCtrtol s The cantrtol
wrut,
contttol drgnal Tke memorty rcead,meno
rcte dantrostgral rory mter
o ead ,and t/%
to perort
ptocePSort
tomemory ort 7o olevtces
cctite. operai on,
reaol operaton , memorty
hnemor
memorty
operaton tenpecRvely,
lo ead & tto wr
c a n aluo be u2d to transer cmttrol stgnals
mirtoprtoce scort ike
an exHertnal devtmeto

rHertce operoctionorc DHA


Cantrcel danaloor
imtertoprtocersort ete
.
That's why
to rteRet a'
operaton
the conttrcol beug t brd erteetionak.

S085 Mtcto prtoce s sott=


the
The &b85 mp TS
an 8 brt prtoce score hang
ncdtcates at a
he databus ie &bèt.whtch
Jength of a ceeg
ce s ed ore prtocesse d by
be
8 btt data can
+ime
he soRS MP t
acdoess buys o &o85 Mp is tcbt

the lenqth e e eass MP


mempre
addre smA caparty od
means he
addrve fS ange
ts rcom oto 655g5
the
2E64KB
anol
to FFFF H hexadeetmally
ore o00oH
dectmally
adadrseAe
tos5 MP as the engh o t h e poret
Fort
5G bues and he mange t s o r o to 55 decinaly

FF H
ort O0 H tu

of 606S MP:
Recricters
The rteqtertt o&o&s MP arte devided rBo a groups

) general purpose rteort tert-

tiSpecxat purpoj reorista


G1s

emeal purpoge reqrtert


The enerat purpose eqrstarts arte ued o storte

the data ort mkorematio tomportascrlyoc goesMP,

( i 8 bct teqrstss
fy Reg, B eg , D Teg, HTtg,
C
Reg. E Reg, LReg (Temportary rag, Fag
Ragiten, acumulatoit,wk rt4 specral rregtstr
x cept acLl Hm porosuy neqetrt
w& rreq otas all cute aco ess tbXe
o h e wet ort prteqrammar
St1sy
oy
mporourdy

the MP to
e g t s t r t ts Umed m r n ally

storte 0me o the aperano


S.SS2s91syy
when an orethmetec ort loqtcal peratien
5 perkoreme d.

7the wtrtegisteres arte aljo Rmpor artty rteqrckrts


Can be wed fort Stack ojperartton
The tnsfruchomu
rteqis ertes ed to torte the
p cocle o the mstraction hetehed uy the MP krom
Tmemorty
Conttof

mt+-r nat bus


8 bit

in struuc Hon wKeg z2


Tume Flag
rgisHrt egtsher
Accumualatert gtsRT reg CR
DRA4
In struLHor HReg LRe
devder
S t a k Pointut
Cnd machne
ALU Cea Priegrmam
unte
en codring
potwen 5
SuppRyGND Inaunert
DAuremert
Latch

Tmng and cstrcsl unt

CLK Contrtr Stuhus OMA


RESET
Adess Acldaess
data but
ALE SSE 7 LD HCDA REIET RESET
CLK
JJT
RLdy RoR IN 0uf

A15- A8 AD AD
ARCHITECTURE DIAGRM
The opcode of an imsructton apually degcrtehe abou
c the mstrueton.
the apevvattan per oreme by
C brt qtslerts

The R8-btt neqisertt Can be partced to ortm 1Gbrt


can be used to Atore
teqskrs CAnc htt reqrs tercs
addrecS o an mstrcuuction.
he memorty

PRS Speerat reecqrsterc


Bc rte
DE reg
Stack pointerr 1G btt)
HL r prtereu countut (t bit)

Accumulatort tn) ;
when an arithmetic ort loqccal aperertion 7 perormed
ne o h e operono hould be sturted tnstde the

accumulatort @nd kmaly the ntaul ot the operatron


ts storceod Tntde the acuumulator

Staa Pomtr (5P)


4 ts a 16-bet rtegistert wed orc metraltzafton of
i stoveo
tacK memory and addresc othe dtacKtop
msido the dtacK potmtrc
prtocjoam Countere CPc):
can be ued
coutert 7S a lG btt rteqtstern
The prtogrtam
FOe next mshuckon to be exetteo.
fo hold he addre
ts o
mstrue ctioo orr
od the tarcting
So tnittatty he add vess

countue
a proqream i storteof msE cle the prrognam

Flag Regickre
The flag rteqrskut t e d to storte he curtrtent ttacts

of an arcitmmetec and logreal opevatisn) tis perekorcme.ol by


he oS MP

be caued as stats
Thte is bil reqitert can aldo

Regialere (prtogaro dlatur cuored CPsw)


D
DDy De Dr D D

CCarrty *a9
P- parttty iag
AC- Auetlrary cartry t1a9
2 2ero 5ta9

S-sigo ftag
a tsgenenated rom he rreu
Cartry Fóg cartry
tnes
artithmetc ort loqtcel op" ,the cartrty Hagoe
an
1 0thertwije o.
nerult a n arthmetie ort
Parctry ftaq T he
1 ' s , t h e NP
cmtams
2ven
mo o
onpemation
locrtcal eren paretty
and h e parrty
Conseder he rtuut an
contams oold
no.
rresutt
lcmes 1 nel tthe
tag
taa 0 as the remult t
become
the parcrty ftaq
t's ,

Odd partty.
care

Aux tliarty Flag-Tn an ? brt ope ration i a

bét to 5th brt ,the aueiliary


tS 9eneraitdtom th
frtm
fo L therte t no catrey
sct
.

i
Cartrtyla9

he yth to st btt, M**


Ra rreAetr as erto

when +he rtedAult od an artthmete and


Zerto Ftag
becomes 7erto, zerto glaq te aet as 1
ogeal s
eand ort noh 2erco volue
S t g n Flaq - 1} the MCB bet of the rtesult ti 1 ,the

NP Cnrtderts that reesult as a ncge hire nale and Hhe

Prgn FaA becomes 1 othutwrise the atgn Has becsmes


becmes .0.

e9- 5H
t5H

DD PsD D Da D Da

Tnstruc ton de coclert machtme cyce en coomg


Tms?
Thts bilouk t wed to cdecode he o puo de ót an

toreed mAtde he mstaacHon


rteartrturc to pertform
Tead
lrke read, memotuy r r t , 1/
memorUY
openatonA
Hhe detocltng mkorem ation
Ito wrutk cdependmq upon
h t s bloK tothe NP.
preticded by

ncrrement De CHement hateh


ued to mertemtt /deenment he
addnest Atorte
7 It ts

a s usetl
as h sta l
mstda the proqrram 'Csuntert

POTnert

Address Bur
8 ber
The addvese uttert c e d to rarry he hghert
addoe genenated by 8oss, mtcro prtoce ssor
Acldrets Data Bujbrt:
The adodvess | data buthtrc ts, sed to carry Hhe löort
&bit adldre cs tort btt datec
PIN DESCRIPTION StGNoc DESCRIPTION OF 8085 MP
YYYY

(5v)
31 HoLD
HEDA
$oD tLK OUT7
REE IN
TRAP
READY
RST S O
RST S
S
RSTSS RD
NTR 5 WR
INT A ALE
AD 2
AD S
AD
2 A1s
ADg Av
ADy A1S
ADs An
ADC A
A 1o
ADa A

As

4. AD ADq, t These. pms are Knouwn a addaess cem data


address durtmg
beueo to cartrty memorcy
bus p tnS: ean
c a n be ueoto
he machtme éy dle ane
n T statt o
durcmo the reeAt o
dota. bdrrechmaly
Carcry e bt
mchne cycl
he tots ahe br
The Ag-A1s Pms arte
wed to, Cartieyhighert
addrers dura
the 4 Stak o
16 ott
address rtom the
e,
he ha ohine cy
Scana) when the Tad operartôn ts
3.
3, RD (Read cotro
whethert a memorcy
by the mrcroprtoce s sor
petottme d
flo Tiad opèratan thR Sna n RD s lou.
rtend op" or

WR Cwrcte eortrol dpmal), when wreete opererton


petorded by the mtcrto prtocessor wethert he openaton
is memoty wrtte ott 1 ope'ra tion , he Aiqnol a WR

5.tM To/M when Hhe dnal on 1o|M ts hiqh it

mdicoutS 1l% Dperatton ts perortroed and when the

dcgnal dn o) } low Tt mdicades rmernorty perakon

TS perortmed

IChegh) Tlo opewaton


speratoh
0 Ctow) memory

The Aignat on S, S, moltcades


G. S So tatus deynals)
he Curcrtem tatus othe operoutton perttorume by
he mtcro prtocescort

2sToIM, S, S operatio

opcoole hetch
.0 Memoru TEAd op)
memoruy wrek op"

loread op
1wrcet op
Tntertrpt ack
X , , ' These pins arce used fo conneet a creystal
stal oscrllarbr
O3cflatorr to MP. The crty
the 8o15

neces artuy ery staletny


tor
wid to prtoduee
the crstal e e n y
&o&S uP ane mtercral
ddvided by to prtoduce the optacrtin rtegienty
oF tO6s AP.
ore the clock requuney
The clack frcequenty of &os5 P 1S 2125 MHZ
uP ts 6 25MHT
CrtyHal frregmenuy of &o85

of o45-2 is 5MHE
The clock frtegaenty
1S
1o MHE
ere tat frtegAt nty of tos5-
r
T ts a clock 6ulput pTn o f r o s
8CLOcK OUT
devrces to
o the extertnal
can be act as clocK inpt pin
neces a r ane ctock outpurt fre9uery
whtch clock mpuct tp

o o AP tf same as that o the operoatiog treguery


clocK frusenu
RECET IN TE Xow,
when the ignat on he
RESET TN
t
fo be eset means the data
e to8s P gomq
arte
dtod Tmside the enerce purpaAe rtegtztrts
tarttr rtth 000oH
addoe st o the Pe
rased ane the
R£SET OUT can be used to
to, RESET OUr The Atgnal on

0R Aet Jorne eutertnal devices t neeeisarty

INTR mHertrtupt oemect)

mtertoprtoc So
prtovicle d
rt
by the
Inerrwpf is a acitity
attntton of the P
a n xtertnal device sdo that he

can be divucted to do Aome hegh prroretty Job.


mterco prtoce stort duperrt
when mtertrupt occuL , the
derivice aihne)
the Crcent job then he TSR (Tntertreayot
inbertrtspt. s ertvrce rteest s
ort a poag tiulart

exeuke
T Overc, the AP q
when the exeeuton oF the PSR
rte 6umt4 its previou fob
when he Argnal on pNTR pin i kogh t ncicate
Trtrupt octuurt ort D&s P
qeneratty the tntertrupt artto 2 typu
a Maiable mHrrrtupts

bnon maskable mterrupts


T h e mterertupt whtch.can be anorceol by he mtrtoprtoetso

and whih can't oe norted


drte mas kable trturtruupt
oy he HP arte nm masK alolu tertrupts
TNTR tS a maskable mterurupt,

12. RST %5, RST 6. S, R$TSS; These tertruptr arte Knasn

vectored maak alble


tMturruupts.
as
The rectored mterruptr means he totertrtupts torr
which ne membrty addses o1SR, arte ted
BTRAP: The TRAP Knoion as he only non maskable

rectored mtertrupt o &d8s AP T oceeurts can't be


7hortec

14 HoLD This TS Known as DMA HAqueSf pmof tossup.

HLDA This ts Known as the DMA, acK pm oF &085 LP,


15
DMA Operatton
DMA
Cck Acddarss
Bus
P
HLpA
HoLD

DMA

durce devree memorc

Potabu
The DMA operaton is appltca ble when a lortqe amout
o data ort butk ameunt ot data ts to be hon shertd
an
6 device
to memorty.
rtam
o deice kends a DMA reamest Atgnal
Inittally an

startf pM0 operation


the HoLD Pim) to h e uP to
(to to
Aends ack ATqnal
Drteturen the mterroprtocesso
P and the HP
the o detee to-he HLDA. pTn ot the
addrSS bus
the data
bus ,
overt
releanes the cmtrto|lerç

contrto) bui. betoen


ocouirtA dttcectty t h the mernoruy
Then data trtansert
bus ana deta bur.
e Tio dee by uim e addsess
when 4he data trton ster threou DMA over ,h HP
bus address
tti Contrtol overn he data ,

a g e rtegrone
us& ntrtol ous

enabke ) the stgnal t e ALE


6 ALE (Addhsess lotch

he latch Tc H343 durcmg the T state


uged to enalbe
addressom h e
to katth +he
ohe mach ne Cycle
datakud AD,-ADq
address ww

Tt t Koon as the mtrrcupt acAtanat o


INTA

18 READy The Atgnal on vdl. pm is ued to Kynchrumat


4P a slouwert /o deurce
an T/o de vriee wch the

ts Connecheel m he P ouw
an o
, t t cndi cater Pm
o h e the Aignal on READy
devrce is not reeady ort aot 8ynchrrontsadtort the
data

tans t with uP
t t mdieates
he he segnot en e READY pm t rgh,
he dao
a slstott /o devi ce i Aynchrrantsed to tran 4
dala t h the uf.
Ottady to Hrcansert tne
aste used or Kerial dato
SoD, SID These prns
sSTon one bil at a tme
drransmT
data
Sertial output
SoD-
StDSerdat tnprt data

D-18/13

8085 Tnstrauc-tton Cycle


comroond qen by
Ohstructon-An
mstruuchion tS a
rreth he
hunert fo perto rem the pecikie fosk
g n data.
can
ts a n e d of msttuucHons
A*prtogrtam
PRogrtam- mcrcoprtoth 1sort
mtcrtoprtott150r.
by the
uurteally
be exeuuted tmstruuthor uycle it dided
The &oss
nstructton Cycte :

partty cy Fetch ycle


Executon Cayclu
m the opeode
in he feteh cyc on
1) Feteh Cycle mteroprbcestorc
m.struuetion C a n
be fetched by the
oan
t memory.
ycte the mecetoprtotaitor
futth
I n he beqion mg of the an Tmetruction
address
wherte he opcode o
he
memory hrtough the
gtnecates
be urd to h
iAtored ond
can

address u s
mstruucion whrich t fethed
Then the opcode of he
to he mstruetn
Can be freansuced
um the memery
the p to the data bus.
rtegistrt by

You might also like