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

Microprocessor Note

8085 Microprocessor notes

Uploaded by

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

Microprocessor Note

8085 Microprocessor notes

Uploaded by

Milan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 67
INTEL 8085 Micao - processor _ ON? Fopain the hase shuchiune oS 4, Whot is Micno-p 9285 cuith block diognom? =) Mies Mieno-pROCessO° pup ts « mubi-purpose paral ibe chiven, ., negister based eleatnovic. eviews thal Is binan ined ‘on doom merory cece pt toms dada : ae cid proenss data cecond ing rr Ht tnecdnuetion d provides aesulls as output pase yee oh cuith bus fachitectines ; the given Sigur Shoors the ahructine of up base ys: cdesm ctith bus jatectere. ; A A 2/0 Devices baal Ca 0) *. Ploek diagram oJ uip Base system -B traludes thee ne RSS i 1) Miexo- processar ij) Tnput/ Output Device iii) Moron These com ane interconnected thro’ m a ine ee cith aeiky Bus . ‘f ae devded ints Ano eae gis 1) Aoithmadtic logic Unite ii) Rogisden ‘ ii) Cordrot unit 1) ALU s com of i com) a olin elects A 4s oor ae Logie ‘ade erik. Veowous All Ae, cate sages pees one sich Fagen: This segment aongteds 03 various aegishen telorrSiod by Letters y such as Bi ty DoE Hil «Tht aegicley one Use do ctor lata tempeoarily ling dhe eyecufion 09 prwgams = “The Suk Srom of eu is cordnod unit. “This units 4, provides dhe neesssoy onto! signals do all the operation tn the Computer sytem 1H cordnal the Slocs oS dod betua ‘the Apan memany ond poriphanols. 2. Diskerence betuoen Mien - proaescan and Mieno - compart => “The ip 48 one Componank 05 computer: On the oder hand. the ynieno- computer #8 2 complete compuden- Sinillarly do other computer accepts that epu Junction od AL- compel ett by the Wp. The piderence iis given beloas. Miaxo - compukor | Miao -racasson i) The computer cuit miano— i) “hidegnated ip cordai processor as ils epu is ealled | all Sunetional eS oe Miexo - Computer. Called as E tonfpaten eo . ino dea ns 4 the, Ae apa danes Sent oe i Pig ipl te gy Pate, a slip, ch ip 18 HH) cordained the Sollocui 3: Waite the Sunetion o3 Micro —proce.seo =) “The vonious Sunetions per al classified fnfo Hees codagenies “Uese axe — (1) Mieno- processen jnitinl opertion. ) " " qndennal operation, (if) on " Pepheaal operation. (iiiatsaa Poon a peter: The Mp peviam poirmanily Sour operations — a dt pptteaeny a ? Rooks dace on insdruction from THEMeoS bs Meomony cunite ;—> , ee Iabaile dod on insbuction into memeny. } bs 7Lle send aa Accept dodo trom input device. 3) t/o eile: > Sense dose to oufped device. (it) Mieno-processen indeome! operedion : S, © fy rt a a? re nee nol gperodtion O atone g-hik deka b) perform anithmatic £ legion eporattion C) “Tet Sar condition: db Sequence the executtion od the Insdruetion » Mone deka tempancdly oluning execution tn the desind anoad om cunite memory. (iit) Migno processor porspharol cpencttion: id uted be indliled Fhe SaLlocsing openottion Ser eshich the tralivisual pins on dhe Mp chips me cesstaned W lgie—4 Gi) logic i Tai-sdate Sogie div deviees ame asser cat Meh proper Sumationing o$ the bus oniented sysdem «In <. the some bus lines ome shared by dhe at ao A dai-stote Jogie device has & adétional conti” dines called an enahtle dine» When this Line ds activate the dni- stoke deview Sunations dhe game cyay cS odlinond j Logie deviews and, shen these line deoctivated the Jogic | devieas goes into a high Impedance fate and dk cots we tSak were disconnected com the system Th the practically do dive the coviaes \ © Uti) High impodanes « ee tial Son Exounple od dri-stata eviews: Tri-atote Buber: E mts The pin condiaunection 0} 8085 4p is shecun tn given belocss ’ 2 3 yo SD —\s tr eset IN irRap —¢ 45|— REnpy RST4H5— 4% 0 ayl— t0/% pere.s—t ¢ es peTs-5—| 5 ale ml, 8 aN ie Tava — at yo, je 5h wr— A AD. —"" 15 2nL— A APgam oh 4 at— Ars Ady Ie E fv ADs—ti Rivet Aoe—s P wS}— Ac Ae |e 2at-— Aa on —+26 ae a, The 8085 Mp is & 8-bik genoval poy © Up The meman dize = 9-04 kb. The dovie® has 40 hit “the procecsen opaxcde cath dhnee MHz signal phase “The pine ane also eal afessiited into six cataganies one os sollocus— (i) Address bus. (fi) Addnese (data bus. Git) Control signal and stedus Sigal | (1) Pooser cupply ond Jequene External pate ai onl oelinoaaledgemend signal (1) Goria Input wee “They ane given beloos —_. U1) Address Buss g995 2p has 8th unidiveetional used as high eek fae and. (#) Abldsess (lode. Bus (mult el): “The Lines ADzrlo ADe ane gi es po used ae fos ander vaclares Deming the 05 the ¢ akin used "i Bs bie 4 bus. d J (wi) Corda! signal anol aus signal Th Lp group signal oe ‘naluding hso condool signal aead [site and dhoee sledus signod TO/M, S118 do Fderdify dhe nedur® od the operotion and one special signal 6 initiode the opiveing of the operation t Rei }e OY ARB \Adelaose Ledeh Enable); rs. y . postive going pule gennaafen every times tho go¢sp bet hoging the operation. YH indtaotes “that -the hiks on Ay do ADs ane adebocs hit; “These signal fo used fe ladeh the low onder cobbwse from the rnbiplored bus and genarade & separate sed of Paddese line. b) WR! hose shal io octive of los.“Those. sional relate Hak Ale dele one dla. but. ard be cater $e he we Thema on ip [sty Loe. aniten Into dhe cleated ©) RD; These signal is catie ot Jocs. Tese signal indicate that the seleated input/oudped on meme deywo fete be aead See ea! ae ret ee om 4) z0/M: “his ts sdofus signal eshich indicate the i/o operation ond memary operodbin - hher Doe Ladhan tf indicates the i/o operediion. “plhen =10/44-0 Ahan + tndlicedfas memary ze loked operation $045): ase axe the as i. - “Thess one given belo. - a) veo + - 4 ——+ TH meons +5V pocuer supply ) GND: TH meons ground TEIMNance, Oi orl X03 Crystal is comected at ctv pine inthe Hp. ~The Snequency is inal devieled by deo stheredane it oponale.s ot 9 MHy . “Ihe Coyle sould have CMiy Soequarey- d) CLK owl: 1, ; sh 5 iS Clock outpud « “hts signal canbe used as system clock din edher devias. q ™ Exdernal initiate Signed! ara! aclenoosledyererd signal: $026 Hp has 5 trHlerupded signal that can be used do intloupted and an se ee OUNTR [=Intlerupded Request) + IINTR (Inblerpled Requct) “These 40 used as the el punpese tntterupted, b ; lel + When aequest ic i an dhe tpt ncloeslegeinend is active. i re ¢) Trap: ct ts hi paienthy tntleruph «Ht ie non — maskable intlerpt can he classified jrds uo catlagenies @ Masleoble + ee lhe), ! ee The request Fanone Aho procower. “ by cle pro becouse Hf power the erection + eels of fie gual can accep “hit neque ® Non-rmackable: ~Ife request is immediabl acceptey by ae precester, “the D Mehls aon be desided ines tuo . | OTUCS __ As Veatan -intowpa: No pxdernal hondtuane fh ded in his trtlerypd= : B)Non-veedon Hewpl ? “Face jthouped extemal hordeuane fo needed. 4) OTS C5 e55% “They ane nectank jntterupt. The a2® vectey interurt - “These inter one cranefen Peper do the specisied. “Jpose—atlenspst camemony Jocation. €) Hou (Hold Requect): “These signal indtcedfo that a peniphares such o& DMA (Nineet Memeny fecess) controller is aequesting the use oS the oddrese bus amd — the ded hus. 8) HLDA (Hold Ackmoculeclge) + . he hall Spal 2: “his signal cekrocaledye d) READY? ~The sional used do delay the Mp do ead on cane Cyne uyttll Yo low ; ae ponding poripharels Is a Y to sed ax accept the dota. 1) Resekin : “This ts active at Joc .“Tie pe sof zor. i) Reced Out: ~ This stanal thelieafs thd the begin aero . This si te he used to the all closes ( Genis Lapa [Oubpect part? 2095 Up has dew sional do implement the serio dhansmission. “These ane cenit! Input dod (80) ond Gerioh output dato (00). 2 bite the procedoe Sin (clemutptexing the bus Adoto Ais) =yhlhen Le signad ts high (4)-than dts netipler anlbese data iste ele a “le Signod 19 loos (0) dhon His “The guen Siqure shotus thak the Jedoh ome! Yo ciseel 3m. ok lexing “the pus. The ALE Signal is commented 2 the erable pin oS the lodch ond oulpul idtnal Signed is spewed. Ines onalex “address hus > doce hire cuhen the ALE ts high dhe lateh is dransseromt ive the oufput changes ceeccadn a Dt 7 when the ALE eee dado is ILE and chi toteh vera dhe loos ee eee as ak citer dhe leddhing opoattion. 10+ nite: dean cthe difference bedaseon memory mapped rfp and “ilo mapped “a. ih = ah m ed T]/0 the input foalpudt J eennerel | serra Mure addnese. tl tlooup At a normal and abnormal termi his Indeouph ination oS L/o ee, ing che eo nom | ‘a ney ghee and thon contol branches othe i Zoid ethak® preeess the sequined 21/0 sooner. The proces | Choose “ nesed (92 sf aa) When ACA thon A-Ps-VE +9 =90h (s= sigh cag P eee a is sek ie the ALU operdtions xesult- fe 2600 ard the tag iV aesak iS dhe mesult FS not 2670 « Grample > ishen Az 1024 £3 = 1044 than A-2 = 0000 ,2- sek tahen cvieo 2- need (2+ Rew Sag) (2: 2er0 dhe) Te nen * TT the onithmatio 0, Mn oxhenh & Cam is pee ribble position. [4 nibble gait A-tocc and passed info ner digit inthe cuseliany eaarry lag te sed “This Slag is use indérnady do. Bed ion - “Tite Soa oaill be aeset Shen dhe re eoowty euill he li ot che bi poder 4 Auxiliary caro Bomple? 4 = 1001f)oot d WB = 1000\Jo00 10010009 t i) Poi &y nibble p ink : — eo hg Aiken on oxithi Jo peration : eset an even mee oS wet he ng sol, iS has RE SOR he dha te esa f Fvomple: odd A= our! 1 Ps Sed and A 10/011, P= cabs . Bren A= lon, p-zese and A Jo 10M rP- set. PY.ceary Seg: 19 on edits spore ie a can i iG 'o cperedtion aesulhs ie a cary then the cwoy Slag is se Ohheaitte Hl Is sed alto seu OS Q hermecr Slag’ dan gubsshraction Exomples f= phit & = nhit- 45. hbile abean Aho Indornal onchifaeture oS esp. ae wrchiteadine o3 R025 IMINO~ Moe ese ts g i Ms Seria To device “A treludes che ALU dhe timing £ Condrad anit; od iS ond decoder, mogisten 4 (aay ide Can soiel T/o el Te . vie foithmedie ee rit); perioms che Ardhmat = ie operation inaludes the cccoumulaten , tempor ae aS * ©. Te a ase ts usedo he inte the dada dh al he accumula “re pam: one ee ooitninedic. Inaic openation in the Ac8.nthe Dogs are etleeted data conden ine accumsan , the deseription od the Sila ane as Slows d a) Conmy Slog : Aster tha execution oF grithmatic ingtruction iF « corny fs produce the aay Slag is seks pera Ve be be eo" Ab fe is sek do one, tS the od Cana ands [ operetion content en numben ve one's «Ht ts stoma id neuls condone ood number od one's. C) Auxiliony tony LI Rs i Thie cory dlag halds me oat Behan do ike i tun - “The seat Som the exeoubion 0: me milbati cperation « “The Coyntig, 3 bi sto 20 Ps Hevie the bt numba Ylnee is at ourth bit chom the L°B-—# is used don Bed operation. 4 zero dog: This is set iS ALE operation aresult- é ) Sip the as is 15 the nesult is nat 210+ ) Sig = i db one iS i “hes 23 on soa diet | a gperattion idl-ve egative) the neswll js es (eve}the ein i is ee 70 ae 2 Cl ee? ei Fite! ait, Control sic an es pe 1 Sc re es Wi) Trocbucsbion egisler ond decoder ! “eco Pacth« pox oS ALU when a instruetion ig dateh from memory 11 ig loaded into he ingbuedion 2 wien The. decaden decodes the \inghuchions and establish the sequence oJ event Hers) Sollors + ? v) Regist eK NL: Accumuladen Br ty DE, iil ane dhe aegisk ‘in paocessen - Ace ts the procescen 64 igler hocatse Hie used fo hald on opanants 03 tin cxithmabté ond dogical eperations “The oe ie do stone the acewmatan» 31610 6 | HbLoge dhe ." gen wpose neaivter. Pek sp ane the Ie bi | sden these tne wat hod “the mewony rcldnessed the | newt inshnuetion do be executed » The oP the “holds che addness oS the vfop afement od the dada sfne in the stad, } | VArdewup : Rte combels dhe inferupk aelated operations. | Ed fered ove an indeoruph ipl poles eae } gen cl by the dfiming Contral unik evhich ane sed inthis | Vunik don contra dhe indeoupt reloked openaction. ‘¥) si0dso0: Data may be dranckr heteucen the perephare | deviee ond the paceeere clack may be dnansder-in seni | Sashian Som palocesser to perephanal “and view —vensarThie anit | contra) by dhe diving € Control unik by genazesting op propiode : onal | 16: A ane the difference hescseen seftesane and osane indexneups 9 => Sofesare tndenn one sock Incbuation cxhere | dhe one one fe I cheese (nee Meee — aoutine Hertel (ISR). “hoy one similar do call insu | nonalle, th hood inkorn 3 be Nae ae sat 0. feet H eupks ore Hod intoo hy sical Soom external dev eh pad ames Yn. a Neo genvice ya tion oS Or | 1On oD ISR edurmn Pregramn doom cahere ae “Vinanehes mn bei pened ah | intoonp Hardeare indeviupt are dasler shar 1 Whal is meaned Sino es Hock By 9 = isa on cae inderon capt input is echive "7 8 ealle - masking irc tips « at many oteations the progiams 0 do prevank J ahs aceunance “of a peor oS several irc Oe Up is f Aariming ¢ in dash. “The unosorted indooupt co a masked e using the SIM ingbauction » ASTH5, 0616.54 | BT 55 ane che mat indeoruphe 4. bp tthe concept of an intewupt and ks veer => fn frderoupt is cm tmput dodhe epu (cither ceetosane on harabaare) cabith causes the CPU to suspand Hs norma! sequence of operodion ~ and ang wikis do ump do a Jocoction catied as a veodn Jocation and execu the (sien a bantodd dhom she address . Atten dhe eveuttion od dhe program cpu control is usally drancdened beck do the cuhene if cuac suspanded and the narmal sequence of exention ig Resumed » osheh on inderoupt geeuns the CPL control is dodronslen dhe oecdion cshere dhe inlerupk service nowhine ig ene» Sothad 1 cuilk be executed. Tiedeoount service ackiness is abfadned by CPO chim indeoupd veelerlable (IVT) eahich is sine in the’ 4of 4kB 08 memory location : 19. Pry mn EL and pe nce oF 2085+ Hoos those dhe alin one geronaly wwe 7. The 8085 up he Ee inskruction thak ean enable on cksahle ol the inden TRAP. =i ET ctonds a enable infoorypd. “This bs be rdomupl fale is Ue is erable on cxcerta te is set and of! the Fnechruckion an ae (ena enter Jag eordain content, PL? pz eC a disable age “his Inghuadisn, [hen - ig executed , if mud Te 8 Sale a4 ie d rdeouph- exeent TRAP ane *5 ks na ome al Te does nok The prognormmen useatully ineluds EI tnedruetion in the Service anes ae follocs —— Sub routine ; EL RET comm Uses PT inechwection fh tn dhe matin poognom is on bat snes oxefions pant of main opam to be feskeate ese indempion « fre can weed Baad intdruction ofthe ninth ment Jo be prodected c.gauinsds tick leet ‘er he kan gus lexneyt 20+ Explain Set cndernupt Mack (s.raq)» => ~The Su chom oF SIM inadruetion te set indewiypet mack, Tis an 4 byte tnehruetion. aa “The execution 03 STM inetetion uses the condent- e oe oshish must he previourly Joaded 4p pedo th — Loring Stnesion, iS d Oy De Ds Du Os On Da __ De 2 6 [5 ee Seah © Sob SDE | X 5 | MSE |MF5/M 6.5 [M55 vy, z i aa? case ae normask SRSTC5 Jae mask | ROT 5:5 eer set Enable inden S Serial i cok enable i GW) sot mask don RSTH.5- RET 0.5, RSTS.5 nde ‘ncbuckanree eads the content oJ Ace. and Bicrinn, - I the indewupt ceeding fo the content of Acc, PH Da is aonttrel bik and showld | Son bit Der Dy on Da quill enable the comesponding intemupds and dhe Jogie..4 eit disables dhe 1 (ii) the second Sunchion ts Jo RST 7.5, hiL Dy tg addition cond | Son BT AS+ (iii) the dhind Stetion is do implement the serial /0,hikDz and De of dhe fec are used Haserial Alo ond do nat eek the eee el Be=4 than enable the sentoU 7/0 ond Oz i 24. ae QIM (Read cndernupd Mask) : => the Sw dorm oS RIM fs read trterupt mask: eshen one infer ache is being served , odhen oe aeequest ma oan a \euin parsing “The 8085 has an additional instruc “ is one byte tnchuelion that can be used San the Solieaing Sunetion. Da__Oc = ct res Do On De a a eee bers Mos|Msis | STD aa De 5 ROT 2S yo SRST 65 5 RST 55 Tderupt enable dag = =m ee mask gtakas fin dhe RST 2.5, RST C5 ReTSs Gi) Curment infor Me flag wtedus accept tmmediates Salling dhe am 4 bs ay ¢ (iii) Hondesore indeoupt pani ing on the RST 75) RST CS, RT 5.5 Lines. () Serial “Taped Dede 2 Give ining diagram dan mernony 260d machine qele? The wdedes of a machine cyele axe clerofed by 7h, 8 (also he hb ape dedeh’) - An external momen “a “to Zaces the miano- = poracessen Jo dd tion ee can cadeh ip. 18 mastly neny eviews on Such occasions , at ascents « ‘Not ready’ Jill the dime oshen cecually dhe cvailohte. When ‘hs happens » 285 Up insols amit H ring Sede, “Ter in beteueen “To ond “Ta - : Memory Rice 2 Signed Deseniption Ag- Ais — Ascerded ot che beginning 03 Ts and held emeharged 4ill end 03 73. Ade #07 — frdldnese Ao-Az asserted ot tthe beginning 05 Ty ore hold unchanged il end eS Ty, Doda pus ‘read? heteveen oS Th ctill middle oS Ta. ALB — HT don dink half 05% and LO ole chore o/M — LO thooeglfout ww — lo dom beginnirg ody dill end of Ta» Wee HE thoouah 93, Ciive cHming_diogem oS momany aiite mechine =) “The timing bodes ofa machine cyele ane dencded ts Se eds (also Ty in ease od ds eres 5 Be j. memany cloviees’ on “Ifo periphanal Soaces sthe miro -pracessen ia foy HS operation hedae the dovmen can cageh mien | His mostly used by hed mina accents ot Mot | 1 Jeviees . On such ceeations, the slow memany acsors a ‘Not 2 dill the dime cahen ockaally dhe dada is Yovailoble et happens $025 Up theo “uni toning stakes Tes tn Te ond Ts, befaeer Decnipstion — Ascorted at ch ir d ape cee anlage ed oy PS Stee _ beginning eS and hold i HN atin and Lo also eshere. 24 Give Timing dingo oS210/¥ aead machine cyte? | ia The timing odes oS a machine cyale ane dlenated by | STigiteP anid 5 Sle hin cam th open datch). An Ci ) mamenry deviaets on 2/0 periphanale dorces the tp Jo alalar H's opsradion hedne she Ps fen con cath may i ig nak ticed “by ‘slocs' memany deviens. On stich ocoasions, the soos ei asses co ' Net xieody’ ill the dime cuhen actually dhe deka ts cyailabte . When this happens 209s Mp tneents a Pers » 808s Mp ince tit ming Mode, Tes in hedeveen “Ty and Ia, L/o Reo | Signal mal Desenipstion Ag-Ais — Assented ot the bogiming oS h and held unchanged AU end &S-t fis Ap excrchl Some ‘ng Aq~ Ao d Ado — ADa — Aya asserted ak the beginning 05%, Re ed hal acho ah ou ot ok a Dolla bus ‘nead' hekeueen middle oS Ail midlle od Ta. ALE =—— Hr Son dost hal 6% ond £0 eles ashore | TOA — pr dhoouphouk | RB to dom beginning 05 Te AU end of Ts, i Wit = —— UT hrouphouk: | 1/0 nea Th I Th 7 t CLK a | a ix Higher_|onclen oakbresc| bus ee 2/M sie O[M=a IS = 4, Se20 | we 4 oh pf 25. Give dining _ iy nam oS I/0 onite machine cyale s —L = —the diming sdates of a moebine “To (ls0 7% ir cause ed opeodle deteh), An exdennol mera 4 ox fo perp! cals dasces dhe Up Jo defoy iks operation 0 dhe siamen con cadeh up- =H te moctly used by ' slo! meme, 4 axcoorts & ' Nest ae AW dhe dime “ais, ockbly athe: dd d, evailohle When thi Teppens j 2825 ip inserts cueit timing shes, “Te in badeween “5 and Te. 0 hhike : Sere! Desorption Age Ais — Assented oc the ae od T4 and held weloage Jill end ST Pa exactly som® Me-#Dz — Addnecg Ao—Aa asserted at the beginning oS Ty and held unchanged Sill end oS» Nader "ear ot beginning 03 Te ond held Ail fs end od ALE —— HI don Sinst hold 05h ond lo else cuhere Dijin — Hy Horoughouk RH —— HT Ahnoughouk WR 1 Soom beginning 05 stl end oS Ta. [Slocmile (9t-state) | sh ele TS A eg a ee /— As —1X Higher | oruler address | bus AbI—t s0e—| Nadie bur] X__ Baka gt ne LOX o/itat 5 20 eo —+—, |} Toa | 26." Miaxo - pararesso is a cpu” Explodn ik? | ; ; ht => the ry eee is inant componeart oS & Compute || “The compeder is aepneserted in RloSle didancum is ‘ghooun given sigue _ € Meu Mics - | frocessan — ea | Menary | a Digilad computer ob Micxo-poocescon ets fips shows hod the computer has Sun ’ ey 8 ae a inpud » output ond cpu «The ¢Pu consist CPL contains various aepicter ochre data.“The ALU pescbom’s the frithmoctio Jogi ee ead an eaten, bom the memont Mod toh iene spesivied- “There device ane communicated dhoough bus system as well oe Miexo -paocescan bus sysdern. 23. White do aiSSerence beds exal purpose xegisk pay eg een quale =) The dikfenrenee is given helocs wo iden oe used to ohne the operant AML ectlih: anny de occis tke jewlon operection. “fe contonks oS these. negiscter one various -dypes: Bub ahe spesied puapose 2 isto one used damning the speci: operation cahieh is perormed/ by ied eee Special nee ee che effective ess, hang Pema (ii) “The eromple. al enero) puopose aepiclers OE ~ Bes D,E, Ht on lhe ober hard «the example oS specie! purpose eget 76 ~ tack pstler- Ergnain coud nde crepe.“ 0. hile die che, disor fechicen abrlute clecoding ~ | Bere = "he diSerenee is given beloos — zi Ui) ab absolede ety al dhe addness Linas are clecoded so one unique “ofp pulse “The device all be selected ty ath the cies od the part number. ‘at pa Tn _pontiol ceca gome a} che address Lines one "buds ctn potiod decoding no extra handvane i¢ needed once: tonto Rus =A dosica) mi sat ie fig ; g Mian ~pROceSoON 16 ~ 2685) usoe " Busco” 4 ates operations, i A'bus’ is a collection aS aines dhoaugh cuhich on setod similon and selated stanals i chongmitted "hom one pa oda compete do anothel “The number od caines the canstelules a bus 19 ‘called the ‘esidth’ oS she | “The cdhnee sepoacele Jypes od busog that ane ceanan | ant mieno —procecran'ane peda bus « B®» What is Bue 9 Nedine Addoce Bus, Dota Bus ond the | . TThe ochhess hue (ii \~he duta bus GH) The contro! bus. | q guess Bs oe ac heel she ae | 09 & meme S amber «Th i 1 address hee detomines Hae att “Telinel es | con be comeeted de cfhe mien - procecan. J |, fan example , iS dhe addiess bus te 10 hits aides o crninimum pS" 9! an 05.580 CCK) dhsstineF memeny celle ean be. Cormected J she mnieno- preceeson. “The ~~ aaldnece bus ts ‘uni clincetional- tndnmadion Mowe cut of dhe mierd-procesean and inte -the memarrs 072 phono}. Catal tad naties tds chi Ee micro paocecser de a menany ear. Pripharal forte the mieno~ processor. the asidth “oS cthe lala "hus determines haes | rere “bite? con simaltaniouely be xeod /ecitfen Th moot mien? pawcessane + 0 — ell ic bolt (9. ids) «lb moo} | eases the data bus oui od She. br byte), | ah (3 byte) 20 (4 byte) ete “The, dala bus i¢ ~therelone necessarily “bidineetional indrmation Blois hedh ovayss beeen the mitre poecesten and memeny. Git) Condrod Bus: Lp Hseld scent 4 dala Anonefon openrction. —Thene #8 usually one om Sain dperetions, iy <4 iy Memeny asile 11) 2t/0 neal Bic ty) 1/0 one, ei iS which device corel the memory gods Jo lero euhich - od e ration id Sig t¢ SA Bodin 18 a group od inedruction emitlen separafly at mair gripes to peda oo durction dh hes” oceuns © Ah oa a th dheY mair fae 0M » fo exo lo da ime leah ‘sequin hebsoen dined See ssive everts 3 dealy can be’ eoiffeh in che mein program do ovoid aepetation of Hh came — wnebuction the subroutine techniques used. “The 2035 Up has dose inchuction to implement sub ~ coufin ! CALL (coll a subnoutine) amdRET (xefuzn to main paogp chrom o cubnoutine). _OpCODE Operant furetion CALL 10 bit memory location Call subroutine unconditional y wy We is yeas pe ‘eogn eee te a adn oddness. {i Soveccthe content oF, progem co ones stoelk, ii) pins Sep eS sole (i) Zh dag vel ly fo the e ceed By tnorfint tine number and thind b apestiee A page number. “thi Sink i fed ¥ yaa a oeki Thebucin RET x aglian dhom amen ord tion " s a 4 byte inschouc.ti ¢ wi Inserts the hae Showtesl ih inte ie Ee “pois mae ay aie Git) Uneonditony. seehare jane subvaine wd ah Explain diSSerend phasas 05 data tronsSer cltmin —exeubion om call tnchuasi Oe ee aa ee cnehuction 1% os a CALL “0020 40 2 20 2049, [Nea Tnchuchi ~The arcs of events ‘n. the oxenuclionile the call inchusi by the 08 wen beloca 1S My opcode: dedeh :— soi a machine cyale the conttert © program odirden 2040 ORE Jaced on the address > and dhe! instruction code cD is hed uci wh ied eh doda bus. Ad the same dime «The courden up the nek por ocledness “soa a. bke * fhe. a is clecoded and excutsh! the stacle pantry ie dennemerted one fo 3PFH. it) Ma @.Mo~ Memany Read }— trace oe aa mernan sead » machine eshiehthe re-bik addnece (2070H) od the CALL Tn ae is etched» “The Joca onder arden gee Jetehed ord eced jn the eo ne! high a address i = ve Sedehed me elched snake. “soir Waa Ms ot courder upgracled to o643H poirrting othe next Mee a q li ii) Ma Ms = Memos ag et Pe f ate Ahahe F eM eh eration lacein | be ep toy oe doer busy spt snedead the: conkent ta} 03 dhe es aegisten OSFEH op y dhe addres bus. ies High coder, byle od-the pe (en 2 ie dota bus and*ene inthe het locertion 28 Fy et ne the Ta paren neqelen is dememeiana tH ashe rmechin€ cyple | Ms che pon oS'the ele | FH aed eed On the lot i od the pat Pers ey) is paced on the ie ae, | ot ‘te athe stacle Jocabion “93 FFH. |Moehine [toc TAddness Baye - Courden | idler nol es eon |B Bus 0% rf (Pe) eae ‘Bus Ss ate , obedbe aoFF 9040 | op rc: | is weno {23FF loons | 90 fa O wimg }23FR 1904 |o6 4a 10- 4 memes [SRE FOsee lino ya | Sag ears ee 25FE Wa next 9070 W tl ctl i the 2. Pitan oy the eqsraIm execution sequence.4 cdronsse do the. catt Jocedtion mae peers 4 the contents oS Wl and Z de (oor H) on the Fidel M4 oS the nex! tngtruction the progam counkr upapaded to Joa1 4. a A in liSSerent phases 05 dexter cremnslen cluniing the eveubin RET indruction . ‘ > a. ea oS the subzoudine chen dhe ingtauetin RET is m execution quence is chansior fo the eee jean 904SH “The addness 9043 cune sored Aop cation oF the etacle OFF H € OSEEH luring She cau maleate Figure—4 shows dhe sequence oF everts dhat oeews as th vresbaxation RET 38 exocufed. My is a normal opcode sedeh ©. Hocsorer de Mo dhe iene od the whtk pointer ee ane ad She addgece bus aathen than Those 03 Whe Pe the daa hy ‘se oie chop oe stack ig eas 4 ae on ke pot ee 1S upenorde: © 107 ao nore Pn 4 went hy 90H oe diom a nn lo, stack en is a aid othe. 2, a ee ae “ee sequence 4.5 ahansden 40 dhe dacation 2045 fy ig fhe coyetends 5 the Wiz regielen on "oy le nh Mee beginning She hex! incbulin ey kine | Sac Se Arieces [gain t | poimen = | W3FEH)| Bus om Counter [Deter | pet) (Pe) | Bu 29FE | 201F | 99 OsFF ogre 2400 | “ogre =" 20 uy | 90 43 33. DiSference Nace tht okt cee ee => ty hihen eat ts executed the Mp aufpmacioo I x dhe. [@-hik adeness oS the fer nowt ize CALL othe stack. » - CALL ee the stock potrler aegisten is 3. “he inehuetion ret dransn the cordaint of dhe Pas op : location od the stack to-the Pe, vi wal the inchuetin RET is exceuded the sp i inenemente! - Tn Sh. tnhe unconditional CALt and RET induction thee one conditional CALL and RET ingtruction. | 3h the address bus is untdincetly ~ JusttSy your statement 1% “The addnees hus 18 unidineet ional heeause addrece b a Sloca in one — ee miero poset do the iphorol iCOS. 88 given by go¢5do elect ot mmemeny "on an inptd loulpak at 4 1) ay mimo ppocesson man® |) p, , 70 aonitralen Soxs pent we handling oe hea poodles hee mare imgbucion. hit handling ingdruction ond cso it ig aledina os o die het ineludes Lp > mem inpuf LE output signal Lind on a single chip: "30. hat db you mean by sub-soutine ? What ane the othardoge oS using _subz0 ine9 > A subnoudine is 0 ae tee eS * fa te tf, E

You might also like