0% found this document useful (0 votes)
23 views

Microprocessor and Peripheral

Uploaded by

Manish Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
23 views

Microprocessor and Peripheral

Uploaded by

Manish Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 14
Qe} Quurtim- | Aus: Detar rausmripion betwee micro froayers omel Peulpiceel deuieg ih 8 computer system favohig — Varisuy metrods ome! frotrtoh tuleed to diffeumt tybs af purpherels onl dati bape oust Hoe ore He byes dypy wel dor data Peruigion bewun micropro esods onmel peripherals V) Pavalld chika hemi ion 9) Porulle) UhteyJact- Tn He wettwol aulbfle luta Alef Uh Weel do dansmit date divaultaneously . ech Aine rfrsers qa bit 7g data Its Jert bet oegunes a dot f wid wd iy ty picelly usec! Jor Alot clstome comuectiin betwun micro- fro umes omel pert peiphewl within the semae oli 2) Seiad dati bewymimion - SURRT '- URRT 14 & popular wilted for finde} Communi cotror it Wy tes Her ebre onel eygmits oda me bit ata tne. THs Conan Oy uate) for Communicutht hefwer miaelmbe les, Anders, omol otter ph prsphorel eluion Ofer srr oludy hemygurission at , SPT (Secral pervipherad intergact, TDC ( inter- Ihtegeated crwit) OSG CUniversel Arid buy + 4) WirtLogs Comu unicetion a) Bluctoty, wifl efe cue etamble Fo PCT Communication uy) CAN (oboe! anes onctwwrk) s) erent ¢) Custom protoce |s. Clu Ans ani i) Urner Ma combo! 7g a progpans or soft were + The nihods UL Cen eH ewhloyed fh barcel Aystem fo manage frc exchomge of cleta between ol feust parts of Hee system. Har art ome ff pu aureus programmed! dada PremuJa mefieed th) Poll ii) Tatenupt —Driven T/o WY) Direct Memo u) FEFO ( finut -in- first-out) Bufo. wi) Mremorg, obying vit) Block pes for viii) memory -mappeel File t/o WW) Seried communication protocels. Class ten 3 Avy. Shigt om oodete ivsbucting cL Crow operating [9 tim- 2 Programmed cleta femsfu methods ofr to Hu tech. pu urnel tro fpordja lata hetwen plus oy Cr ponents micoo (mtrlly ms mine rrnn- Memory —mappeel Z/o Aue (Dn comp eter aichitecture ancl ahem bly Aungusge frograaming tet wnanipuloche fe brts qd aay duta. while be ts operation involve Shifting bits :- Shit udu ctiag - + Shidt iy tructing move Me bik cfm bi neo value tyt wy right by a Specrpizel uve be of positions. itn wi tule dhiftivg Agt Hr Macaut bt pasting are filled Zerok, oncl He bits Alf teal out au dost. Shifting igut pte Wacaut bit pusitPrn ae filled with 1 owl He bits Ahijted oud are Jost + Shift cheatioy au Zod Weel gor walt pli cotton or clivim by powes of 2, a well ad for eabacting or inser Hog Shectfic bits within a ey weelur . | Rotate fhdtructions'- Rotate instructing alyo move tle br gf a bineog valu Aft a right by ao dpeciqice Mumtber of posi Hs. + When aoteting At the brs Tisch ux shigted out om + At AU 9¢- entey pew fee atgut bide . Tu otur words He bils "wrep ayouuol” Grom me excl fo fhe ofr. 2 Wher, oe tating. might , He bitte frat ae shifted out ™ Tus Yiglt gicle ve-erter pom Hua At sicle, © Rodete oberectiioy ce offers Wee) herr you wort to wei tee Siw bits Het an shiftec! cut, ono) Yau woot 4 drulay effet whar bit urep arounel grou aw excl 4 tu Velo do tun otha. Ausytion- 4 Ars. Direct Hager ance 14 % Feelinrgur Met allows peri phe chuiey te pomsdy oluta directly fo oy prom murnorg without Povohsing tu (PY. To 4Faciditate DMA oberating ,a set control Aiguets 14 wteol to coprolinak anol tehbo) fue plata Ponsqor prow. Thun contro! igquedl¢ cay ar clupemoling an tee Sheerpic Duk contrelion omol sys tom architecture , but him are Sonee onuton contre! Aigrals Led ph DMA cheating) as DHA Reyvuest omc DUA Ac knowdeelge i) Meerary real emo Memory write TW) endl | woite | IN) fede Buy V) deta By Mi) Tamgder Sire Vil) Start ancl Top | Wii) Cycle Steed onmol Buyst Moolk . | 1X) Channel Select. aE ed torupt Regueyt Qaytione © Ans The intel Bo8S miowpreceser a popular B- bit minepretyr go tue dade 1870S, hud a Simple beterrupt ghucture - Thut were fouy fodtructiy tat cortrolied fur jutemupt Apucture 4 dix 68S micoprocso- 1) 2ST inductions A OM os wi dg ithe ¢ dof fuvene juterapt. Tl 8°85 had elylt 2ST Thstruetrind , euch Corresbonding to a. | bpeetfic address in munaorg. Whe one gf Th Husted woos qetctd jit camed He mitrofrocame to jump tue corres pooling adele ih mumory to estute a precifined infemupt sue, youtine Ut) DI CdMable Mtervupts) | + The DI ibgtouetim wo uses! 4 clitable intermupts » cohen executed ply tay buctt™ freventel ti BBS wine poutor prow recognizing ond saparcting to subscotumnt jtenupe. ET Cenable itemrupts): © The €T insbuction wer wheel -te enable intorreepl . Ajter Crewing Hus Dastouction » Hu Bogs miner would atert Sceo pniiy onl oapenoliug to interrupts apaih - N) Sim CSet Mmtenupt thayk)+- The ST pajtouedam wey weol Fo mask w Unwask tuterruphe . Tt allowee te wicosirvetor to torte) which interrupt Ling were erable oy olisablec By Aching or Clearing Specific bitr th She Acundlater ome Hun exe uti 4 SIM, Hu wmicrvprounvr could delectively evable oy olisable itterrubts. Tus Mygbructrm way particu leoly wejul gor prioritizing iter « HET) Auntim - | Ans Tate facing nqus to Ha prouy 4 connecting olijeuml Components or downy fh % Computer Syptenr So Hct Hy (Ah Communicate auol mtvact with each ofa. Tey a crucial aspect of computer eng Tnering ont! emmbeclcled Syste uign , a4 tt ensbles Ha exchouge gy cued ovnel cord vo] Aigreds betwen Variouy hodware Clunucts - Fotajacing eHertid for cluwee dike wincpouyod, micocmtooilas , Anos, ratnaory nw clules , omcl peripherals to work together harmeviourly within a Supp tern. Two Céimucn metro 4 itor Jacl mg 1h Com prcttey byte ae yrenorg wanecp piles ond T/0 waphivg ¢ ry Wt emorg ESP ae Tt involves Gn fighring a po tm of tue syten4 ee adds Space to Depron one fom tins Cate with periphdoed clung 9 memong - wrerpp-eol L/o Iu Jui approach , Yue CPU juteracts with oluuicg 4 diay war wie Avcadtisv. © Each paiphered or clue jf aBiguesl C UniQul ruemory adr Auge with iy He women wap, allowing ti CPU fo read pow omc write fo specific wumory acldreny + corte) a exchenge autq with He atures. L Oe mepbed Z/o cum Sheiplify programming becuse it wg Fle Janu Md buctiong — onel ecldrening voli cy dtemrdonol Way er, inspucting © Howeuy , it vay SD as Hamble 04 T]o-mophed teterJacy for some austen. 7) Tle mepbiig:= Ts juvolves clic cating a Gepareke aden Space clgtut drm Mee main memonge for inter dacing with beriphoed cbuiuy, Tn Hrd appoach , diurey am accessed wrirg specialized Tio insbuctious ame Arparecte I/o aceboy often , olstinct pew omulay oF ald res. * Tlo- mappeel olewicey typically haue Hair cero) ond 4fatyy registeas ot Apecific Lo old rend ,omrel olata 14 bomugared wing To ingbucting neti thon crema o1eceld jadbuctinn e To mapping ches oa mat precise Contre) ove puibhered olLures crac 14 offers boedguree} whim dhe - grained Contre} oma isolation prem poe operating ont HX guireal. Murs tien -9 Aus. The Tete? BoGG micawfrotgmy hw 4 Menrety 4 aaldrening mody duet olufermine how epaamels an acened omd — procemee! by Aystructio4. Tye ceddrewtiag ovioctys provide | Pusibidity ome Ver sutility 4o Hu firyhucting gut. Hore M4 | fic maith adcheing omody gf tu 8006.” : ) Tame clicte adchusing i He Tn femeclinte adlebsivng Hu eperevet ih a tm stout walue Ww jeumecliate data, + Syompler Mov AX, ID3YH'Aoasle He wel 1294H iMTP He AK Dey STA ny) Register adel ss ing 1 + Regis tr acleheisiag: Hix oprranel 4 a chute nes te wr & Acgwaut pst. ; + trowsples ADD AX, BX’ Qos Hee Corkerts of rgidtr Bx cto oegiste AY. iii) Memory cual rens beg + To memory adehosing Ye epereud 14 docuted ma muncry at a Specific addr Apecificel ih “Yur ig hut . + Epausples "Ml AL + Apacle Hu ual dfeated at M4 vuncery docection poiutes) ty by fhe SE register inte Mb. w) Register incline ef Se ; + Register, juclirect excl I ng involves aceeping memorg iMoliredtty a iter » . ee aeons Ax Ate Hu vali fh AX inte He vasice 7 docect itt poited to by Hu Bx rYyistear- YW) Todlerecl addnasing b © Luolexect AG DT: allows He wie of au Faclig Regter | to ace mrumnoniy elon evts Example: Mow AL, Avacy Jue valu at Cats nee juts AL Vi) Boreal acld repings — © Boteo! cael verging fe Ney adeling an offact +o o ses | Deg SHA to accen omen omg. # Examples mov mL , owe fue Valin cet memory olden. VID Barco} jnolex addsening s- * This ompocle cmabints Botte hare msl inclex sxyistr along witr & Osblaument +o ace eee + Ryobi: Mov AL, Apa Mu value af ourmcony adeloes fiuto Ay VID Relatinue addresivg to . |. Rete. acldreting wy 0 oisplecrneut voli added to Hn freprant Counter or ah Induction pointer to ace Poses * Excumbte “Sme SHORT Label’ pergoms & dhint jump f 4 | Anbel plifined within Hue Urvet lode degraat: 1) Bered indirect wth olisplaument adcburing eo TUS Mrcolt combing base arcl ivalex negia ters with a oliiplacmet to ates mumorg, tpamapler (MOV AL, Loacly fa velix ef mumory adele into AL. |X) Sceated Mdeg adlclreyging * Scetec! inedyx ade sething Coublny cm Fuclex aegidtar with 4 cating Jactor Jor judereel aa ace. * Example: ‘Mov AX Loads Hue Value at ouuneng excl oe4 jufo Ay. | haastion-% ‘ ig buchos Aw. The ihtel 8086 micoprocuser hod & ofc 4 al ies rut cor be categorize! tuto Acer types bored om Heir - dunetin ome! aberectiny . dune cre He mranin tyhed d jryfuction jn Hu 8066 mice procwmsor | 1) Data Peay gar ingtouctioy - There ytouctiny a used to move lata hetuxen pe yisted eae romd Zo ports- + Exornpley * Mo ,XCHG , PUSH , POP. iD Avitomete fabucttoy 1 «Ppt netic ingbuctiay pudom Vary mathemeticod opurecttors dike addition , subtraction multi plitetion ,awel olivigim on data 7 registers oO Moe + Exanepls ; ADD ISU , IAC Dec ,MUL , DIV mm) Logi ce) jngtructions : + Logiced indtuctiong puferm dogica) sheeting om brharg peta afi ag isted oY PAY Exormpley: TMe ,CHLL LET , INT, Jex WW) Control Pesta iutrections- + (ortro| bewsfr instouctiy an wel de change Hee dytrartl | of pro gran executim oY alta Ne fo ¥ tmtool, | Exonespless- TMP, Call pet INT , Try v) Fle Contre) by buction y- + Flay Control ig duction manipulake Hu states flags ua Hoy ogister * Cram bles ¢ CLOMBTCL, CLE STZ > wi) Stoivg ing ructions- Shing instruction aac ules! for sanipulecdiog Sbings 9 clude fe wuncoryg 1 pecticujarty 1m. eperectiong Like searching | copying rao) cimbaag Abings . + Growsples MovER | SCASE, (Lops , 8T°58. Vil) Loput fout put na toucthad 3— Debut ame output iy fouctio qacildate Communi cat for between die mito procusor omel peri phew clersieed cr To ports. viii) Flag Coro] ivstouction 1 Thee leatructton elias He prograny +o canbe| ond wets pulecte Wartduy — fro aor Hogs duel, aj tu direetio Hey Grau bles CLD ) STD W Contr] abing inatbuctions s- + Contre) Abtnge inptonceting tuafp fe Centro tig Ha etccidig 4 dhirg operating. * Cxomsbleys Rep ,REpNE ,REPE x) On Pestrucetion }- . farellaneous Mgtructiin Hat Arve Various purposes Auch a4 MoP ,HLT , WATT 1, €SC omel Loci + yD Floating — poiut tustouction r- Ly tr 8067 oy tater mot coproceser , in Shucting Jer pegerming rorting point anh mete obeatlory. lain $ 7 Ary.) Syhch>pnota draw mitiot- TH Wo a nictwol ef later Communicedinn th whidr data dat th @ Cmtihow Ybemr, omcol bot Mu Abuol, omd aeeciver nuart be . ; ; | Synchoonrred iy obite,. Jyncbronous Praag writsinr , co | lock Aigee] Mo Wes! Jo (ooreliuete ble Hai ng oF datr Penwmibdion. MS mea thet bot Hu sud nad neue wut g ape om Hu sate at which olata is | be wy jrvel omc) geetived. Syucheouoy petunia 14 dies wed it BLAH where preche a ond cooyelj nccthir, awe ocr, auc oF ty hiv -dpeced data pay Jus oud tell comm uni coctions , i) Baust kate'- Te oyad do Hu sped an rete ot whit olatn id bawdnttee! eve a Communicutinn channel. Tt b ty picedly wuahuree] ih bets pee Aecmd. owe] trclicaty how omg Aligned cheating or dymboly Cem oftyy Ty Me Atcand« Bauof ate oleterminty Hue clades meat recte gf # Cem unicad Ten byjten. fr eyour ple , & dugel rate F boo bps memy frat Fox dysvh Aynbols er Litt com he pemsusrtteel re one Drloud « Ui) Paviyt— Tt 4 a dite errr — chusping tecliniguc ed ih Aoa) tommuntcetio to detect errors in omg ited alder Tt fuvolves adlding am exha bit to each byte “of clay being teats Tha funtty Set com Ie get to citer q ? tue oy eed benity wr even pority pte tote ume ber 4 rd bits fh dhe byte, Ty eluting Mx parity bit , iy et Io weke He dot muubor 4| ls em. with odof perity tie dete mumbder 4) IS 14 Ad + wale it odd- wher He oleda M4 seudved je sive elucht iy Hu acu ived poauuity bit weetclus Hee expectee! Pele 7 Hey my oletecteol. | ) clon’'t wetch poy error iv) Half cluplex Paymimins Ty half ~ obaptes emg wisn ; olata Com be thoy mnitted fle bet olivectiny 0% a Commuurcatin Channel, but ot Dimruttaneously . TE meas drat a oluia om epr Awol ative lea aA ary giz time, but it Cunet olo beth dimarel Fone ots ly . Tink of it Aike walkie talkie whe you haue to ben 4 butt te Awiteh behwan tol ki, omel Ai towing »Half- oluplex communication often Wreol th Acemards Whee deur deke tons tr poywuit ouol reece dota. UW) Full- clupler Troms wh ia 5 Full clubler bod mpi 1 ob fe otter homd , allouys alata to be berg mitted fh bolt Clirectiion ptmu taneously . Ju Full clupler tomm uni cating pystun, Oli Com Aao| 400} pel reek We oleta cet Hee Aone Hue witout purntel to take tas, Tl mele q coum usiccetionn 14 Cem Gommorl treo] 74 Mmockin ubtworleing cuca! tele communica arg pod tt allows dor efit He-woy (ommuniced io. Aution-6 Ang. 4) Mealy cycle i A mmdrine cycle, in Hee tmtext & come bichon archi tecture , 14 Hr boric opera ditrod tye af & Computer centred face cunsts Te nepeutr fie Aeguenes of event thot tale | place wher dee CPU txecuts a Single fiddouctio oy opaahon [ua wnccebine cycle typically tomsyts gf pour Stage 1) Pete, = Durie Me Stage, Hae CP setyieiy He ouxt Fayhuet Rr poo wake ola ties Hu onemsnrg addo4 4 Hue Pytouctiy ord Apacle it ito a Apecied aeyh ster collec! He ingtrucet ii opis. MY Vecorler- Ta tee alicoole dage, He cy preps He Acechl fed tructin -b oltremnet whet a pesto mus ty be ped porweel . ovale ltteers, SU ivel yeas, LE clucody Hue op toele 4 Hee iMddruction. 1) Exeutke urs dle they wlan He actuce]| epestrn Apecigicol by the ig touction iy carricel oud. Ld ououy ftrohve ayitromcte culerlation, » late waani puletion jor efter tests y ol.pevoling om He wrobeectin Ls burp. IW) Stes for executing the iustouction , Hu COU mary med do Stn< Hu cualt beck jk maunaeny oy apoede Hu CPUY jiternce} oegisteas: b) Dagdruction cy clir~ Tha indtrrection eyelet, aly known At fetes ~clicoc- tre cute eyele, 4 oO Juvdemencted Comcebt Pa computer acthitectoe duet elsothy tuo Acguenet ee Steps Yu CPU Qoes Hero uyt. tol enect Pag a Anyle roccbine —Lowel tibuctio. Te % a subyet a Ye omaclive cycle omol reclyde Un Allowing btagyey.' D fete: Tn duis Shge, Yue CPU qetchy We eet mubudion re pee) sy prey eh Mu pregrens counter + older mine Hu iegtouctiu manory adel . The 4eteched jgtruction 14 Aoaoleal Tete fu fertrwetion reps ster. Hi) Peceder~ Ont Hue Rytrection 14 Jetebeel He CPU clecoclss Mt to determine, Hu eprntion to be padorusf ome! Hu operands Mvelvedt. Thuis tage favolves fater pre Hey, pe opcocle mel aleeHilg ancdy dheazicd by He ittrucho. 1) Execate The CPY Hun caniy out tHe opeectiay sheei gic by te insbuction , wring te olwocked Tefmruecti@n, Thuis com fuuelve aritanectit calculation , lata temujugs, or comtro! Opera tio s. WV) Write Back! Tn some cums , Hee CPU macy oned fo woite tur racdt of Hu exeeutin buck ty a numory Aocatim, wr @ CPU oeydter-

You might also like