You are on page 1of 22

KEC -502 Micsogro cLaac ancl Micro contie

Unit-i
Jncthada elion to licupro claso
Micheproclesoh arckik elare and it
a

Comue atto ngun as tle.


mutipunpode
progjaable .clock orisen
lorage olurce ealled
ondes
qaeahied tack dinaun
Von.. Numann

hiit
(ALU)

Conel hit
CU Cuiput
Arithacti and Logio it (ALU)?
ALU

addition Adtiactin, anettijaticalem


dwitigh
NAND, NOR , NOT eto,
ma part o ALD
detow:

Os amit Adder

harsre duice
Aloes hata
Can Alore n- bit data and
Compti il have

dala

Aceumelo?
gh hieh caleulaloy
data colais MBR
Jat read
tha ee addrls MAR (MBR)
eol GerelLpy
Rund/auriti
ite
aaed whicAasdreus,
eaocaled ach
hanalem
ead Word pasicaa
Meuog cauCan s Randou
ti ealled
ma
Can Werd mnit ne
can Weuel ONerd. called
a
dsbucipw
Many
daa
mcember
awhitie
ALU opnt uulial Addr
anoller elored
dala deta)
- may ojrand
Memoy ddheo

5o0
Bo1 04
(MAR) 503 o5

|Memoly Buer
Rge (MBR)

nebu otis fom


te

Jmetucin Cotioe Conbo


nit Siymal

/o dvi ce ktotm
clate'
The
egi ALU o
Cenho
4clgns ALU J/0 dvces,
addheas
memey and is
dring he xeCution . he biuctin
alsaction
atores

avol

Ceutrtl hict

atweln dicode

Catisl Aigynal
fnsbuclion Enaution
1. jructi Feteh i.e. puadig sb esuclios
2. Execule

eala etch eyele


.Rus Avguclos
Couthol ant Cetaiels o a tetcA
and
feeeh and metucltn eyel

ahaclien ycle

feteh
Coutro
eyole
it otlain

2 2.
decoaed. pifoel
3
omanipulatio,
al est to t 1/o
Slih go8 55 mieoceaag

umelalen (A ce) i.e rgfaen A


8.bit ac
L.
B,C, D, E, H avd
J6-bit pouth, SP.
stack pomtll
J6~it Thaganm erinler, Pc.
regil

ccUMVLATOR,

ANtlneti
pesult ay

Ameidte,
GENERAL PURPOSE REGISTERS.

Ae B, c,DE
daba two
H and esukmatig
B-C, D -E And H-L
H-L

PROGRAM CoUNTER (PC)


16- kit p cial peoe
addhlas

mtucley

t
dibuctun

mert vethucl
STACK POINTER (SP)
cial fmction ugie
but a RAM.
thoe
Coubsy
qddres Ka Lap eleneut
táck

abuclom

tuclten tohieh de cosded aud

Rsaocuted
ued
Qitletie |Lez cal

Ledet
iet,accoldig
qritlnett lege cal cjoeraton o

Cay
Zro pag (2)
ndical O,
ata and
and Addtes Be

data w 8-it aide

theenttod elle

16-t vide
kit)
tte adria
the addrtas ks
Ae to A5)
Least
addes
AD, ADP ),
PIN CON FIG VRAT J ON Of JNTEL 085

40 Vcc
X1
39 HoLD
X2 2 1 HLDA
RESET 0UT 38
SOD 4 37 J CLK (oUT)
34 RESE T IN
SJD

TRAP 35 1 READY
RST 7.5 34 1o/M
RST G.5 33
RST 5.5 32 RD
JNTR 8085 A 31 WR

|NTA 30 ALE

ADo 12 29 So
ADy J3 28 Aj5
ADa 14 27 Ay4
ADy 15 26 As3
AD4 16 25 Aj2
ADs 17 24
ADe 23|J Ao
AD, 19 22 Ag
20
2 As

Ag adres kus
(MSBA) aderey 9-bits
addre
dueal
addrea

dela.
elock
Qnd Slatins
Aiynas.
ALE Coup): ALE ands foe

