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

Microprocessor 1st Module

mp 1st

Uploaded by

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

Microprocessor 1st Module

mp 1st

Uploaded by

Anna
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 24
| MICROPROCESSOR AND ASSEMBLY LANQUANE PROWRAMIN ——————————— Micaopaocessoa is a progam (omkoled Gemlconduclor 1c i which Telch, decodes and on imslauchons. the basic |tuackonap blocks of @& wuctoprocemoa axe ALU, an astay ot eg aud Contto) Unit the miteopaccessoa %s idenbty es ‘with the Size ol the dala “the ALU of the paccessor Con “wort with al a time. é Example $- og processox has 16 bit ALU Hence it Is Called \6 bit processoa. ‘the mitrnpaocessor Communteates on operslos Sa binary numbers ‘Oondd Uo Sek of mslauetions Tr the Yoam Of bivauy Potton % Called a made Ly e . And th & Aerrealt to us 40 Unteurtand theutore “the biviary fotlens oe ‘given. abbaivated names Called mmemoures, which Form Ihe assembly enguny: A Bus Oagpnisction &% & gaoup OT Conducl Oa wares which Cosgey's Yutoama tio, all th Devcnantea tone waieropnoiersoa thacugle 4 Thisbws comin bls ORS | [anrut | Babe | (a | TT | Le ~ Conlxol Bus J DATA Bus last Bus Canis dalla Pu: bnasy Foam blu micao panem aud pita eclernal Units. uch as memory Bh fs Used to taanswik data thed & Rutoamuation aul OF Aathmeb& hogte Cperatfons ele Hw mowroay aud wilro pAaocessor . Dale bus & bidiacctfoual WM walure .“the dota bus width of IeeS Wumnpancessoa fs @ bu. Abpress Bus ; The Addsess Bus pee Adldaess bus trom wiltropaocessoa to the Be goes vaitroprocersoa Cowlains te bik Unidiaectfoual - CONTROL BUS — Cowksol buses Oe Voatous Wines tou Koa codinaling aud to y ALU reese i al id Flag Regios ae Cw “A conlast Owike a al, i Covdsol Bus ms ‘i Petes Gas In qa Stel Boies aeleased the woald's 7% WiCADPAcessOr - \ute} A004, & A bit processoa- the Basie-tanettoual block of wiltanprocessos Oe Aw, Flog Registers, egies aaKa.} | Bog vena / el poi ths a), EMobile diab Oui Twang, oud towxo! vutl. ALU is the Computotional Unik of wivop Tht eae tones ee el brls is called Flags nihe Flag anger The Req her axay fs the wtemal Slosage deity a $0. Wis called iwbemal memoay- The impu Yoa Alu | th, Dulput dala oF ALU and ony other 084 iMioarnadin, Yeeded Fox Paocesstug one Storstd tr the Aegisles ny You any mitroprcessoa thre will be a cet of (sting, ven by manufacture of Une miaoprocesson » on 4 Ons, Usetiul oak with tu wnicropancessor We lave t, wwatke q Pang ase Veing thew Inslauction And dys, them Wa memory deifte eternal to he micnoprrcens OF the iwasuction to be Hlehed Se 7 ; ae ee et ne the watauction Codes one. decodtng Unik’ and Bend’ Pu Control Ut. ar, the Combanl Unik will Stqvals dukemal oud exte Mi ropancessoa. Whe Tstauckon Pointer (tp) ee the addy Ao mompsy ound nas " | MICROPROCESSOR AND 15 OPERATIONS, 4 Micaopaccessos (ow be armed bo patosm Tunctions eve gives dada by Selecting vecessany imibuctios Krom ity Wrstauetion Sel: thus mslauctions ‘a8 given to mltA0 PADLESSOR by waiting hero oko woersety > wwarti yastauctions Oud dela %% done tig. a ‘ deu ite: Such as Kesjboasd ~The aesult Can be do Hie Output deufce- the Vortous Kinctions Petoameel by mivropaccesser (hn be classed Mo 3- 4) Mreropsecessea Raikiated opection J Tutewrt operation. * 3) Extemal Operation. MICROPROCESSOR INITIATED OPERATION 4) Memosy Read > Reads Dale ox imslauctions From t omemoay ° he Waite 3 Waite ala Oa instauct » To Read —> Accept dela. Taowm Yop , a T/0 waite —> Seuel dala to Outp | all the opaations ORL peat Of Comrnouni tation Process between Paocessoa avd peripheral Aeutc, Ho Communicate wrth Feacpherols , i llaiiaas ewok, bo peatoam the Follow ng. step : | 4) APleobity Feiphoral Oa Memos locadttou &)) Tromste brane. frkoamalton- 3) Bovicte Sylva oR yao wizatfou. 3 Fa > Ifo: Coymmuntonte with « mena ay 02 40 read Aan stauction From a memory location the § ‘weitaopaocessoa 45t places l6 bile addacases on ty Addaess bus: the address on the bus ¥ adeled on extemal Logfe ceatutt ther the ye mien vad | fe @dentcited . 16 bre re NAL DATA ( “the Amleensl dole, Operation are step by Shep execution of one | 4) Seqyience the Execution of the tritaucion | 2) Store ¢ bik dala. DB Yerloam ALOpuation. | 4) Tet Fox Coudition. | 3) Slose dla Teroposaayy | Eg % MNT B, 46H Bete MN A, 444 Ac Aa - App 8 AtB= A wer ASETG HA . EXTERNAL DATA OPERATION Po ee \ q S oe ‘ ’ | | = tou x wee MSS ; SeuBlO]o. ot “hr —> Min Oader dy a he? Multiplened ag, : dal /S10 hy y SoD 6 “TRAP 7 v Bers yt G0% Lt ee Rst¢s_S I 3 ) Rstss—__y & | INTR ¥ | READ. How-—> ' External wa | Signal WTA _ wa Reser our INTEL $0$S5 Th fs on @ bit Paocesson | kilobytes of m “the roc | Aoqutres +5N Pow Supelyy curd Clock Tacqueny « Ve hous an - It genesales a clock Sigal lemally «the haare da a Si20 of goss is g bIL’ The Goes User a 16 bik aAdaess to access Memose aud Wwe PL Cor addacss 64 Klytes ren ‘ ( location: | byte of infoamatton Can be stored uv on nner oauy location. “he Signals RW BOBS Cav be classitied iu to 6 ete 4 Higa Osder Address Bus 4) Mullipleced ddaces [ Dale bus 3) Consol 4 lotus Spats 4) Exlanal Putated giqurol's 5) Enteral Sigua Adonowiledg monk ) Suial tlo poals- 9085 Has a Unidinetonal Nigh Order addacss hives. a ) Moumeiexeo Appress/ para Bus (ADs 4» ADS Tho howe Order $ Uros are oul ltplexed . “thocl Ps, lk Con be Used as addaess. Wes Or. dala lives g Connpor Ano Status SwinALs. re A. Addaess Talk lmable {ate i = Lower Order addnens byte Can be Seperated tiny, | Atdaaas 4 dalabus keg Us dls pt. Pasig a j Statttng oF eray machtue Cycle ALE Pu es Mg | OM | | ALE =\ Thigh} — AD, bo ADy, Connies Meter i ALE — in: [roui) . AD, to OR, Cores Data . A. Tlo/m The & a Aolus oe Used to oes bly ie | \Alhon TOL = 0) > Plana ing Operad | ZREAD eae (ap) . iit & % Rd ol Sepa Io Styal, whan =O selected tobe sad dala On hash § | 4. WR Ik bo wale tondzol Signal and id is an active tow lercnal ten. this Sgnal % “Mow. that %& we=0 - wai jopecetion B gd ore B. Sod Si ro “This Bevel Tenttly Vosious operations Fepamud by Ae Processoa ox ge the Sledus of tho Paocessos + Externaty Trareo Sianvats ae eee ANAL S | They one ilusupl RESET, READY Reset Vlhen Reser Au'® achivated. all th Bpesatfou 080, Suspended uct the pag td ea tt a a lows _ Bhognaun 04 execution Can bagi y Aion. READY Yy WW is Used Ao gre the anninoprnceor into » el Shoe when -thic’Pin is low Mino processor wok, 4s Sunhuontoe Slava periph uals. HOLD Hot Pin is activated by on. etlunal, Aestiee, they MWOpro.es02 LRansfeced the Covdiol oF buses Oud allows external prrigherals to Use thom. Tntereuer Siva $085 has 5 mlsaupt Signal "these Biqnale an RST $5 es ¢ TS, TRAP, INTR. Miwoprocessoa Ps Mbox urted Kom the mai Program exauhon to Cxewte Some otha isleuchons dA \rheseu Aoukue (asp). AcKNOwWLEDMEM ACKNOWLEDMEMEnS 1o Response. to the he Mino fancessoa Use an aku, WLOA Peo. IKGTA (trtemupt ae Mitaopaccessoa accepts an Wheupt aquest Use on eee raat INTA + IL is on a ‘ i \ow Sores A “tow at INHA Indicates that the Pee Ns Reece) to execute Wwhemupt saute aouline (ree) . 3 Seria to Ports 8085 has & Pimms to Implement the Serial transition Bigham commie erialer ini tandat., ¢. carat Oatpat dala). Tn. Serial tAonsmission ctata bits are Send over a Sule fe, Ove bit at a Roe. 4: Fewer Supply ¢ Sen JENIN SIINALS 4 -Nec= A Senge +5V Powe Supple &. Nee - Comneeled Ma groan BX) X_~ Mex pins are Used to Conne : Ue Gn be Use +o acset olf Coaected to the anittep. A ae Ae ge 4 sae Gy LL a Tmtemuyt Conteel _ Ono <— J t Antunel Dole bus s- Timing end contol couuiley — si > ee TUEY VV ETE ozzRe Sad 2 eeaame alec i 5 I | _ ARCHITECTURE of 8065 4 AW Aw Tex}oaro cailhroelte operations Vko AAAtion , Sullaacton, ytaennenk , decaermenk + lagtcal operations (tke ANtp, of, MoT. 2. Thani Aste ConTRoL Ont IL brenerates {tring 4 contac) Sina mecescir 409 the execution of the stanchion and controls tre data Fou. 4, 3 Rewisters Kis classed lo wo, | ) KegpAhes accessthle tothe cane ; 2) Regt ster mot accesthle to the PRADA Keaptlen accessible lot Tragaaromen 8% divided Two oeral Rapose & aeéal Fuapose AagiAers »*) Realster AccessiB te TOTHE TROMRAM MER Tnts o beh Reqtcler ane used to adore & be dala ab ‘the Ure OF ‘Pacgaany execution. “these are idecktifed mf Be DEM, L Ths Registers Can be Used a8 ee ti Thad €c Be, PE, & NL+ these can be Used to Store I6 t 7 are re OUL aT eR, DB) speciat Fuepese Kt 4) AceuMULATOR © Us on A and the Acsull Ps pred Yo thes no : — OF ALU and Rtenttted as arontster f & TRouram Counter CPC) It & a Wht rcafler Used to Sore Me addy, OX ‘the nect Thatauahion to be execubed » Execution of a Pregararo Ls Aoated by \oadtng the PC by the a address oF the At Rrstauchon oF the Pawgaan. Onte the Pnstauctfoo Ps exceuted Po ts autonserttcally: Tocaernecttod to the Nart tndtauction aod thu's paveess & Depeated Ul the tnd of the Romans. D> stack fonner Ce) this 16 bik angider Coolacls a Postion of the meroety known ag Slack And Cathed the coents of ‘tee Slacks chop. the Black 5 Used to arte thy (orlents of ster O Aegster pata cuarog the execition of a Pragaaro. 2) Tina Remarer Ic f2 a SL oF BN Tea na ia Gadicorles Cexloie fondo daaing oe a ae operations They 0% 2010, $0, 12034, curritiagey tant OA q Tasety Haq . | P fsdeL ae) [el lol Dy De Ps Pe De M2 DD Po 4) ZeRO Fa (2) Woe acsult of an Fnstau ction fas & Nal 2u0 hen zen Tag % «4 Otherwise AL fs aeset (o)> W & Used with Condikfonal Sump Rstauctou - 2) Sionrtian (5 ) If MsB of the aesult of an oO eration has dhe Vatue 4 Se Haq Sek theuwtse Th Ps Acset 3) Carey Tian (od IF the acsult oF an ALv operation aeneates a Casey ge flog es Set otheuitse WW bs set » 4A Awarraey Covey Sian Car) Dusiug on ALU bpoatton we (aay $5 transfered Yhom the 34 bet posthion b> the ah pal position Then tuyailionsy Carey eq Fs Sek Otherwise Z ts aeset 5) Pavey Finn Ce) “Tats Tag % Sok Only wher the acult of ALU Operation ~Conlatns even woof one's cud Tl Ts zoset _- be Toa odd no: of 4's Reuse vor Accesciare To THE PROURAN| A: dmslaucttow Regtsles 1 During ‘the operation. Ye opted a

You might also like