0% found this document useful (0 votes)
53 views76 pages

Microprocessor and Interfaces Complete - Compressed

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
0% found this document useful (0 votes)
53 views76 pages

Microprocessor and Interfaces Complete - Compressed

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
You are on page 1/ 76
| MLCRDPROCESSOR¢— Amc pnocessom —_1s__a device hich can pnocecs the _data_in few mmicno seconds __and is __aed to contol the dewee - Tt is a __semi— _-conducton____device of __lppic _etneuitt rnanufactune _—by___using — ANLST echnigne | Meet aM us ie ong cea tpg clock dziven., —negictoa— based __elechonic__device that | neads —__bthany __instnuction from __a_ctorape i device opt binany (ocdaty ad input and qs in Ls “atconding to ite instnuchioa __ - Eh Tet an 8 bit 40 pin Te nitated ona Single chip Tt used data — bures fir ead sanity ant eg bit data on hi prince : a a aeaple ne —Featune:= 7 eh om 2 Addness bus = jg bit “fee —t._ Datu it “yf ST top erin — als fe enc aree 3S Mie Lnstructing "44 sah ee “The —aachilectune af 085 —fs_the follwiny bck ww) page Ay ores - Ul) A ite pith ptt it) Senne enaS a. Ww Tata _contral WV) Senial " t/o block —@_. Kesiten Block > Babs a 4 pase aiden Tt jam | cine da 2, Jesu __henen] purpos se. ¢Seapiian | t= Tt hac — b dyfxent typ “ot 2 bit negton_wshert the data or “the resplt cn be stone £8, CD, EH these nesta ane enable by _ujen tn gfoneleapy any date Pha 7 ~—-opengtion » 7 (i) Tem ponany ney = Tega ane wed by Mer —opertatior moennay Cnt be Z a 0, See County _:— pa rea Mk bit re ropistoy es 14 es ef the eet inshuchon > be fatthed and eedted . Tt as autimaticglly —incneawrevtted by — 4 tp point the next saeinagC eatin. {bd Stack poinier'— T+ is 4 Ib bit Qe Wag | Aa memony — pointer fr py, the memory Jacahon of ite stock. It define. b the stating addness of the 3iuek. ~ 2 Tnuntmnent |_pecetment latch = Th 1g but _ _ | thn aehiih + Aued Mnerea ment an decstament — the pe tontend of Stick pointer and program loon en eee b P ae je Fag esc A I genereted fiom the penta canny My (set pthenwice necet. —— tag ST the result tas tven_no- af. 1'¢ then } i tH —s sek othenwise —neset punt tay Fy Liha 9 “canny sis tnt by diye 43.6 x ft r dt De qe Ac et | 2opoH Bitveties Gee etl a [= — i By ~ VE AY 4a fad joe Ocwid sibye —____—_—— 4 oMve B, 6 4 pjpotiio 2) Ape ~+ A= Aig oloolooo- eG ste 8 ile 10% | 0 — fot yap ker pty. Lol ei fon_X=0 4 [oo[oeo0 = gon fon xX=| * Lo t)}o0 to = BAH - rt : Ay. | ST A _—» 2060H t Hel . 2 —— Aye | A, 48-1 0 | 00] 000 5B, bE ollol ito Ps Ae tA Bg. oOloolopo Ht @o.tojttlo $20 oo) oo} 1 0 ~ _Z=0 _ _Ac=O Fon X=0 => Noon nooo = 00H P20 fon xsi =) goloojolo = 28 H Ay ~ ~ Anithinehic & Jogic unit Block => ; ° i Konstan TH is_an_€ Bit nepisietInaded dar | — iL fem the inttanal © data bus and + yan transfor data tothe internal date buy. tne ofthe operand _and__nesult_of the p——_ Ary spenation Stoned in the attumlator - Th wn be noted and ohifted an per | __ os negaunement - ——Aitthmetic_& logic Unit + Teas nesponsible fon t Et onfhm ‘hibtedee a0 tomes ———snd_logita) —openation The neu of Ady Olt» — plated “jy the actumvlyton often _the tat ig ete —0f __ingtnuchoyn —tontral Unit Bek f Es inportintt to tontnel and _syrchnonice— all data —thansfor tn _micmpnocessen. 0)._Instnuchion Reyicken (7815 T+ daw & Bit: ide 2 The _instnuction — ope on —-tede_stoned in _nemony and tnancfin tithe I Aeeoden ——1)Tntnetinpuadet (919 Felch opel wot x les hen the __snstruchon detoden whith b —of the _optode anf plven timing tonto! Saigng | tp neste, Toning & ntl wail The —fitscg —£ tontnal unit sue H we Ld = spochamize Deck genen! the ~ signals These Siynglt are used 4p nequleted the transha mation” of — data. . © Tnterupt Block => The inlennupl 1s the paces _ _awhith 1b inihiqted i the = | eabnnel deuied ae = i —__Mreapphocesson_—_ has 5 —jaferpupts = —— I gst _- TRAP tip eeq 7-3 [i) RST 15 || fv" RST 55 tv) _INTR i — Taman - nike snashtbe — ——and_-__non = maskable " —intennupt =| Trae non _mnaskableintermpt which: hm —___t_ipmoned Tf Mikraprocescon —_neceive TRAP intouupt -by the ___erkanal__dewice thei has to respond fon ib Remumin'n ane _maskable __iattanupt ‘and an be nana —.O__ Senta] tlo _tointrol _Btk =» “The Sg @ ht wait : 1 8 s nial _i|p ond _olp> operation + They ate ST) Sonal input | ling) and __Sop_¢ ———_} data Senigl output I ‘data ine). if} _toimmunitaton 8085 aged, these — day 5899 fe mompey uy | ity High order addies bus > Molt prexeal adres /daty do ys pin _ contig tingret OF Boas qo ce Po and - ~ Status we 4 Syn 3 Oy) ) Pin _tonfiyenhon of bogs > Powen “single nl Numbor. Supply ground + tollechion address bit onder hgh sun dinechonel : Send tht , peripheral | Multipeses Hu ut ond line Amy b-d) bat Multiple Buc by idinechanal- Demultiplexad addnew 2. au v = +5V piwen supph nefornce Me of 1c. ai) High Oden Addness Bus 4 of fine dofa_ tn addres Bus Frm A= Ais * on adaness | dak bus > oddone and (omund Selle he MP hay connedtd bh VCC. connect ty 20; Tk defined. ax a which are utd 4a» communiaty other —infimation «MIP faa 1b. which are denoted addness. .hine defined ' ae + These lines ane Vina ane used to order _adjness te the memony - Address Bus Thae huyh addru Lower ord date mulhplexed with @ bit data means thit the data sint on the same. difowt — hastint time: Junot ed te . Those iy Tt the ry tan be obtained 4 suing latch by Be Ais L L C () (ce) Signal ? Read fan CRD ) rg) : fontnel active thet Avice lw! ban ing externa |! micro prise zeno deh and RD valve — is goyed- placed the need the — data When wit signal gees plows Wik Ban(ari) 2— heed" dott to Rew det addnest Bus- At 9 time of — newlt exearton the tai signal value ts * zene ALE (Address latch enable) Th is the poutiv 5 pulse penenetea -gentrnte- by paniphemal device fin” Min” and’ execatian Tt indi thet the.bit bn rmultiplened ~—addness deta tus ant addness Bus. 1 Gadus Signal > qa inal “ T0[Fs— 10/4 Signal shows thet the ‘Micropnacer Mists 8 communi with pont 0 Meme when hh Sit jndicatet S/o aperehan cond low Sind eaten memarty optnatian - She be ceombingd with me RB and oe joel tno thas!» cantmal signal iach a To need 0 write yom myxcad & + memory wie. \b) 5,34 :— These slatus 5 nal ane. ased ta indicate the — tnt Bra operation af a micnopnocessort aT] tomato | _Memany Worle. 0 | Memony Rea | t]o wnite 0 | tho Kea optode felch {\ Tnyeorupt Ack: | | J sd { 0 Joo,» Hold | Tole | x [* | Reset —__ | z2 high pedance a he Une ced i. Ae aemnlly initiateded? Signa | > Reset Signal : _ E —tal RenEIN :— Jt is anactive low “apt 5 . yn) when the si nal on its pin. mi 1 ay oH progam _ _eounky soe fla: _unit tran! IM stondoyt pgs _shh " cr néset Ta Sie —. When nese Jn “gt __, neset_ovT is apc L — Fit indicates” phat the Dap is bapitset- + gh - (win, ___Ready Sy : f Tek an _athive | high | smal wed a MP tn sends whether _ fa _peniphenal "ae ce on not fn date ~ | bane - Tf it igh it_meane thot fhe. wae ma neady “fin —tompavnitation = =f —HsS —Lew then mito procestan will ~ [st tt th become a 2! Lit) Takamupt Sgnal > 8085 hag 5 5 intewupte ied Te ee 4 i highest pri yiovity _infenupt- Tt ig OH - hg re, a oe ee [ RST 15, 0.07 C5 ana mashable inom {Ree are vecton interrupt and_tnanchen the lt se pa! _— locatiin. ; fan ah the ivphounupt3s - It 1b Slcial _active by he od Tt acta = eee _—INIR pin — = = GL Danek ery Access. Sigma | -— oO DMA» Is pe, to, transfert dah Fo Memany | — upretented by a Aig: 7 a ) Date Busi— > 9085 has 8 bit addness Line those apo —_bidinectiong| lines Lis ~—thich Favipe fam oo to FEH and we tt tefine of ase eed eof data we an ayn that © 8085 is alto —__ knenn as Ob picsaprcetnn. Its —_.Aepwanted 4 Do Dy — {68 onl Bus! These ane. _4he__individuale : ———lines___they are fin nixed, : nts —Synchanisytion — ot _ en signal hem) MP i! ‘onal fy Such as reenstiy. Feil ToR, Toy Concept 40. Mu tplexing and emu hiplering- ve — responsible fon both data transléx and data access + Lowen _osdey _addness bus _\ine Ay Ais @ornbined art —Do—)7 _— form the ___nutiplexed —_data_line rf we __do_nat__pnu iplexed __these ines { then we Arava to add 8mm | oes pim___on__ MPU TC + Hence to reduce | the __size iplexo-_of the | chip we __muItiplexed _these__hiines- Need of 'yq__AD7_t0_ADo ___awvive __ be case some” tine these tn: Iitne work at address but and sometime they ion as data bus + This is _done- the latch and ae byt | buffy. The | “net Signal geet hgh athevy Lda Hie lit and Yswen add is passed yh the latch - and - _ At the Gand polse__the_ ALE__signg| oes Low and _pyovide __darlg_@ ty Hig __yrultplexed Bug | The onthe torn _ig__performed the _opindo_feet fetch decoding —Ard__esecting — b— a “Need of Multi ening and be- Multiplexing > t he toncept the size of 8085 IC we multiple, fen tte addness line to tne dot a bine- Wo ted demulipléxi ss atthe tine of opcode ——. Sehh ne addness of this Bipnal co ot —— 1 the Hime af fing clk-pube ME becomes hiph ~~ tind pide the —_addnees of the data dL bist. — clk pike Are _goes aw _and prvide — data on the ferthtulay — —addnese —_Jocationy et a tee _ atic RAM — e = Doh _ig -sined in Fe [ike 1 faskn oy hah - a —mnernony. [ay Nolatile “acorn More pose: Tisipeton => ff | mr or ey, density + Stuctune . OF a — ef gaihig” 2 - mi - je ei. lost ft Inendnne regained | -— Tt with: —tonbinue ty! Wold 4 eden bs informahtn even When the wer 5 =) srt ale Known ay taghes memory + =. €ath —_ m pal hes. / j ~—7| T+ hae dea “age transistot | | Dynamic. RAM; —— ; > ee ty Shed ty ae te ; — I+ ya ty bit iy fin if te chine —7_ Jowen speed of operation - 1 Lowe __pow Ut tonsomption be - —7__ Tk _neputnes nelreshieg to change the deta stosed in Mos capitis _Abvs.ro, fie f —7__Lheap ot thane SRAM - { 7 lompliated sysien_dosin besause _esthra bho 4 roylred to | corre ne fret hing —____—_____— . Te a _voleble—memy all fen aodlebie dot ane — lot when power _switdhed oF F- | Pr re . - | Types oF Memony of TG) Mosk Rom'= In ths_Rom_, bit paitomn is po permanent —_newrded by the — | { a —- dunn y — tne bniadion «User (an net— change — -T any © memory Ioegchion_- lychee e Gi). Propumable Rom CpRom):— In PROM, wet ean _shne—the pan gram ot. a, the bit__petoy ——stoued in the _attunailrsa Univeral __ Prov __programinert _ 4 alto availible _which * ‘Myo e— prude __ | ye vd a pa ond prov ide -” — (Hi). EpRo [Erasable propane — kam] re mai PROM: mr “canbe done be hygh- ioe h lyn ii an nae done 13 Pebical _—— nt) = * Jp 4p ra tO ae craeé the — wntent. Tt i! | _ppssible to Exase’ selective in tbomaghn) phen we erased — PROM: “the —_enhw_ti Pig gt = ae (is) Fe PROM Cea _ Prasqble_ _progeianimebte ROM] — eeprom ak the dactaall ——_ Aiyng)_£ a ie ere sect Bs [tm Erasing — son pe ts Tine ner Ho Con ‘et “ —pontioulay fi 1 wtthou uk io ep | ; Treapme #3. the i : Pe gt ae el nd oh er a a tow ders rarer’ Py | | | of of bef ot Fs pet | [ (Fla, Menu! + + The EEPROM can be | erased atthe nepister level atthe be | lash mennairy must be enased either tL entire fonna om a secton level ———— | mem Chips an be anased and fe Propam million times. 1+ _ provided fe cunts nl high — packing — density , Low ost and fo sth 2 Y Sock pid rannig tech nip | Ci) yb MOSFET > . [high —ponfosmance MPU use —Ivigh specd, dish deri mM) " old — enechannel pes do“ implement _loyrc =| fa. But mide 4 poet | 1. *tansung ption fs __less efficient than {| | eMos and Peat jp 0) a Prime memony Sfonage memeny | - 1 - - - Mendanty Backup nn — sani Storage storage [hen hath “emictinlon) SEAT) “f stant - Dynamic RA — vmagnehic +f Rlem | = [+ Floppy | EE pen pee zh Se vsHanddag | | C00 nen-velle | | EPR ROM CORD — RAPT ~EepRon || + PROM, [papa fy = | + Fhsh meney See » —Semi-conductea memo es ang ved fir i inet in micanproressee based system The _memni . Weted towards the tap of the amas and. faster ond those is ed aver the lo end 4 _ stored - » Reaiton'— - 4 Fexe_one the ponh of émpnncesor tip amount of ee stoxape 1s limited fiom_a Few hunndned bits e _q fw tual bits: The pump re 0 n- _yannn men py ____ | to other a , ~ GI ahe _Memonnp— = inane Tho a futen “memory Ib Site typically —in_-w kilobyte range: Ta Some advance | fu the cache Tt Ioghed an meee cup __ Tt" is uey_—bapere 1 aioe Wi Privy Heong = = _ sammeyt On pie 1 and shit the data in farm a SRAM Re a - Te areey Z| * — mena =e high spoof 2 hy Pace ie ge . [ —~_Sevene|_pnogpums 2 dato _ant_neaded | te ass'en in _systenn_s0 thet they tan be_[oad ed for ja witnan ferson tts fa eee crenata + — delay Holding these. propos 4 meas € { ——Severa] _magaby}es of memory. These _prisgnams- oa — and date tady not _be accessed frequently - {| These ome or! manne mats | Storapt device ped for tare thie jnformaton. 7 7 Ee — It _13_a type af mnemovable— a stornee device When all the mass be agi Ina syst gtt—used_up then o | : 22 Mier) ots ae [EO IRB: Wap ol neo fp an |= Blt remnn Be tna | wr aie yy NY int ~ Data Bus fa — [Tiamat the memory chip kb KA mnemeny ght equine address lin f ident a et se - Te ins} addnex lng —nupuked ig Sebati oe rimben at ‘a, | Se 7 C20 = number if Sra) week ey numberof iS ates tnt the er a f PAGE NO 7 + Te -addness. _ line ennecled ia wie the ldness line connetted to he idles lines. meat ‘emony chip select the. “F | —ajeta i r . + - “The _tonfral__sygnal _ RD enable the _outpyt [tea _fim_the selected vegater ne seme Topan de Innes. — Pinihey antl signal \ a ’ = the chi \ “Design a. _meynony aad ies “a ho the | wilt 256 bytes M Se by a the “set inte ra con be eo a ee wl e Vuty tuted 3 ned ont = 50 H 6 are a Exgtin he memory —addnes range of 1K by the __rnermeny ere change mcf “ }———f aseming dns —_ Sf of 2900. ! ae 2. — 9. o. bo ietn oo boodeood Petrtyr ged T —— i | 2° z P FE 2000H— as FF T | | 1 — Softwane_fnchitectute _ of negisten ard Signal = a — The ss poe the ‘instniction which ane ~~. neally oft — flags 4 ALU and ncrement oe ee wl dened eer 3 counton Instruchon — decadent —|__ pride the opcode __of jt inshruction and fi _Ainit provide __ Adftorent synching i | sipnal td _ dane Syl nt — | font a Bes it alee iay L ) Fu) . | Papert] Ona dat f Ybt date | { [Fay | ig] Ka bus t _ i Re a teh Lt tg _ Instruction 1c 4 set_of rule containing — opcode and | @ —optiand whenever an _Inshructton 13 f { |_appliad mitroprcowor penton a specif fatk - And instruction 4b a command given te the computa ape ~ a specified aati on —yuen_date esti Clussifiahin of —instnuchan > iy = a { 4 Byle_tnshauction = It 1s gn_ynctnuction— contain exif only —epasten g nigpishn pact eockes Dkr as 4 Byte _nstnuction-—__ be ———g=} — mar Ay Mass cue, yay | —_gpee pT a ot = add 8 - . fs e 2 ye —_instavetion:— “Ef an instnucton anti @ bit data —_ then —_this_become. a). ig — “fo_wond size : | 2 Bye instruction: sual e ca Mvl A, 10H = ADE 08H Seen pend antia 16 it addness on nd- then heme ayant, jo _ aie “ti _Aecondirg 40 opin — partm_by—1nstouchn,. 7 a). Dale brantfer inshweton_!= {+ Cc mov A,B i pi zi > asc 1st ME “ph a bitdate _—— Mur — B, ng —___—— aol In

kt, [bit addnest Land. 1 1 = ta, 6 bit dd» = Lead ip aceumuletor — — | 54 Ib bit ml _short_actunu ior value iin pica ile ot ee Ub bit add. “tse HL ve in give_adds Load _acevenulatoy—_jndine ct Aeundle rT stored From__ the hich -ti_speerkied in the Jiven__nepton_ pute oy STAR Re Se coe et t — address _ahith 1 papa anh { in nese. pale | G- STAX | PAGE NO __ + — a [ __(b) | \spical group —_Wstnuchan — Mm O RA R:- oR aceumulgtet uw th _nesiston Wi) pp A mM t= _ memo : tii) | 02 2 Qirdute.— oR inchuction with obit date jw) | AN A R= iHa_nesis t071 — WY) AN A pie And mn mart pe ~~ (vi) | AN I &bit data —_fnd_iashuchon uith_¢ bidet. Wi) xXR@ A ROR = (viii), AR A Ms — J ath (ix) R I Sbitdaty >— = (4) | ms A _ Ail) CMC != tomplement the Canny Stet t a Myvi & IG H _ _ (MA Hel 2 Ooolyoo0 —» 1eH I — ioe | / Et oH _ {xii} Sit = Set _camny . The stave _ orn ra uw set and no y- ie valves ana tected - (Ui) cmp gt Lar posie “R, _ iy i} PA Pa MA teat w (dtm thidee # Ee - EAL "Rotate fe aqumolator ef aif. comy e fen of the __ar a tant | ymtated of 2 eRe - The th hit _the tn obabi b “ae Hp bet Bpubc De Dy Dyed, Be ee Lols Tala ofa [4.0K — pee a) eS |p eft: shift 3 mu! Fhe { fae tit —— + is ~ | Dd Dy ps do dr P - je 4 10] [efi fol fo co - — (ae bine BR = ii fac bunany bit _F —ateomvlahon — | thi D pel te e patie 4 2 as O- A_,14.. +— Chatty =O KAR Lyy Roc - . Bat Hit AYy= q4_= Olljoioo (4) an (2). App M (3) ne pistta_esith Actomoletee® stort iar AMY wt acumoltned choxe io it: ADI 8bit data ’~ Add 9 wit data with —accumulaton I} es stone in wesuk in accumulation L (4). ACL 8bitdat— add _gpit data with actuator eS ond canny & store in acunaulato- (Sj. DaD Rpt = aa of _ the _gpictered 11 B51 cetgie “pa int Bod) H ant __added © tp fhe ——wontain of HL and sum __g _Stoxed in — Hh pala esis = Sbhatt —wntain of neystea ath actonlata S store in it. he. fn) tur mM *— Subhract contain of soa aah ~ attonulats —b. And Shye ig tt (Be) Sul shit da — = kha ghitdete vothacumulator4 - —____Store_1ia__acemu later and ear _ - (4) sag ‘= Sunact_tontain of = - . and _ te Lv SBR mt dante ees epi a ne tt evict ham the glaifoed coe th actonl tart tt a an Bl pag bit data an th gee ulate and store inthe. 4 {ny tp) INR KR :— Terese the aloe of te DNR Ri Decneoe ta velue of nepiten (ih) Tak Rp = Tncaeare the — value of pain af reqs 8 _. DIK __ Rp! = Bete anal By —— Te) ad cfuthon ib is sed in th {Mf (te) Ihe “ject of any. eter 1 T ape the decirna) value he . et bats Tt used HE all 5 te usp) = 4 : at ‘aw fe fr rai ub? the actual i — “the” valve die — Ato E+ —— —— Baamch — sti _ i ne va in instuchon. of - thi the rn seyuonce af . . re coe he el i — oka “CHL Datetinal : “condition yale gortishied IL Z Sl apes { — tonditiong} Turnp:— yg 4 the ereuction_of +e condthbna on i” rt) sta dip a Ja isch or _ by — ——addnegs — if the gpecifi I condition is fill-fif — [N) Ae)TC hit addness — Surop ff thee i canry | | = ene aes . >. ~ ANC Ib bitadd: 3 slum p— ee these & alma Bags tt itr dah ey pe = Tune lump if esol ia. pankse pluse. fal yd ee eae i _sninus ct Fal] Teas =. wp if nesulk is 2eno-. 2-1) (6) gw2 = Tomp if the: resol as not zene C2] — ae SS Sump. iF _neswit 1 i apa [PI] (ts) Tn l= lunge ius xegult ik alt mye [Peo) 44 —"the_nttk-ieshchion of the main 7 dnt ah acke Th na the tak pai gto = iva _to ye) _Statk__ top. CO tall gubrodting if =| f CNC cal Subivuting tf the CL tall subyoutine fut ee gen ‘7 =7) —s eS yee EY . ro TP sow Ans (po: yyosult Aas eal pat — [p=0] : ae ear ee he alt ee Sa he al 2g saved in tk: The — Jen An ae (Cc) RST ne bok} = la intkuetion- Tb nostutts iG — the gen wd Jor at inet ‘ineded usa! - if ene Qnwihe Cat pope ned “a Osh inthis aretha dpi a. of he so h8 lows [it Went a tof — 3 eR a Lolo yp! mers - fT Sk ms peg a ee ' ff tie wien Lipitor pose |) RT oy _ feabeits Sean wae MW a R87. here 0030. bs , fash Donte. PAGE NC _ _(p)_ | PHL = The -tonknt ofthe AL pain triste to te prepa —coun tut: The — tontent of mepiten HH move to the high try 8 bit, of “neni progergmn _couniest: The tent vf nepister_L_ Lone fom _anden 8 bit of _negier “pagan — conten te “i kin nh pri ~eieaae aty of Hold _stop_tht -mnitropncelo 7 tb) ET :— Smable infermnupt. — insti ar ged for tho time ot exeaduhn « —|___, enabling — tat disable | “icrtennopt is cel theta te) SPH = ee ee HEEL pa ew ~Yp He_sck poatn ats “Gl Nop: — 2b _portiamed shea espe hat —vghiueting “et Z (9). STACK 2= rar an_8085 MPU -ean be described. a ee ye af —the_thtk . “Aye —_inghychod. LRT SP, “data ate 4 fae ree vey usd on. +ht__revone_treltn_by yy tats Ae Pro_instnyction “PUSH: 7 te data bye Om efuvud fom the _be is by using espective — stk ae Pe sot on Meine, is mt beanie __> fp it au wn er gp Y =i time— we ai a 2. When data bylet b oe ae a Aineseseentl Pa Ctapin ciieveamallie: Ween “x ne: Push =and POP Pow! ——inshctin “save jhe tontain_of the aceumulatar after <_exeuution a the - Rago 2 rahi Ane > errant , [me sug “proureve — “su bawtine a te +44 insta th sp .~ the “rap beatae ict PAGE N = ae _ ~ portoem the famctian thot occund > epeadtely in tthe__nin_ program. Sa 4y.@__inshuchon ~ +o implement sub =rwtine- The call instruthion is _swed in the main yum call a sub- mivtine _and | neluna | “instuchin is ued at the end of — the _sub-awtine fo _xetwin _fo_fhe nan progam —MvI_A, 36 ath oe Ab _ oe Ing c - 3 : Sey Thin ~__. 2p00 fall 2010 dlp, oar an __ &n ip to tT: data it dna 5 a Se 7 —Sach _ instivehon_ Ton which lt aia apa we “techn b aa deta fon inshuiti delat eddbonttig made at i lat _In this the pean wn or -_dineck__addness —wheit the oe are a iy) the geen meuneryy r Es lei so , LOA . ie ret — __ STR 2 5éoH (fi Regen _Adlesing. Mode: — In raised a mole, data isin the gergral purpose 9 ye The opeode __speerhia the addrue pb of sai ints__the _-_opertction t0_be a de ee Has MOV CA e “C= -_ Ad B _ ss x - {ifr indet addaesiry mode ee a Th thi de, the brstouchion_ than tae the. dinect pee Es but the” cnddnes of = de "pe A ioe a 7 A t= LAT fy 3500 agit —— ee M_ 4 ; addres of te dat ' = ail 4 “a his. made the datt on pan bbe sud tamedcetely given_in He instruction —ibelf: the atte iE Q- MV A, 18H. af _..A¥ . ANI of ok Lg. Sorbemariney 9. LXI_ nH, Sé0oH _ oe VY) Tunplici’ We mde@ i= ue ( po Inert addnessi et ala which —opecand inthe contain _of fhe accumulate Such instruction do net neguéne she —_addness of the._openande 4 fo RAL, RAR, CMA Assembly Lenguage —Paegranmig And Betty A user can ~—indeaget with the -rnltnapnacessort— Be _ jee task on +b Solve 4 bthiult a v ae af _ the i “ee — 1 Unconditional :— To 3u rain, iype if Png . 5 the segment a 18 _nepooded —_ yortheut * any — woaditha. al ag Ca), Jump —_tostauchon—chesn't Pct fie check “any to condition) and_move Ps sty onnnthwn ——_mengony location. Li) (ondstionel :— In thie pr the S0gmak poe t bh ar ‘onditnn - Ff condition 3 is ted ST sapaton ods done othoteie np. tay at “of The Propram me a a 5 sivnilat ep ie mi om ant mone difficult ad Some a ive a alot the peupraminet oe know — ae! the enon made by : in Eithen the pap wok af " doan't The »posthion —of the —_ program 1A fenowsn by = | te ll ) + Tt tan be divided into _ dete lh In Shh _trarmines i ere dp visa) erp cn _ by wal ond pencil and check the, Pith on machine cede. Same clue i » Finding — oun In the propeum hla — (a) L Seleching A Win ne hing code ta Speci ts han Sere ee aren “mn Mt ade of high! andl! ¢ ore = (a) a "Bathe bad A Sly ef anlg. jsp - ey et fain — tind —couning ‘leu #he_adcumulatox chan st aed hin Sa OR ipae rere a (gp Fatlune +o_cleay —_neyistert when, 4 it syed tock ————— Aap some — date lite cay oral canny - —_ (ii [a eet ay le Step + seu Thigis an. the Dieta igs Ceeetah ate ne —4 “thtuchin and poimed duh amin on the next ae pom : a a) “Trderig = Endening “mans we md @_point + sphich —_ ty the aa data ——. Ateoding — fo nis puna Mique , — | 2 ey ale 4 mala eb este o - || _ ada frst "data - When the task —_§_} hed allt _ompleted On the Pointed claty - thn pointer tk _ fintemaatedl by L And the -—_ta§c tt__utpoated again ies the new. pointed | data» poe A ee at eg = Thi ring deh: alfow 4h pone coun a qe Hynes “a oS as noy1am 71 E Tr aa punkbor a Legume ts used The valve of —countey ~~ detxemented each _Fime_ Whoever " eng tion 1h ompleded The process ta HY) the toute r0gch fo Sob 4}. hanks of “cc Branching:—_ «ater the tatk i tompleted — a the one — fee "Tine the iat ae ent ith new arr b —depent the. exe ution —— - —-Hh- “tht. ae # eno agin = - red that the’ —_lqst ‘atte 2 branch the ___sequonee a 1 = — past init os Hu_loop- = Tnstauchon format => KK . Each inst chion contains 2 specific infarction — field + One sk te apenahbns teclé which specity the _ppenatin fo be perfotoned The —_ppertehn is" specffied by —_binany code. Heme the name af this_lz__ openatin code. — Second 1s _aportav which Say aboyt the — cht on api task 9 to “he ps _____finst ___ feb insti always npude— tut tha ¢ein be sownce/ destination —opmand y nee astination apenand gdelness — — he ad “Ebi den paid 04 — ned Lorhuche the eng of the “josbmuction _nnay et 2 on Shy de. _bprode —Rrmt — Fon an. —assenialy npn open rer 6 put myer code wy _nepagen’ an. Aik =e at nate The a f hy. h iavby hon 2. i ~£085__has__ "Bit _opeode _ushich ee - i + and Flags tal’ te 2h enn i , Cc fo} Br palpi +> -0-+o+— c Og _ ol DE ol Teo AL a rte 4 jo 7 Timing dpenetion => a perm is q seb gsince ob _inshnactyn nn ask Te tttude { 4 refer meclehind te : = inaction the ae neod eee Novo oper orn tb ee ae devfeey. 2 > — —— — Haining 7 al a a time lw —oe “insbwction Tt my indude an te A ~~ mation ( _opeade_fetch — memMO7 1 ip _—s seth He, _To at D0 dite ot a _ stk) lamp ame —teeuto a + vel gngtal tie {i i Ana Fae cene re machine tytle 1% _dehintd 4 4 ra ~The operat) ton — cep the rncanty Pt Bo on ack. are se syd TT =stale- =< ae Fh we [wedi shit defined ay 4 sub - division, — operation perform in > ane clack peniad a | & the unit in which time of 4 J {tet — iA meyuned. These ooh divisions __intenna) stats synchYonises wHh the i “eo i ath _wuthine tycle__ consists the FE aan WT hae reyured — +o “np the one operat» a aE 5, So 1 1 — futhgabe opiade ' o > neadoay oN a vomiReace 1 [ q- Mle rT operah on mow AB 4 F de en) MOV AM 2 | (us) eR V7 Git) bar lb bit add} 3 | ERR 2 _ fie _STA™ Wb bitadds | 4 13 FRRW lv) SHLD —_[bbit add. J 5 |b | ER RWW “_[vi) sag om joe cig, | pen __[vil) RAL —}—} 4 "TN : (visi) _STax _H__} - A pe | ‘W ~ wwe M | 3 _lo FRpbor 1s Slat Ge) Tack _nelethd 3 12 Swh/_— is = Timi = 4am > = _ = _ =e "Rig — 0 xT — peg vd 9 eran sad I & Lh, 4” CC PPT VINES ) : ens) center wep | pe i Le Seal —— el mao PEED 205-1 Gay t—+ 5 T— Fd L inshnuctiog shin tha in ghucton ane Wa =e cheek thot the condition ——___mathine. “cycles 9 8 4 T-s and pte = ad thes ae en —cyele__& lo Tstate ’ Adva assembly lan: Pr ib ! “Adee asserably- MMe ts pis sued drivers then bes A Ba Lyte stack a pans “onto ake tt prada easy ay ato _ a Meta inte sat ‘Cop ____ Bub -ax_pubwutine- The “stack — i clada initvalived _shoypht sy _ pole ey _oemnay thet 1s used : nati L ef a in ail Gin 13 in’ = 7 t das propramesing | TE a weal; i amen pcos anny ; Snial COUNTER and TIME = DELAY =) — ae founteas ane event ind settir “4 ro it ccuunadt_tiiN 7 the a two The Salted dese - ig: ts eile and —JesY time consum ed feared ‘the dey. prota a hla "t as Covnten!— 7 ee te i . E dato ‘one al aa bagi dhe naemed 4 instrychions- AU Joop is dufred Wheto updakt the counter & each — count 18 chatkad to defenmine that it has rogched tht final gumbex__ o_o 14 the fia — tonten os not reachad the oop bs — — nopeoped . To __obsanve: na etl st ae a appa tin del - c | Hose Time — delay! Th preys i ane do re re ue | “thet awed to seto rite u b oad wit a a depend on tht Sd. delay ays and then the m4 mt aah sei it iw fl mp nshuch fo gue the Ady tf ‘con ye Py The toon —_defing the —__oaxinmum value “he courte, we Sek the __ maximo : - Bt Pe paid fen loathe —_— ape MV ty Pe 2 4 | Joop» DeR—C- + 7 NZ loop Lo] = Tie _- period = L 0-5.us - t. : To_p-S us i. _ | Time delay —forr_lonp deseo 2. lux bs 4 +1) MoS AL 33.5 s Tota)__time delay hn propam = 35bIr5= aoe “Tye of insnocho- £ heb uel = The uneany is Adhingd ar a signal which 15 ‘ion oi peripheral break ey on yen of fun “ahs ron 2 oars — Jpcahon. The! __inkamyt 2% bp nd 0“ discand _ — re = nfl tnt prindly boca - pea —openahin and - reppitieg operastiona, (9) Shonen HF ee 8 gt cull BN —$peeial in }__tashucty- 1) a: ~ cai “Alia — oveuthen —f tk inshrocion ——__microproceynr comple tho rata it fe chon which is a ne nose ~~ the _ program —conine) + the sob — Progra — ae. the — completing the =a Sub—odine_ +8 _ RF “—instnuchin ang I ett pra. Map celle saith “the —_nstuchi + — Whanewsy _ Paice wm “rede a adie. jn eds tees iB a ers Sack befre the ft “hg 4 is NX eee ; ht ee then netunn inch _ 4p the main ee vet haeke_ pare PAGE NO. _oe00 H Dood H {| oo JO H bo18 HW | bozo H 0.028 4 oo 30 H 38 Hex code cH cr p14 DFOH_ £1H fF_H — Fl — H 9038 n is oil i in igh ss enable Fhe 1 a on re il ye avn) bh nesponse_ a pop eee (H Hho intonupt => In 8985. mip» Plins ane ed 4, neceive —inkevnuph re pseit ang called hl indernep) Tt has 5 infovupt TRAP, AIT BS, RATES RAT 9-5, INTR —.Whenevet any ihonupt pin of Hoe MIP ik achivaked by the peripheral. he execution 0 propuam jump do the predefiine memoar ts need the 8085 the xP plete the ee aa —t excultion After the —pnesent —_instnetin, addrws __| _4he next _inshchin sone into the stack INTR Sina Is genenated and loaded with. the memony vec addres of fhe TRAP sing) _ fi) 85715, 15 455 D> RST inshcons nt se gy maskoble ntowye a ak “thasugh. aprsopriate siyna] & hlw —_ dechniqul Werth. The predefined pocatisn rk. Ahe_mesmbny addr the sevice nouhine for the nespechve in fvanuph. ti) TRAP :— TRAP) 4. n0n-Maskable _interropt tt whith~ js abo called NMI. Tis ___uneffetesl by ony mk on intovupt enable - _ FH b&b beth te ifr anf rey intent + 14 _has_the = hight phovity amtany the at —_intowup: ” 4 _ Prnocers for TRAP intornupt => 1 [Jhen) trp signal. sent to pentiphena) «Mow © program counter. pare: / 7 J | pace no. 2 [thes Temi send ack. fa th punphinal ashame - received Aer dnat intermupts_ ang semen aed A addanes seats -nect— instuchia is the — ’ cor ere ~ fo —the__vectot _addapess. ___ ii = T+ is non-wedored_ suka inet — a iS neguined _tn__delemine + RST instnucons and then use > RST jnshugtons ara commonly wad + gta sly ~ britakpoint 43 debuyging _echnique. A brookpoint pa ne -shht Yo tshurtmn in o pn i a extutnn tf the Prpiom Femara a prmyuam 4 ntl i bemetinnil. Gy tne ROT 4 cation ~The program — should be poontternad fam Ri | Ination Yto the — brwoakpoint service sovbive te Lol) the set for Gomning. the eptstor & the memony After the — brcrkpoint rode the prepum "should meter to execufiay ity main __preprart atthe bnegh polnt- —__ Difrance ble Sh and hw — dntenmuph => | Hw Slu) a This the synchsnnnous event) Tt 15 Asynchaori us er Yi) The inlet ts executed [Es nequayted - iba me inshuction orlema Tete ~ [Propane courler i inewemeld| PC not incemest Gv) The punt ob hphest. | Tanya Jew than oe indonnupt: v) Ft @n not be iano Te th he anon (wi) It 6 met nth Tate te it a tp! La yo pempphen), sued nn ebeggne device - The B59 “work. “with. “8050 fn controling the +e -opeigtion of 850 - T+ on ee ay 8 datas to_the_ingtnuction- stent» [ tT a abt re bane mete ony in___the memory. | —e — Resolve G teel of ipl ply mq inesttd mode TP _vonlety mode Such a8 fo Sot fee sil _ notation toda _* rh _ Mo | pat a T iivj Mask — each —_intoupt 7 vist separately» ___.W)_ Read _she ——ieh —f — penfling _jinternvopt™ tin deumuph faak jake - i wel a 7 "Th jntludes 8 block ton} ic, —nnendluoiit _logi ust im bu bale ae ti Rese —unite—logic a imal = ? i. the _addrww line so conprslen —ateebed ee aes 4 nla — api a he 2 ping INT TNTA - IMTS tonnected ty he 4 \alid gou— hi oe internat pin of th inteviupred us Th °F dhe MP INTA e MPU... bhenency | eneraded tha signal i the ~ tay Intent negate. purity Remo a IRR [Jnbompt Requatt apps me, aE ma Ee | ster) fil bit of sit The PR tk thn tht INT —* should Mt) — on nots Ca th 4 3) Te ~ _The __The oir _ Ink a expend the nn toa. all the , senvired Byd tha IMR | ns eee age oe a - Duet and store Hro_ maski —_ neso)vot ) deform! ant Stored Sk C Intesmpt — leve) ‘sen | damn ha) thee ne In the insenu/c€ that to be nate | exgmine mine be sent to the | tmp = SH oe sae - jnkennuph fo fwd More. Poe _ —— ADEING “of 8259 => stones the Se de 4 Yn trap | —— FS Black drapraey th Basa po 7 2 —_jegjeaisettaa ef - i Tt ss INT the appropiate pany ~intiupt—_ruquest ix being served _nesolves the punigend seb — igh whey + ny. he ef the rrerneny focatin placed in the tonto! 4 — 4-9 te oa NA eet “tho TSR Bit ie nowt © “Te ae hy aytt —mtmory —Jotdion __ speetfied Ht pra_colld tin invhne Q255A— 82550 box 24 Sport 4 9 BE hi 0 penacting mode O) Tnprt} outpt enode = Gi) Bit set [ rwet rode CESK mode } cd) r]o _ mode __: = ¢h) mode 0 _____ 1B) mode 4 (a) mode 2 (a). Mode Ds = This 3 we honda tthe dinectiong| To fio agg ht ana again c \asorh'ed wot Sap Wie Lon chonal cont } 4 3 é ! tt simple mput & p ute BSR ——> Dy De oF D Dy_D. >) Do / — ah 4 a Nosetey BSR Te ttn 1____lexep=0 r wed eed Sto 0a _ttode 41— _ hadley dis en f.- ~ssgpece pa prio ‘ty cota!’ Sach —_ yen 3 port Ca. o ¥ 8254 prvpramnasie intenval tine t— for genorale spo poll 4 fox delay ont faked sore time before pulse hor counting TT pede 0 Intouyst on _-Jeiminal Codie Ae ae Mode d= Hho ble One-shof __Modt 2 — __Kate. men _ Cloont ene — (Arde $2 4 Wane made poe —_— L t — “ede t= pee hohe [ aa re Srnbel fetgpentic — if pe Drpplicatio’ * of LAP L— | fea tine late event oondery. 7” sige! ant shot, t= suraable 71alt gonad Spusromi gccetn fo rei Kiron nate_motipl a b papacy complts Met _tontyoll _____— P04) — td aed to provide (inter bd - key board & display — —keybeand_ ent =P Connected +> 6h contact key matic “ne entnitt & Tieuvsd hdl “EEO » Indeonupt- peli gent —theath espe _ Siig __Displey Strantad 2 b cha acer sane dicpley-— 7 8 Bit ee el 1 fa if Te ao ae ~ RAN Pa L. &xplain. Vanious program modes. of 6279 " pa g Dey "omen é by. The, INTEL 8215 q specially cleveloped for i ier ng kr beard and display devices | B085/ "poae) og up _ based system, oT innpontunt Feotun? off #2 ane: lel | 1 Sirnul taneous hep band g ciple) apt >. Scanned keyboard _innod ¢ + Snned senior pa tg = -choiadey oe FIFO —__+j jk — ply +} Agr : tale mt fe byte dp RAM L * Pp __ sqn_ timing j a The + major _sechont of 8279 aw_k — pn display 2 cpu ieee ‘lami = “ ee ard section —torsist of efcht — Ree he oi pon sa aaa Ror __a__keybotnd nahi Th = Toy Aditi inp chit otto ane ockwut 4 ey 7 “eyed tte als have an ME FIFO ¥ ui ay sector) : ry has 3 output_lines divided into 2 geroups AAs ae |The cathades on tonnectal fo seq ey thn 1 a ___tnansistons - tals ‘ 2 _—_dibplay can “he blanked ig RD. (low) dine - The San—sechiey he a sen cwniet& 4san - nes Sle to thy | 9-—In ~demded ston _vnvde_ the _blp of Scan linet { “will be Simjlay__ to 2 decoder — [2 The sean lines ane __lommon_ for mus board = g display ______— a) em serace. seca —— : i i” Fo deta Jnansfor } ¥ be aid “Seon Section t 1 = The —¢PU take pw 82799 The stat eect ee Minna i a j_b)w_ 8219 4CPU- >. The__¢ ine geet Ua) ~ | Ap ont — onte to 8279 +8 Bip —all — operation mod e_of, 2255 _'n yo i of 9265 angi Thee _ant__2 main operatinnal “mnder_of 8265 - ‘ 2). Inp _enodé ae Gib el CBR) mode sl 6S Oe. SC US UF | ‘Ta mode again clued ots p= (or, oe 0 Sipe an le, aa = TWis _ funchoml "won on yeS_ sing eat I output operuttinnr fon cach of. threp = Ce No — ‘handshaking’ 45 epined — da i = simply wovitth © to mq specified can AS wrest 9 . | UD) Moded + Thy aith he andy — In mode t: oe fprale ane exchanged Baa eniphenal pris do dah “pantie ke = Fegtunes: Two ponds CA2p) function as_| 2 8i+ I) pom They Qn bi either a i/p_on " o}p pure. | (cd. Medeor: — Bidinechana) _ opengtion 1 Thit _ functone) — tonfiawuchin roils aan tn Gmmuni cating” with a —penipheng | 1 device on styvetuie ong’ Giingle 2 Bit bu fin bath _ ee ——nereiyig datge = Tntennupt on 2 e'nab, po pati oe able | disable (4). BSR mades= & 4 —onatigble. =f __§ 8 Bit “t ~ which {an be — a BSR mode is “Cancer, oe stk on pusek "by “itig an_appispnak control word jin tne control _neyister- wad - ‘ wntn) word with bit Hes is geupgr! 4 BCR __ tonto) word. > “Y aren't loi __any pntviowh triomsmitted toro! word with “pit —_D4=1- , 4. The Fh spl of punts AS 6 aw oot } iL affected by 4 BSR conto) _ ward - ares —faxplin— ape -tontro|_word of 8254 pit with t ORO Catt all [bes The mea ‘toninol wond_of 8254 6) — ‘ [ Lele | gw. L pw Mel al mel ec pic I + Heae by tne oe was by woe ele Pe seh rC_ = To Tse sey Selechin ff Oo Dive. Go _ + =! 0 | Gs ce | 0 ws iphige en tooth te Read back shrhys i [The value of RW, & Ry ane “aud to decide DO the ad =o _openahion _

You might also like