addseo to danekeal eitle datcked


eithes

Auice.

Sor tatus
Status
S S
HALT
WRIT E
1
READ
1
1 1 FETCH

RD (output): RD Agnal to conitt


READ peaeen, uten it
s ead .

WR WR
WRITE
data
Jo. locat

READY ((Inpd) # is
data

READY Aig

HOLD (INPUT) HOLD diati that anies


dini ce tie
addrles anl data' ks.
HLDA (oUT PUT): HLDA a igna fol.
acknowledg lntnt hicth tiicatis hat
HOLD
HOLD
hayert ae HLDA goe)

INTR JNTR
it has
INTK
diabko
INTA (Cug): INTA

INTR
RST 5.5, 6.5, 7.5 and TRAP (Imtt
eeognised neat tucli
o calo A

Lne Localisn pom otich nect


Lnatucltn
TRAP O024
RsT 5.5 O02C

RsT 6.5
RST 7.5 o63c
RST 7.5, RsT 6.5 aue RST5.5
teugt, lna
ulity mell .
RST 7.5
RST 6.5
RST 5. 5
JNTK (ne sii)
RESET IN (Iaput):
coner (Pc) oto 0. Jt
enable HLDA ylspb. CPU ej
Jueet Cendy RESET dt

RESET o0T (Opt) RE SE T OUT

Clock

X (Aput): teaninals
Connecled Aatenal
de
putable. ock fo
CLK CO ulput) : clock oulut for
need
code p
called
Amatuyel
ane eode) (Oenalion am bpadu
An
nti Covtans
turo matelieu eachh
Opeamds ana Opeod
te. MVI INR, RAL, SUB, DD, A
TA, S , DAL
VI, MOV mieeoccsse poo5 Jntid
tioy Lone data ghn
&085
VolS +5
Pote
alaut. Aeral
datn a
soD (Outpt) sOD
for line
RIM
oh it eweulh e talorded
data
SJD
dala to Qud Called

jheand. (o dara) guen


Auch J6-bi data rbit
addrln
alo

dyetal eompti aunderstonds


etucn ntin
coda) eodey

g085 Anatucim a

1. Once buh bietuelisn,


2

hnauction
1. nethuclaon
MOV A,
A. bB- Move tie cortant

BDD B Conlnt
ti e acccmelale
ne
Contain
Jufenaln code
atmchon
avo
dala addhes
E. MVI BB y O5 o5 med to jga lo B
05:
O6, 0; MVJ B. O5 h n e
toim.
MVI B
05 to dta dCh
ugton B
dsuction

16~it data
J6 addreeN.
Ez. LXI H,24co H;
with 2400 H.

21 , 0o, 24: LXJ H 2400H ta


Code .

e Tuclien LXI HH, The eCone 00


dala (2400 H),
mhi eh
24 MSBA B te dela
(24-o0 ) whi'eh loadeo ito JuglD H.
autucien
aethutn
Stant

Felch ta mt dnatiucn
Fetea cyc

ercoole

Eaeti netuetion eyoe

pusmed to fetca ituc

Calle o

JC fustwcln Cyele
FCo futeh Cyce
Ecui
Cycle.
fetek cyle
JC- FCt EC’
hatiuclion ycl
t

addrl o e
avilebee

lala it to
CPU.

takes clock cycln


tne

cod
to dala nti and tia to
pntucltin gito
to awhich

duatueton Ceancuti
d sdeo,exclien
ton artito a ead cliiefech,ana Cynatidatoy
toOut
ycle Cauigd
deriee
to out cahiedl
yde Vackia
duce
ustiad addre
ucaed
ad a data
to has CPU
data Contans
Riad
boh.
Rutetio
opralion pofone
clock eyce called
T- elale. phort
tat

me cledarw elips casiol out m a


Carl e.
Buch cal hpnesutatin b. calld
di ngianh .
ad, mbu
diy cld holow,;

Auig diagau fo'r code feteh

CLK

S, So
IP,=21 |H nspecifiid
A_

ALE

AD
ADo
ra,-054
RD

You might also like