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

CD Unit-4

CD UNIT-4 NOTES
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 views

CD Unit-4

CD UNIT-4 NOTES
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/ 18
emernory divide the main code ayea Or? bt) StaHe cota area QO ctack area a) Heap area. a) cede area avin. Compilating mit, the ciae He Pregran ii) be cledded. qc Code "Slag Moin stores executabu code. After Compilation ining wit! happen Horing mee St Gok the object Code af Several ibyvory fur Into a sfnglt tile. liner prduc a fu 1% called “Frecutabe fin? “The exeen yor) Preeprcoutabe pu Ir. exe, C0; ahic Code portion — main) omtaint the tar ‘a code. tot 7c “nothing but &) ceatic cata ayeat ic oni SO Oe 0 fpre static Vanabth and {Oat - Vaneb Globe’ vatdabUs are useful Hy Prgram and ctatic Varialiy # Value dine Vario i persistant ‘oll ot. ent -tancrrn Cai. 80, iNOyder 0 Coe tod Store totic VarsabWs and onahw, nic ktetic data aro 1% 2 Seock areas) a Gorey oo aii On eteective BeOS Seana Stack aves qows oT fs depending tH) the nan: AAO x —RUNCHIONA Lord Teer ae then mat often. $0, Wis -free | memory Se i Nr eS ko’ nnany arnic. Naot Variables: then sig Reed Eeoaeag coe nemory for ano ce. POINtey Vai ralnler. thot be done’ udrtn he | Kelp oh heap, Re be, Stored at low tantly | rox sean) Us) “be let * Y Stored Storage” Orgerizo4en Me | Shown =} - Tang os ceotic, dora e8 fo, aio Carn. © me 2ONe y on proces, wileaj, CBE. Bverqteng /F ' ie fo, os allocate fe tk SDe00 a the Covespoaing program. sor +ioe Compile in Order" Sigcec meat a tree e\OCh Py es Glove that. Gopllad = program: &, Wis YYantioe SeoIage — mmanagenent: ¥ Actiotion Reord > pe aioirp Recordaats. (OOO Memory Used “for managin antormare needed | by 2. dings exectetion 2 pivcedlture. galore COSTS Activation * vecOvd Navy (008 With, the language being — terplamented. ae Fie FORTRAN user the | Searte aera avea to Store the acta ye cord « Uthere os fp PASCAL and C usey Geach, am areca +0 cHore “Wee a teotinm)e cord - Active Ore SUOORIO Reece ONG quis Fe) Actaal Pavametert BX oe | retin atieh g eave. 4, Machine ‘Je Stores ee at procedures) * a3 a tuniam, piper’ VUarabler are Ocal +40 during estretarn to wie ERIS ae me ACen Of) vie aed te — -~cunsing of. 20 entre ee iy Katled. an “acivatrd ba steps _ that can. foww » +o CoN te “Aceiverien Ye S “Given beww Each node Corrapondes *0 ome activation. lana theese Fo the = actvatimn 4 the main” poudure- that Iitiath erection a the proaam- “ly icemecold 0 be @ cbu fe any ony 1& the rm, actvanes “pi +0 A ode ct, a acde “*P- the acevatind § -tret ue ers) ® tip + £0) £0) Pg aN af uP EO re 6 \ e ot + C10) @ + €cole Ee on + TR obein caLing Peso am ravevsal on the ac nee Reade) Te apply Piste. pbeelo rot ae actvatirn “Hey, pastor dey travers! Acevedo record a Rie cine yor edie tox 1 prgram “is —fousws 5 j trol Gp push “Gobat -Yanabs unto. ic hy pp fo “at3} cmt race uno), cre rary) XE and ep. now, the ° arp sin: Go, - pos enadity LY emt vo} cack’ Gres etace NID) feadtnay © os eae ans iS. acewenon 2 (end: Gee creatd, Sop sposn tt 1Gto i mp 7 . i eeoven kha). se” I ae Sree Bs qufcreort UD. contre} 0 te oll) be oped Phe aus Ot oe 4 iat 1 i ty | main © int atw emery crac. ep now Aue sore (514) uf Be caued and Beas ve Cord qa creared. Ss il = ke. pUHEed «= Inv cont) = tale ine erin) Roo rs e “ mse Fotp ved Cys OU Phase. oboe ee _oeuin care Abey F%' rigs nage -AMOCALOD “Gera beh ENED Belwene sepraqe | CONNER ile ee OVS 3 daifberent Lpucaried ategics pated Bibes e. aide: be Ronee uovoqe- sthoce = ave 2 , Ceaeic ceack AUoCAHOD Tpet Heap Purocat\- ee: 4g vdone ~fov aN opie aime: variables ave oun ont jie auto cred +9 Ahem, of vrarmutes Ror which dont atic Alo camo t Cannas Staric Dbjects ok progvam e St OVaqe the Binding, c Static ‘caned ws pris ye.) id Bee beqint pets o.ctiverie are pushed ee “tiie the C0 cornpaeieo) Oh Bihcis OEE A. actuation record earn SE TEES poy hocala dara Ore 5 te duo cal XA activation BRS. Oe aA each .achwato pecoNs S ere} Dare cructinpisr NY eg _ yoamically Bice pete, ae Gide = auickcore “ Progwe™m ior ad; : Void -veadarray () met Bi cet at ine? partt4oo Cine mr) et Ps eth ; i wid quickgore( WE M),Ine 9) qt i¢ CO7M) 1a Nees oY te pareien Cri), Quickerore COMED Pa oyu) apacncort CV east mE ee SPC! niow veeion La) ail! q Bedoben yecord | q's eyeated. 0, TE wit be poshed nro Geack. ae cain? a) Crit) Gtacx. Sepa! Ayer Caving postition Clq) » tn Vera — ng ett], HO tan QuicKsort 20, TE witl 4 Coretro\ Leaving main C oO | BeP8> Abtey Vetarns aa? Cain Sequena= ay a >the © Caller evaluates the = ~Attual argument: BP cal + hd caller stor Vaddrecs fren hw to resume When -the~ pavcedure | 7 > The caller Storee the value Of Stadt pointe, CSP) wen the -AcHVation record “Catiee! > he catee Savel the Contents Cs rey and Othey Corn iWLormMatwh. + “The caller Initializes | it locals and execution = the | prota: ; — who, dhe prtedure ca endty following retro Sequencd = cure. | Ocoee retuyro cequen. Stores the inéor coved when the cau \ return _ cequenay gan Pees: collee TS ot the Senda Yecord. x 42). Facies : oe oo COFFE Fie Yat thie sae SAR | Sees resents fen Poeatedite “EMI ice ae Sv 4H vrechysive proce: iranocored| om biock ently | t dpe. creation oh chta Stven Ue), Any -an ar Has Ceclavativn, of se Hag. : va mer 1 3 ene men0ry addressing Can ‘be pinters and jindet renews, | type —altocation ig Slowey iy : ae oval Nadewrs ate ee u _ tetaln oe “he. Ho the heap alncarn) 1 ata | Seva GN ee ee activarinn te CHEN ve eteaunco! : sted memory erenitcl Ca activation vgs. COI ese eg e. be -feirthey reated by a : p ‘can be ao ERS set aia. “Oe mega i Yoyeating a inked Ute for the brekt and when an! Oat deatiocaed thar block | th epemory appended 0 vthe inked UE GD) _puocare tne most — uitabU —blouk memory frm the UNked — Uet eee het: ¥-teap Stvatagy can alincate and dealin Storeqe for cera, koed or the vequine of activation record’. * Aucoin and dealtveatioe is fait for mal) ammne % stovoge, the irre -taken | for large — armnpunt ty Storage ic nequgabe. . onls Compared with the +ime anen -e9 Perform pu -tatimy «mH the” ara, XH Can Vetein -he value When an activation ends Dic AAVAN+AG eh: Sais, oy es % weal no € Heap Ctrategy WOrhS — Well “SYN! Gmail amounts oy: Stove ge x “Ihe Use oS a Nap krme — -Lime and eae AMociated With 4 > * Overhtad | eS Rroswwouks ba |” peroass 2 UP? ya 2? Ais eFeR ¥

You might also like