0% found this document useful (0 votes)
12 views25 pages

Microprocessor

The document discusses the architecture and functionality of the 8086 microprocessor, including its data bus, addressing modes, and instruction set. It covers various components such as the ALU, registers, and memory management, as well as pipelining and instruction execution. Additionally, it outlines the different addressing modes and their applications in data manipulation.

Uploaded by

prernakaushik039
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)
12 views25 pages

Microprocessor

The document discusses the architecture and functionality of the 8086 microprocessor, including its data bus, addressing modes, and instruction set. It covers various components such as the ALU, registers, and memory management, as well as pipelining and instruction execution. Additionally, it outlines the different addressing modes and their applications in data manipulation.

Uploaded by

prernakaushik039
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
haste buses > Addstees Rue > ‘Date Bus > Combbuof Bug. 16[ Padres Bus }> 9086 hore 80-bit addbeze bus. 3h con F° addoer lootens. Pddbress Range = Pye to (FEFEE —s booed, ISS ' Binasuy = = Ol (* L ee cove fy WH Mi iy HY “] Ocal = 0408 Pigiial= 0409 ——g Hexadscimal> oto & —2 he 0) BQ) 2,4) 5) 6) Ty8 14, me c Prey F —S whee 02 0000 —e [2 0 ool] = Y= Ooo —2 t a } \ at Feoonyl ) _s &. [Deca Bus 8086 hag I¢- Bit Beta Rug je st can qevex date : 1M one pSvaton. The ALU (Pedhmahg Logie uni % intemal dats. segisterc core also I6~ Bit, CRE 22 alee cbt sal aka a ; paront f2 ©| Awchifectie Of RoKG mivucponcessor [Poor o ley wit (822) 's divided tito ato pods ee rade undk (E v) sleslesteslenl ft hhh) 727737333 3IIIWAWANANAR, dal sae egipion Sestinadion irotex a sk | AO Bit Cddyeu hs 7 Re © Phypial adcbrers = (Pose ocdowse x %, + spe tented ge feovidl st Bema neey a ae ex 3 S vy 3 2 $ . & leHtine al inSbucion 1 frstuuction-| EN idee dee 783 2 poe Ise Peeade > intbuuctiog 2 800 = 1 ato [eb seco =a These eve. Pecode WG Decode \ee a a ll ttd=Yiee aa ~ HL %, R086 te fastey stra 808s. seed $ = gq 3 & s | : Pipelining. 7 Quene | Sigent Reba }> pr ty Code “fo Fld tre base osores: for josie, Peer, rm “ Tt Ir roussipled by Ie Hecabiaciread. ip give W S0~dit cddress Y code Serpent fx Css (1256), Rese cdoeey Prysiod — 2 (l2560)—_5 MUsplied by 16 wail ( 9) fled by AS opvent sf Tf YN, Pata, Segrment (22 p Robe sho Edlartegs pose dal mernoe 29} iyeruubtiplied bg exacecima) Fd give the Go- bit Sorting ee Of Aocla Seoment IM )S00K Segment (58) 79 olde the bare odebreay -fon dre Lack memory, ! 3} Is maxetiped tag (19), O-bit Shooting adders Of sfack Mrervcrg " ef che baxe adder ve the os the OG Memon : rruuiplied by (le), fo give. We Ie -bi4 Siding oddousc Y ea xcpsrut Y inebusction Pointer (I) > I olde she offset add O{ Next Palhweb'en in one | WO Code Rament. 5 ie frvwamertted oP MEbuLch en And is Contett Que modified) in 'ca He 2¢ cds048. © [Pipebning ico C-Byte Fahim sat aw (E36) pm used to -tnptont Pipeline | The BU ( Pus inter foce- unitf fetches tre arext six Irsbaho,t Byfea {pom tre ede dormer JD cbre Gugun. To HU om inSburction Bytes + cttenge tws ouptes, the Quene muy 9 be empty -« Focning the NEE Mpowdien ushile a “treouding the went} Mrepuction fy colbed — pipetining a sot c a a > Pipeling foils When Q band Mamucten OCR cy Me pat Hetch ingbuctent ov1e. ne dong useful. n a q Ay enoy O [Execution lit} the treowion writ (elcher tre trated zen re favor the drubuuCtion quo cecule. and ota => Pxeeult Hts IH perfoens cvallraitaly Lea all , decisén- making C AY and data Many pee Opexationg, 9 Sorc soquert, to BIV ak a & + oxccxs extol Mediele + Siqraly | a Main comporents Y Oxeoudvon unit O10 6. g ee. i geroeal pepore Reiter 2086 have four 16 Rit pool DB holde the Offacr adldsiess tor ue SI) the data vegroerit tub Hh can oe used for te Stock segment 2h involves Paebwer’ons Uke: sbuiy operation O Rare Pinter (BY —> yp used to hold ane oer Tadebceas of, Stack In the sandert ancex Memoxy (RAM). 4) Destination frdav(DL)> Di used Jo hold une geet addrwas g dushration mn exbo Segment ducing Shing epoxation li) Ratnmahe and logical Unit > 9066 tas KK- bit ALU Pancetionr) UBhich can pedeurn Fax [bit aithmatic and Uegicak Operations. ivy Opexand HOH» ay |b bit Segiter ured, to Controp re Other spister 40 food et store opewden Terpocouity Ot by Jemmperecnite, not aueilable to Progprarumes » Rag Rec > 4s )¢- Bir segiteu. Thete axe 6 Fatus flog and 3 Cerdsof fogs [SFats Tig Be : — {loco Fla (OF)y 3: SVYtoro Rede} oa Fg oO. ete Sig Flag (S41: Msp -ve 0; 5B is NOt Ae 2050 flog @P) Ty Reaued ix Zero » Of Reguly is OF 2eIe0 Poaitary Carey as AP Utip cane 0. No qe eecesc AInnnnne cece % Jzaaazrarararayrzya ‘J E Pardhy loa (PO) vay ' a, i fey eis aes fe © [eribcay Flag) vivection Feag df): 5.4 Ruteaecraonenting | mode | Puts insworentny modo ;> THevurphenabee, (30 Le tnabto trkeocuph : ie Bap laa (1: 1; get Is Yo-tin diagram 1 | et Ra \ WS SA FREE {9 iW aia fs I & ak bse }— TEST af READY Nin. FARRAR Qo |. pT aaleetier z \9_ Jan 3096 ® D-Dis~ PDg b> paubtiptex adders and data Uines» 9} behaves a1 ouldbiegs line. dunirg Tr and bohaver cr data line cuwdng, Ty, and jouer dots Do- Dis- ® [Pic Pig Qddbrers Uines)|—s Atong vslth tne Stam line Se-S¢> There Liner corsug 6 bit Aye- Big cuiing Ty of, wes. machine Yyole. OTa crude there Uner casey the status’ tignc © the Sa ard Sy frdicates the memes Fog dwvteratty ured . So thous He Status of Piterrupt enable, Flag. © SE goer boro (or set to 0) uthenerer e056 Cenisvop the © S ard S ard BHE [tus High erable) axe Uved tp Oceeis A board o% byte. 77727 FIBAIIAAWBWAANAANHE EEE OARS hhh «BY REY provides the Clock, signa a O| RESET RESET Input Signal: 9) Reet the Hap vericto ri and imetuchion cube. TD abo dey the De, “a 7a ie Es, Ip x set the bits Of Cede. segenent- pts OlREADY> thir signag ts qroatd by and kk w = 7s . Synowmonze the Mictoperoescor With Loupe = lores. H He reoag fin Js lotds UP ined a wait ¥Elto Sas. Bd Ty yele uni becemes High- LT nr Pel [6~bif wil] be Access Uppere Lif fll be, Ccoesed Lowey & bik Ut be AcoeKed Idee State 9 ©LK pi} a is dnp Cock An extomnat go clr prone, Swe © TEST Sn js an active- bow input Ure =e Zh) up! min.-mede - cee oO UP =\ max mode “— Deir pm th »\ When @ co~ psocersort Ie od€-_Sn_min. ley Ht Is connected to : [MN /POX|-> ie an Input signa to’ 806 » De dhic 9 gy ~~ Sidra ts thigh, £086 peat. bo mMivimum | mode be Shagle processor, system « HY this signal Jou , £086 operate in maximum anddeie a muthe pHocekOr” System in cane ©} ron © [Nex] » storde tor Nen-rmasRable Iriteowpt means lodty egret Be auctded ard stave fygrest puouiy ard Pk B an edge csigwed irtoburpt 6 Ent» 3+ Je Q -maghable - Level wiggd tilowupt + His, Vowoesk psiodty trioxide, OF le On active Low output signal. 3 Tt r, low, 8076 ste; menou F 2 ed a meno ge Mm puch] wader To device Olvec and Gup) > Used fee power 2upply. ALE : Padus Latch enable 98 \ Ox DT/R > Data tramit | Reeofre 37) Si f1px MODE INTRA : intooupr ceknewldge ay | as, i Ouene DEN : dade erable a¢ | se 2% ~ baw UeTty cee Memory 01 Todevice av! Sa ; . Wwe: vosihe 29] Tock ; to pment ancien F Muvp : Hold acknowledge go} peenceasca 7h 6 squat coordi How Hold ‘7 as pal e 2 fr), = S9ain centred, & RO, JoTe foo Pe b ‘To be Bn ani rorforuned +e posrfom choukey , Payson Gddrwr, , dala) Mateg |» Bis way 6p specifying the dat to be “a j epoca of on rated * ino Trdrwet oadhressing rode 7 ty yd DImmediate Addrexignode ih thir made of addressing s ‘ the opexand is pei by he invbuvotien Hseey. © Wore the tneveuctions ae longer but the Ofearde ose CUsly Ident Med. Peres yz | jrve iunjeaiate) ene cethiion. Source "AP Pts eg joaaner dat mv) (cL Ton np) @ sH pede deep ration Rep ter 1) Regier cadresing Mado. dh Yhis modes operand ig Orbuae M4 phe ON NOt be spoelts Ory Po Shoibor but Opoande Pan eon Red ay lwoning at Yhe & mover, DL * pata a DL meister move to OL Pesyat a my ect oddresing Node? he adders 4, eporard is : divocky, 2pecifjed Me he inpbuicton &4 Mov, AL, (29) © firdixectodaraning: Made}, } Resistor hndbect cdldserong Made» Miovoprororor Uses b> Base Roguto Ne BX Combimahion 4 (BH BL) Y ST (Source inoien) ond DE deHiration trolyx) So caleutele ane Ofgrer addrozs 64 data bytes Sn this bype of addrerndng, modes the Rea bien ccloldht, Js tpecified ex- Mov cts [2x] ar cdoboss + EXC + [BK] eet / Wey | doko | ia ef ) J (Ease Sade e+ Offee! Kw Thic mover @ bie fousrn dds poivtled by Rx Lender in He dala SQrrent to CL doytster . Register Relative Addressing Node The cpownd Qidrere, tated by WMO ano Wthe ave tester ad @ eee or Jc. Rey ME Plasorourh )\ Aaa aaa aaawianrannner ee cers Qaaaaa % a Sereseem EM ard Ayppica) address car be coleulated 04> Mov, (exry] hy, cddros ewe, t Ce) oot A Mic move a clata fecorn adanenoss porreed l LOA) br J Segwortt fo CL sop ister cand phugflcot cckt.- YW F Qlulated 0 Bove fegfaper Pua index Regiiters Thk command Moe & dary perrad by Brest hn the date aagenor te CL Paiste. Geo Mov CL, (Aft Sz] Pruplcal add. = Dexls) + (Bx +SL) Iv) Rose Relahive FrclByadd dddbonsing Made — Index 9) 3)k- bi} dicploconent mov cls [ BxtDE +4) ‘dala. pointed by BEDI 4 in dala Seaman te OL sagt jet ded eras ear ecis, 4]| he 4 aa _ ai andoas , = PRasbuucHens J» Ceauwitjed tho vtec jay 1) Pdthmatic ond logic jrbouchione it) Peta bantlor imebucone fi) Soding maburchions- b [Pdthmatic and legial Ritvuetiens) a) Add 5 . This is wed to add the contests Of eR cae ctions aettiration usith trad Of Zoutee ord Soe the steeudt hn detnatien. AY the Rags 1 modkfical after this mebuschen Nae r eee ees ADD destralien, source —> add the canbe ohare destinations i, © ; SpA» memesty ald, > PDD ag sani Ls wht qatitio ound SOusIee | date,sagiie> bpp fajber © AL ord stove im AL Rijey add oy . Bes Daa ge - nf ft oldies location print AD vagy He jter ord. ee D Liaay,, stenbe in ae efit tester ord ere add dats, (laay, . DY ty content Hace, « ‘ aD PSIG (0) OM Sloe sunt mee te « BHA aid hve Content Jaaty of BH > 950 a oH ete /ats otracery © Storeocoauak fy, Ipf Sip DH Lom 1) ee i Sto ¢ lool Ay Jole > px Me AL, (is3yfy ; pee + — (008) | nm tt tt as tt pa tt "@ Suobaotion fphesten Gubvoel the Corments/data Tpivom from aho destipation. » PL Hes flaps od voillbe aifed domination 5 (curse py 9 Susback Medlata. Of BA fvsro AX ard Grow the reguplin py nagiter- SOB AY» [95¥),-5-Ax- (321) Ord tose Guts in 9 Sup, x1) : | Gsxio, +2 Peed d) swseacton With Bo-cous (S28) AERO 29 ewsacy dine Sourtue and beso ier athe désivasion Per fags wil te oodified- ho SBR destnalign, tore 9 ERIS) rt ett oe oy Aa ule AY SB oAy, [sr] et % a o> SUB AK, gi vit th pevererir a hacbuuek 2 Mousse ord deeae coment” (ive and DEC)» Thexe axe Ured to Inounie 1 decwase tre corto Of Specified obestnation, AU the flags are ~nodliffed INC | Cleetination N P&e clestination ex Icke vs ee Ax roel came me vreqicter WIU be PX a.Jans0c A “4 1. P _Mubisty frsbuicion— (mul) Hpsowre. ie tH : muuttipled by content segita. Ord store Seaurt oh ee oo a% Source is M-bitg Pt Is muutplied b . is stub usill be stoned! fry 9; hy out contents | data Of Pxougiste. PX lowe bite Dx Wighou ite J? mee: This hndgwichen wi CHa AF (Punt orey fog)? PE (Bout, May ZF (eww fog), SF (sig Pag Pye, By This usite muctliply Pre Cortent data. 6 “By seqich with OX Seaispor And Dove the Xeeut-in Ay-oy + bower bi of Reset ie Sforee/ in Ax anol Hlgher Ay Cb WH be oud fy DX Heit | = lenlaaientanlenlenionllol loli... _t} fr mt fe fot u a s Pi u “ c c c c e e e « . a fn ™ a x x lal a n = 2 ™ ae) ih wy Uvision iintbuchon (DIW> 94 ust dévide a wed werd by pe fh ee by DIV sowne ? Df tne divin 14 & bit, then di vidarit 15 wh AX 20gfabee ond tho seyult-of Aivijon the Ouotiend in AL raguite— and swmetinde, tn AM Hoencton. nodbvvon ie I6-ity then dividend in) avis AX Dx egichonr, Ounk en in AK W297 fe y Qnd vierrinden in Dy 9¢gictOr (5-94) ax Dy Uoreee fog vite i Seu in hy phy >, DIV BL > ‘dlMide Yhe AF cenlent/data @ @\ by cOontunt|date Of 6 L. ocemando Oueherta AL > semaines in AH. ! < Lt th 1 | pegotiaten ee oe NEG — dastinalien is combplimont: 0 each BE & [Link] dusfirobdn andl Store teyult al destivraton, 7 valor oda > Ney pp 1 jens iw ow Bh Jol o}?l Ly gle “ong : 4 lec ds aero Ut ntti my 0 all the flax o1e mmodirfteol After chis druburetien - and Sor sexu fo dustin. OL) Compare, irvuction COND) gy compres We Seance AatA which May, be a suagistia, 0% inmedions 4 A Mo Tremeeuy Cocation usith Ano olsaimahen + Subback the zou.’ chats] conti fuori he aappohr9 aaa, fee the destination and the xegult Of, HM Subbacko Ls not Sted Anyrohow., ju? the pry Qa, Cracked Comp dastrahen, Lowe Gel) destinabyn opoard = couse Cpoxand =y Zou Ge ti) destiraton pound 7 Sune epoard 0 Case ii'y traben dota CF= set =) — Louse dats go amp Ph, lelloods W MAY Poon | lot pl t oo r (wou Geb 4 _yo\l ood] neans 4 pe rovoo tt w | Coss Ph | Bu, c AAAs aaTAaAaAAIAAmMIAANANANK EK EES A id a (Logtodt Trstiauction ie C © ANP bubweli¢n. thie void lygically, ND cach bit ob Souuee nce Wilh Ihe crowespording, bil Of detrraben. te anol ere. tne ntnepertagy Hell” jn deAtticahen. 5 oe CARRY 5 CU flo flag ane Herel: PARITY » SIG Lest = al fected Ruxi Wasa, Fag. = undefined. dite diel el > PND AL, BL Je gicchly mop each bij 6 ods /eertart BL stegiste Us vomexpending bit Gf Clata ®{ AL seh te tote seat baby In ite — hh xy) wy BL voljojoo | 5 7 . PL FOlIollo t r 00{1016 0 At ste¢ b) OR msbuelion> This valu Angicaty OR eath bit of es Source wlth Corures, one bt OL deshnahion and Stone the sesuey in dettin fon. Fy Wolo > RESET ASL $29 S Of fected AP = andl ined. BL OColaloo xy | xy Pt 1)10)0 ° ————__. lolloj qo “1)) ©_NOM fntburetion > Thic will cermpteent tne bite Of specified ogictert- 4 NOT AL: comptersunt each bit of dato | vempte content 0 AL >eagister, and Store equst back in AL CF) eveflaottag = revere? "Sie flag = abfpctid Rf = undefined « d) YOR brmbuiction—> This insbuction ts Lugiaily Xk COth bit Of seusce hn € bit OF clerhination and steve +e ont 0 in Wado. slegictess. &g>, KOR Room ty each bite 16 et wrth Sia Ue @ date mt “pie BL tenis Bae ae 3. [Data Tea os Paro Thshuuchon fon] [Link] Reyictort- Q) Tn ond OUT ingbuction >) ot tft fo J tt Jet tH HHH FFF ADPTAIIIIBAPBIIFVIAAANAKDE KEK EES SS Abzz 8 Jarre2e d) fosHand Hebuction+ 9+ deorecument he Stack poinbor by : Sand copia tne wod era se SoUHCe to Joratign Where we es pobrto si pornds: feral TUCH source Vd SP: 0023 H—addugX> PUSH Cx let Cx= 1020H- dat, cl (Ca Te ]> cers ‘o iad BX, + 0033H)> SP pointer fost pointe to Hie oolebreps - clfler MUSH Command adobters ic decseamerited by ~. Hhin date is Gorxad tn wet EEL cors —=l2— 603 © FoP hnabuuchion — tr used to siebute the detla {uern se Sack: Hoe Stack poinkeis inowamettad indie hon fect MP anthony» re POP Intnucton &3 Pop Cx poosd 8032 Joos Fi vb ‘ it Now slack ponien por te Cuer, 032, p fe to w gs ANWAR RR RK RK ERAS DADA AAA y ReFeRee meh Iededa tea tedede ttl ttt} } tl { i nr om aad, Ti Ve eh Inepunctions — Sbang Ba Gpoup of buphe Oe wed. ard dhelY me B Ml socayys allocated fr ao ZeqLentil Oxdose. % Repert (REP) intbanelien—> This fnabmchion s16 peat until _ 8 theo) ear ; REP. a Zpecitied condi non began fous ey unt! REPNZ CX REPZ cx 4» CX #0 REPNZ CK 9) K=O until » Sore (To) inubuction > Fy js ured to Stowe the contents gros Cuceumulator bho eda Seqmest & 7 rent ¥/STOS STOR ‘ w Cempsie (CMP) intwetion > This fnibeuctioncempare @ Cope ‘Byte oF usead in the doh ome Segment wsith ane extea S wp Segrerit> o Wad Q Bourg Lecafen ported by Loar inductors Thi mrwotomopiona bye DSA bees pee saunee indtx(%D) 4s the Geewmultos - del ©) OUT imabuoher _, This Induction us copy. the byle ] ZA WEB O41 Wool cere Segrne tt fo Se te To Ksoad. OUT. uTW 3 fb 2036 = [Pssembier dovvalives}> A Special code de placed fn the canbly language prgrarn pasthic i aofine ¢ @ Por wonles Ord athe placement °} preqram No “mashing cule i fp ghare ran tok k fe inteun Dy « srt Stanctoy end Of co prepanr or poucesd Opto oreretve, CU Appropiade Ppauce chooge- Some qr conembler duttatien oe — 1 DR (aefine nyfe) i) Dw ‘dtine vsord) ii) Dp (define, double word) 1) DH (aryfine Quad woord) 2 DT (apne Ten vod) i vi) burl) => duplicaie > vin, SEGMENT — stash a Sepmentt. ht exstth Coen Vond oo eg e3en tree | SUM» DR 01> define gt byte with value O i) wih’ mame Sum’ RRo¢ — Fescr Of a procadeoe x) ENP ed Of gocddinre ¥) ExP > ed Popa moans cory athe wood pata = | Procaio 7 ix ite function im evsenbly ng Popam, When we Want to We PasHLeLOr AQLLUE Of Inibwetions in eth pou en Mee ne 4 ae use. pstoced Wer i piccadae is hmplumerded WY vag cat ard (Alona ger) tnsburctions- vv 25 — precede PROC olowelive +e clepine & procedure and ENP fo end @ prurcedure Types Of procedure auie > x RRA RO procure 9 she precedeow & posed in the yn Yhee The Tah Game code & ank Ts Blorad fo ure memory ren THE Of pourcedune ic moor pounadwee. for the mene “Protdune , CALL pushed? Onby cthe HP Seq p3HO Laue Or the Stack and Aho Wi be No Change in the adore DY Fan Brocade > TNs procedure i's not available fy ———__,— __ the same. code cegmeth Oo the of vray fpeogaaun + GALL tmwucton puses' beth the TP and CS codex rr the Peouning, foot poudue- ii)) REENTRANT Proceduie > AIAN ANAK HERA AR leeleleeleelelententa 111 hte} Sad Puoo & — 9 Bioe 2 ® o/\_ 2/7 \_A RET RT i the prrcedwu | te Pucsture 2 ard chen to the madn peopane. OE aly colled Nested boo ‘ Y) Reowaie fig & Recwative Procedurg ¢ malin Beate prpare shed. esc sy) aay fee & seh PRRRA) {th th Te The Recessive gap preipaines fhe, No-iphcttnes tnl procdire K repeated [ex Ochartege T) Pedee ze BY popen UH) Regyie Less reno. (0 frectechunos "can be used drm ener = ‘fo coup Aisadvardages ~ DH sequixe more overfed dane ‘pugpar~ 2 oe protedive and Pefuxn +o “ot QG\ Bae he sae maces

You might also like