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

CA Unit 3 Complete

computer Architecture complete notes unit 3

Uploaded by

swethashetty537
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)
14 views

CA Unit 3 Complete

computer Architecture complete notes unit 3

Uploaded by

swethashetty537
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/ 20
[cpu Organisatfon ral i ] [epa t~ The Vbek of the combster that | eforms the but tf data | 7 me ’ al sas Ons ing ehercttor is Called Chu. hee S mayo boate of CPU one Shown below.” 1 Recto unit] coe pace] The reyisten ant Stores ithe jntermed (ate delq Lising the execution of imbuctin The Atv (Artheameic begic Unit). Lberfeorns. the. wequred micro obistion fo execte sthe. 2» hustruction . £ The conteet uit Svpenvises the execution ‘of _tnstauction 1 by geno othe li tnecessany is -Hminy / ond Y if vol signal. organisations | v Ts aon. eat Single Stack Genoa) yeqictor Hour wetors Pagan) Sation. U ® ergansotton, U || to hove he ene sea isto 6 ansehen t [Bn sha, Co eho ieee eae & yesults. | Hence addvess n | with | addresses ing Sea +he feldy, of % sperand accumulet or all ebenstto an frbtied | Instructors reese yequired three mention the and reawts Quganscitns mpd ave perfoom ealed BHE accummbatoy. The result | acey eboan Hence the ff of the Mater halls q Pan = Fhe nsbeuction mua have ony one address Fidds ~to ther areprthest othe shonnd. Skee orqanigedfoy f= On _ Thy group type, 0 of iets cated Vigy’ ntack fay wove the eperands. and seule of the 2 sherction, “the ane Short only the OS They th cede. Stock Ov gavadarhon | Stack z= Steck ip Lig e( Last in fixt od) Sforge device Fhe Howe, cthe dotq gu! the the ftem which ig Qat fg the ftest_ qT item | stowed + Comes et The PUSH and. pep ‘Gbuetion. wed se store the data on abe the bepress oft the stack (Tes) _ and T oto nem OVE ‘the deta ofan yes fectivelly ; Tpos Thee! operat] ous ane berferry fhe foe fern & thet one 09 on the ofthe tack & oldonrt seq ve ‘fob Ts addvess! Tpke arault 72 stored an J i ToS. tack _peintern( SP) iz tthe. count or A rahich $ ghewA pt he” isp Hf tack. “the of co Gitecks afack Type arse =o ne ant = and a memory Vv Sack. namely UI xegisten Stacks Rasta é Sat | mt @ dt ip implemented 9 is pe m3 a no. athe _ memory odtached ‘to re the Chu. ~ Hemery J 9 © [Sefty address ig sequved. vets No sebvete addy mejsta! fs aquired, Y elie sige is Gala ©The 'size tg tinted by the” size of main T Ww J | meme _@_} stack poids is intl |@) stock beiten fs es with se idHalige | with the Ls picdelvess. ” ui address © fos SEY Pus, sporetion ® fos aa pase | LSp 1p) Tneemented thostion Uthe SP. B___decremestat. @ fe ey Pep ebentien [|G fer 28 ROP theradhton Hohe Sp > fs decremedel |) the fae pointe? ig , | incremented [22 ea hassifjestitna ef Gostriclins bed! oy | Number” 6: Aeldrres ser. ? Depending on -the Aw of Bee f ie Niusteuc ton ave clossitied into | | i®, i shee Hrstsation @laa" i Ol 1-8 » @ 0- te a 2e0c Sraddvess iwhyction i These imbeucHion const | specify q ‘ Of 3- addvess, id) te ow memory process veavcter spond. t U The assembly dy three addvege idea eae fs309 arp by wsing below. ry glue ik = (A+B) * (CHD) Whore, XA, BCD 2 Memay ya sI ddwesses ADD Ry Ay BIS 1& tlajt C8) ADD 2, G 0 Si Ree moe + Ca) muc Xs Ry ba SxeRi K Reo The iS tht it out, : 2 oelve ie fom Poy same sthe eis od vantage ‘ead ae the Uinsbouction Peet “pequived -to mtn bitx fe adeleessth. —-phat- Shecify fhe “thee Tho the 2b inteucton = ts vous Sony Sw D=- address Snsbruction &-\ Thee Ant such on have, tidy ach +200 add sess, Spectfy ean either! 9 process fger ow mem ory words Out o+ one oo add se8s ~Ptelds , one adelwe SS Seehees ols one bE the | obeand’ befewe the | execution ee the pes after E the execution, The _ program fo __ evaluate the _ tnothemad cal exhression, er Shown belois. x = UR) & (c+) —— Se ee mov &, As Ric mClat Apd Ri, B 3 Rie Rit+trCe] ™m OVE DRE C phmekee = Cc] ADD RP, D5 Roe +m Coy MUU FRiy Ret SRY Rite Ra mov Xo Ri 5 hoe By Tit; i 2c, ,;¢ 4. pe plelpigioi#gvgge gs wR? — © |_ se addvess Gntrouction §- Thu justruction fa, L wed an implied A mwegister called accumulates cto eodtayn 4 one of cthe theand and phe E yar “of an | thoetion Hence = gnu one oddweess sud fa’ 4 Ww +o) wepvesext™ | “the othene ; therand the beeqreem sto evaluate, . sthe i rnotthaim adit - exbressi en, x= (A+R) (C+) |» i = | , , E LOAD A$) ACE mia. LL Ae I ADD R$ ACE AcHMCB) pe storey 5 MOTE fe ! bond CoS Ace Mc] ADB Dos once Actm{p) Muc Y 5 Ace ACK MY) STORE X 455 MUXJEAC @. Zeno) address SERS This — fsbucHten doom = siedl We an saddwess field ppadatel “takea opuistion= axe henformed onic tthe Cvberend | Hibeesedi | Enza lp 4a tacks T = - The __~frtlowing 9) byepwom “explain how jhe Stocf Tip U oneAnied per enlace the expression. 78° Shown below, [x = (At) (cH) PUSH fie Se TOS Ai Postt B 4 ToSe-B fed STOS AER PPUS Hiteia@dat ls” Tansee POSHa D. SiecT0S Gtyads 2 ADD acedbe 1S GaOEe Ct holy j Didi 5 Tos €= (e+d) * (A +8) Pop x 3X & (c+0) > CAB) ee geass) Mle purity nls ef | ‘A to sthe Y method whch the add ess of sphe Hod ik ment) on ed io ‘the eferand tied of the fartsuction.. dA _genenal hae one 10 addreseiy __||_ moder. v Q) | Omblied ore Gmblictt addvessing mede. Ci) | meds addvessiy mode. (iD)| Register qldwessinl mode (®|| Refister ——_Tndivect iV ey t | Wate Trevement [Decvemed= addrecsig mode. Gi) Diset addressing mode. (iy) || Gndisect 4 8 Up P? (m)|| Reltive 8 J | Ondexed 2 Bose see (| Smbbe implicit 7 addvessi mote. >| do aphiy mode the _ addwess oft the shea 18 sete inplicty as the | chenand is Pate poet In. accu muleltre. Hence, the need (fo + mestion the mee Ext ADD BS le ail this neetedAl Dopald meatig 1, Exg Lop S003 500 jg «loaded fin accumulators ( ty) x . i Jocation Boot othe conentZ ote , accu wWetoy & nleve the | select ) io accumulator i y i $n the above example gece mulatory, : 1S st olnet mentiened| a 1h fs imblied. E ’ Ws |p Gromediate addressing Mode, | a ae. On otha mode isthe operand iB Specified in “the instruction itself $4 ‘tho Word | tthe! eopenand © spield of the tntvacton cons) st of the t berand | botnet tte aden, 3 |lgn sth mode, the ea aves ipresext | in othe ixternsl age of the Cpu and cthe _ name the registers ts mentioned fn! a 9 Inbouction.! Ext Movs Ry, Reid Move athe | comedy of Rafe. Rete Feist Ree (®) eplsion indisrect finde: By On phy vrnode | the « thevend ifs __pract= - « Tn aca memory. The “enemeyy © The rtodnd Tal Shoved . Ls eqistes 1 and the __ name of sph ’ 2 | aise ts shecifies Inthe fratwetion. ; Exe Mov Ri, tS Move phe coerts oft e memory fecation PA whose address © is preset in AP to Bi. € | e € @ | Meteo Tneemert [pecrewied — Aeanay Noda: s | Eta Gi 6 ee |r tyfe of _addvessig mode is wed beotth Ulithe |p vepisfe 9 tadtvect addlvessiy moet WHO fue addoess prrenedtl ; [inthe veyister 1 fncsemente| OY ] : decoemented adfematically aftx jis) prec | Vole ip wed Fo acces the 2 rpeand- } : p ! " fs Ned fo accex = the Relemexts of an Qevay Which one nosed i contiauent | ~ mereey Gocation. ; - zi __@ | Drect i fraaovaly yoda! : L 3 [Onesie aimode| the peared is : L [prcetmioiy ae Memay ‘god The L Taddvess 1B cline medion tn | Fae fatten oa clot r Ext Load x $i Load Fhe cones of as | sl L meme ) jecet-i09 K [ite “ace umpulett @) Gadivect: fredbusrnny mode | oS Neg neesks mode othe rpernd is bresent— 1 memery and ite addvess PR plored _ a another Memory focation, The “addlvecg of the Memory hich 3 fering ophe address, of speand ip ine ntioned in the instruction. @) Rulstive frdtleninn mod > |S TK mmoles “the pbennd fs _ present joe memory | ands tte | addvens fz divided Sng atwoo ports. diate beet of The addveas ig present byoqvam Courter and the G econd “ee Ys ptozed. merttered AY). aor tect aa justructied addvere of shenind’ + (adress menbioned fp fustruction) bh (eeteda Of Pe (|| Sndex hath wonrg mode! > [[§o thu __mode 1 “the ehenend __fS.4_pvesenf in the__memong and 1B addrweag ix pepresented Sy rhe gum et oddvess | preset “in the instvaction and the coxtets of aa stor

You might also like