0 ratings0% found this document useful (0 votes) 51 views12 pagesMicroprocesser
Here is the hand written notes of microprocessor and microcontroller
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
8 Bw Dinowam Or Bogs :- a 2°
Ss |o 40 20
Serial srp——_ SJ ut ve ws
"TB £0095 sop ~ 4 | (I
Hyh Orden
ay © Addwes Buy
rpat——6 s
eer 2 __1,
gers __B
pereeé___1,
intone
INT any MuHiplexed
pak 44908 / Dale
Bi
Beterrall =
‘Taitiate
4 30
WAR ca perc, ENS & Fe Se ae
a {>
HOLD a g& 43 $0 Comtst! and
RESET 1¥— |gsO0Aa) ne és Status pee
Fe — LO/s
Gp? pra <1. poe
- ALDA «38 | 31
aaete j-3——>m
3 ot
Reseh CLK
ouT OUT
® Pw Fonercor Or 80
ADPRESS BUS :-
AB=Als 2 Tht B-linin represerds hil- Ovdey adds a 16> bib addres «Td
fines ave. unidirectional output rpom 8085
AOe= ADL t “Tho B- Lina represent Low -exdiy addres bue a9 tuell oo Te
Data bur + During tte earlier foot of Cyl. ie used 09 low
cd det ing it is
ee eae ee oO acca A areCompo, Do Srmve Games 4se82 :
M18 (Addres) Lolch Cnable)t “is io ad Oabral pin f 8085 chen Boss Buty adden
informaton. om Ade- Ady Lines, ALE becomer 4, Shee
BOBS uh dade on Ade-Adz finn, ALE become 0.
Se.8h. tis too Afynato ore output given to 8086-
Ves: % :
ce Threyk Hes Lin Grooend Conmecton fo (iter 4 08s
ae an “Tem “too Ling a Caystal to Gomected «tte BUBS werk
ene a Srequancy half 4 “tes. Caystat freqeceney +
CUE QUT: Tis fo om eutput Pin- from tits fin a Clock Bimalo
fo available. =p. Prong d Feds Clock, Aimab fo eguck
to His freguene] im cOheL 8085 iy cooveiy Veta Ptr Can
be ued to are Clock Simab to ottid deviceo +
Eeemmnsy Tertrarey Sages , Treuwoney Tereadpers t
REARY? Toto fo om active. AyL imput fin When 8085 Perfrma deta
chansfer wit feriplerl, that ttm, Peripheral Send 1 ‘trey
cts Lint, gurl bere ta Alart cf dota transformer
HOLD? Teds jo an active. hgh inpub fin Hooyh tem Lin BOBS an
ravers a DMA vequrt Ajyrab. —
HLA? This fo an achive Wy rac Lin. Troy h tus Pin G08
Sends a BMA acknowledement Agnal-
ie“TRAE! “Thule is am active, hye inpul Pine His veeives a non marke
able paterrupt +
BLISS, 95: thee ave active hipk Inpul Pina - throw
BO8S wecetves interrupt -
“This js an active high input Lin +
ss weeedven pemeral Leinpdse. Intervupt +
Fortds fan active few cetpub Pin Hoye tel fin $08S
Send acknowledement Sfmal to that davice , Wich, hon
Aemt om imtenrupt cHaoyh- INR fine»
RESET? “Tata Can be ued fy aesed ether device +
RESETIN : —ttlts fo om active low input Pin» Coken “tus Shnal io 0,
sapre (0 g Gus becom 0, TW bus ave ioted .
Goss io vesef-
IT? Teds fo cn auctive. ih Oudpul Pin « thin tals Signal
fod, i+ fadicates Hak ter £085 fo boeing Reset =
Seer I/O Ports :
SIDE Tus fo cm tmpul Pin , through “bts Pin Boss receives
the Ling
s feweugh— fuls fin b08S
heriat data-
4003 "Tee is om oudpub Lim, Hrreigh “this fin 88S endo
eniak date. y
® Asor Reeisters Or S08S>
Ge hoo eipht ‘B bit vegistora 2 A856, 0UE PL HLL amd -fua0 ‘I6" bit
vreiiston “8C) od ‘Sf. The vegistova Cam be clasified op —
© Geneva) Lurpose Registra: 6. C,D,£,H aril -
DTermperany Registootm Tempercay aegis © W and z cigistors -
© Specie) Purpose Reyistr: © Accumulator © fi rajisters
® sixten vit Resister » © Insteuction Register:
. Z bit Resister: © Lagrean Counter (20) © Stack, Poinler (P) +
meal Luspose. Register: 2085 hao 6- ered Lun port. vegistest
8, C,D/F. H omd L yeaol to ff 6 bit i
wer “that fo Hee On d $~ bi i are. aeceibh. to tte
Cael ee n be ured in Progrcrmint + B-c, Of, HL
am be used 09 I6- bit yetirter.
Aecumulator : Tex accemulafor fs om be bit repfoter , hab is Pont
of Hes avitkmetic/ Lote mil I+ is a Apecia. L&rpose raister Te
vaivler fo uned to stove B- bit dada and th Leafrm arithmeticand Ioleal Operations - Tt” aesull of an yaboter Cperation i
Pee gee aie $ ‘4 2
LH Shows to. Present
Play Register + St in cam B- bit register
Stake df 0 Lroprenn , BOBS flay aeyisten Ceortatna sffy
“Ite bit Position for ten «flay? fon a rregioton fa —
|
De [os [ | Ds Da. Di [24
© syn cll @) + Im
aY
Zz AC | ? ei
an cnithmedic ov leyicel operation» if ttm
result fo Gre) Tan 24 Get), orthunalse” 0 Gresel)*
2 Rex fly (Z): In an oailRmedic ov Iqyical operation »
i) O ttm Z=4 Get)» Offirwbe 0 Geet)”
© fuxilery Corry (Ac): $n on catthimetieal operation Uf oemlet
Cam] fo Produced “Ilan ac 21 (Get), eters © (reset) «
® Lavity fhe @ : Sr on caitthmetic or Laytcalegeraion » if even
fority 49. Produce tum ged Gel), OTanwise O (eset) +
® Cony fb q&): am cartkmeticaLl Operation , if Cony f
Produce. ttm Cy='t (Set) , Ottwrevise 0 freset)-
Instructon Register: Gshen én struction fo feted from tes
SE His Waded fn cts Inbhuction cwegioter
Témprrory Reyister: Te ALU hoo foe snp sone pom Te
acctemulator ond ettur cpom tempovor] dota eater pape trop
mmer Cramet access fils “tem Povo dado. geztoter. Te. W and z
resisters are. tuned to hold 8-bit tes duevige--execection of Some
inbhuctoro 4 and cae. mot avallable for Lagyrammer:
Bryram Counter Qe) ¢ frrom Courter hylde “hs addres,
CHRD, tos first byte f Toe net fowtractgn oo be etek fo
exceuhon. or tts saddwnidh nem ote. iH a multi byte f
tion ubich hoo mot ban Completely fefedtd «
stack_ fointer: stack Pointer fb & Rpeciak Purpose ese
iter In ctte Microprocessor, hich hola ter addves
¥v
“sb gf tre. stacks
i 4 aesult[ Aecumulatey [Pg Regier |
é {e, ¢ @)
D (8) z oe
E e 2 @
sdack Potwley (BP) ae) |
Laroyrom Counter (Pe) 16)
anand - Add tt Bue
8 r :
ee
Unidbsecliowet)
Bidivectivnal
® Bus Srvewee Op BOBS:
| :
goss Memory Tnput
Ocet Put Real
ww | IT] a
See SLD CBUS b>
I L
st earl Baa. A.
TS Bio Shuck L085 B Comsish Hier type Bua
‘thu ave —
© Adrarss Bus: Tt addoes bua fo agvoup f 16 Lento
Aererally identified 09 Ae te Als "Ths adders Lous ia unidévectional
bH flow from om. direction ‘MPU’ 4o Peripheral devices. Jn a Computia
Aystém, éack memory location. is Identified by a binavy number
Called an address, aid tw addres bua is ured to Carry a Ih btaddres This to Similar to 1H Postal addves 6f a howst--
@ Dara Bus: Tes Data Bus fo a group 4 ait Lin) wed
for data floc Them Line ave eee eee cate, flow in bot
Litveclion bedaen ctw MPU amd rmemury and Peripheral devices «TOs.
MPU Uned the date, bus to Lerform to Aecond -fuachon + trams ferig
binary dtzection infrmation: :
@ Coren Bus : “Its Control bus is Compatsed of it Ait
Lima that Corey Aynchnonization Ajgmals Ths. 142U uneo Aval- Lr
sto Revfrvm To thivd —fenedion : Providtgy tinny Siynab. Cordrol Bua
fo’ used to Comy tts Control dinate Jitter” pnfur , Selet ef:
@® Avoressina Meoes Or Boss :- ,
Bock -frvstruction. vequiren Cevlain data on cohich i+ hoo to
Opevate.- JF hoe already been nfl aimed Hat cthuve ave Venious Tach
miguin to Apecify clata for inwtwetion- That cteekniguia ave Called
addveniny amodto + Sntel Gog Lier Teo illewiny addyesint modve —
OuDirect Aldventys Gates mote 4 otal “tte odsveth
J te operraned (ofa) BS yhen in Tho tansfructton Hsetf+ Like —
STA DYOOH > stove, “tts Comtent af accumulator fr “ta ameme-
YJ Iocation= guooH ;
Te tis instruction QuO0H fe Tes memor) addrens there.
deta fo to be stored: Tt fo given In tte instrection itself, Toe
Qrd omd Grd bytes f ctw mbuetton iApecity te addru gj tw
mmemny focation. Here, tw Rowree f te dota qeeumnubater +
: @ Register Addvewiny: In Register oddvewi mods. “te date
9 im ome F Ths a Puxpsae resintern Ths opcody Apecifiea Th
eane 4 Ae register tn addition 46 “ts operation fo Perrfarmet
MOV A.B Move tum Content df rairter 8 to vgter A.
Tn tis favhueton he. Opeode for Mov A, @ io 18H. Beside
TTts Operation to be Performed “ttr Opcode. also Specifies Source and
destination aejivters «tte: Oped. sit Con be written in binary
9 OALLL000- The first too bit ol are efor MOK operation , TH
ment Thee bil 441 ave te bot fal Code. fox register A and tw
lent three bite coe one. “tts biniéry Code for aesfotor 8 +wv
@ Register Indivect Addvesinrs Dn tas amode ff addvessho)
Mts addves Gf to dato fe Specified by 0 vpfoter Lary. Lrke—
LI H2$00 fl Load H-L fatr with 2gc0H
MOV A,M Move tex Content é memory location what.
addvess fo fm H-L Baty fo ter aceermulatoy »
ay flatt .
5 Gn te above Pooyram the Instruction Mov A,M fs an exomnplt-
f veioter indirect addvbgine» Pov Tha nhucton tue dota fo inte
emer}. tw addres of menor} fo not divectly given in To
fovbuction Te addvess ef cha. emmy vesidiar in HL Paty omd
“Tis hos alveady Geen Apecified boy an €arrifer fnstuction fn Teo
Latyram + .
@ Immediabe Addvewiy-; sm tnntiiate addres modes Vo.
dela fo Apecifiod wiltin fle —
MNI A,0S + Moye. OS in werbterran
Ty tats fmyfuetion “tt dnd wyte Apecifin data.
@ Implett Addrentor: there cre Certain Instruction cohel.
Cperate- om to Comte ef tor accumulator. Auch fmyhuettord do nat
Degatre “Hes addres of tur data. fie cma, RAL, RARLH-
CMA, ASA (HS Complement)
© TW
we Etswwersue Ser Or Qogs :-
An imatruetion j> a Command piven 10 “tex Compute
” " i puter to Lerfor
Tne Apecified operation on given data «res instruction Sel (f Mie
dojgred H Uae feueeticn 4 tux ffuetions HRat te anleroProceyor
fempirye. ie ie eos do peer Com write a Bayram ty aisembly
: TE inyfuttion. “Hine imitrwetion have bean Clawified
Ito tes Fallawi fue
4- Data Transfer Gooup.
2 Aaithmedic. Croup.
Bs Logical Granup .
4 Branch Control Group.
S T/0 amd Mach Control Groupsdala from jal
ors. avyiotor to anette agtoler, from memor) do raiser
ov faster +o nae » Come Under tif gr Lik} POV, OWT, LT,
LOA STA cte- Pramplte oe: — :
© MOV 15% (Move “tte Content of orm register do omotbaa )
Pill)
Sleds Y , flop: monk. , Address
Ter Comtont tf vesistes a5,
instauction mov 4
Hoss foe to.
Clock. Period
ort vepister , Macho Gyles £
i> moved ty ve a Fir For -examnplt., Tes.
18 comes tte Content ff weston 8 to veylsteard «Te
execution stole fvfiuction ix & Clock Period «One
fo Called Alate .
No flay fo acffected «
wm (Move tes Content of mamer] to register)
CSU] stators 7 flge: nore , aug ayptes fodivert, Moyles 2
@ MNT M.dola (Move, immedtate, dake! te anermeny:)
[Dr t< data Mates 40 ffye: noms, Adchessy + immediate hy jnndive ts mye
@ STA Addy iar
® Mov y,
Occemulator direct
(Ash ]< Al Shatoo: 13 fe: mers. » Addversines divert , Machine Cycles 4
© rete — (Brekene ter Contents of HL wit 0-8 Lav )
(eco) sebeost, cp Fre, Addonin rreitor, Make yee:
® Apittnetic. Grout -— Tr,
Inytruction & tis Group Pevform anith-
metic operation React ov g a nf
& tte Content gf
DAD et. Pramplor
addition, Aubsrattns increment or decrement
a ayister memor{* Feamplis ave.: Avo SUB, TNR,
© Apoy (Add reqister fo accumulator )
(I< 1+ 62 shot flay: all, Addvenings rope acing. Gee
@ ape x (Add repioter witk Camry cccumuledcy)
AIK BI +E 1+ [65] “states: 4, flag: alll , Addesings agistor, Mackine Geles 5
@ Dap vp on rreistes fate to YL faiv
(H-El time
—.. gegive ination,
Send addras J Memory gels Fransfer Opeede|
te Otcodt: 4 “am.p
memory
ae ene
Clock»Memory Mapped 1/0
Tn thts device address fo 14 bit.
“Tha Ao to Ais Limes ave. used
te jener ate device adders -
[HAMRam MENW Control Ajnah ne
wed to Corrhol read omd wattel
lo operations +
Thus Ao te Aq Lows wr Ab te Ais
Ilo Mapped f/0 a
Tr tits S/o device culdves fo Sb
fen ave uned fo yenerade dovice
addverss
JOR and JOW Contnl Appa cre
used to Comdal read and write
T/0 Operahivm -
Instructor ayatlebs. ave —
Lon addy , STA addy, LOAX WP,
STAK vf, Mov MR, Mov RM,
AdO M ttc.
Prothuctorn available ave —
In omd OUT .
Dala Transfer io betwee arny
reioter ond Tilo Device.
Maximum mvumbern § Ip devices
ave. 68536 otheonitteally +
Dala Pronsfer fs between accermele}
tor omd device -
Maxtinum mumbo q Ilo devicer|
we, 256+
Execution Bpetd usiny LOA add,
STA oddy dye 13 7- stator amd
LT slates fr MOV M.+ and
Mov x, mM imvhuchows
Brecution Aped is 410 7- States -
Decode:
requis
Ih bit addrevs may
more hordware,-
Decdiny g-bit addver will vequim
Lup hortd wave «