0% found this document useful (0 votes)
32 views16 pages

CD End Sem Evaluation Scheme-Spring 2018

Compiler design 6th sem Computer science engineering

Uploaded by

subandhu2018
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)
32 views16 pages

CD End Sem Evaluation Scheme-Spring 2018

Compiler design 6th sem Computer science engineering

Uploaded by

subandhu2018
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/ 16
1 (b) (c) )) @ &) | aE Ss paw 4 End Cem — Exanmabin- 2018 oO b4 Semesta., CD (¢s- Bo2/ cs €or) olution Mantal/Finturtov Schone ene On < — oukrk §—of — Aarck hase ot Compllew ver Les LUA) , £0, 27, Cd, 37, <7, Zep ) ey 7 T= Amanus he viable pretexes Ie, CA, AD, Ban: pad ty ty BA? Edema | E aanantes for each diem [A2% bee) ah ten see, for eoel Production Rov) augrenied “Hannay add kee (hoy, bJ te ten set ov cath temark ae (Fame | re enteles Preaeiwe ony joke He mcsed = ise, cla eS) oe fsb? — amen | tre UK4 ba = EES on tas berks bso = oore (EM) a e MbClo : MICO ~ Rithore Nile, me Code [= Bedare mle Orde. readin genevallon Depencdend Orn Machne |~ dade pesdert oh thhemnedabe Aachiler jure Code = Peep hile — Oprensrabvon = Corsa Poorungagabion Copy Propaqalia ete. [Eamon (9) ba = way kz = bKS bye Ube bye ES Ee (R) = Mendlng DA fy cater Von Randeng — PDA — temtcal anabgte ttl be Aatter ke ef Pere Ctten Farclim ca anohled. {=aerens] No, te spp fe nof Ass — Leakluhel, became Vatne [/ Jol bom Wane ce Bob a Faker Prom Mk Sa keeng ue 4 [eae] y/ fee] @ Bi Addxess desenpta ares the wotombin A re Vawalls — whe $e Values Ave Curterbly Present th awalable — -reqgter. The number oF ere, th «adden deteaghe 8 ual by Numer vreqtters e Fiesee| SG kb ee] Wee Ry fan wales FO ; [adeeb a2) C) Mane to be aoorded ‘bg Cmrllentng Connectmen OF noes Hin Magram 4 thes Tees] Aa a L ("| Wl ke od rout Shag Fa. favs ef ad == eof 1 at ad ak od of 4Sb belt reload nd half Ad + else ef dak end of 2nd halt vrclond 3rd “felt att ehe <¥ fa at ak of Wa taf reload (Gd fatt FRA move Fd to begemag of (st halt i €loe emake — Leeteak analyses A Were AA wepreren re Feral — pomte- rants. Fo %@ asoowdh@sl by Cerioloning The FOF Rh orn, waltten Sebiflen. cheep paca] = Meant. Costeetinn gh armanted pange mee ond, eradoaing abniteabe), with tne Nedmobtans « ts rans | Mans Wo be awarded y Aeoking Ymlo the Meee st Balnhny Wo RS Raf bE 85 RcB] ada Remowng Ve Meodiwe from AS halbR f) NS erle Finenc nj MEN Aeninigin from BAC B| Ad] a BS ap fa > Bld Tel Ov (heen) Gibira) [Faw QA), the qrominan nok SLR) oh Irene with be BRomévie} BB Awd Hoke Uintoing” Ido Ema Nem ag: aa! A> + Baws ho -CbCa Henk One Fewer Common Ferminal im \ Bd Foie \ Cc»: (CB) ond Fou) 5 fark} ees “Seon | Sow eo 615.04 NS Powdp bien ASBaB+d (Gave) . Ce) mo F A> Bab Cee) Cee) aye \Os Cae) hene 4 no SR On RO cong sich Zo me GYrancman ‘sy Lacy) Payee | @Y (L_aSha | Sg erento hp i A etdence . # Penal Ye wit, VI having Wigner fred “ \-o wns { , Bein omaha, ane Leg) amsodiative Semambic Qutel ES ay Ba Sy kp = TSE vats eva ES Num — Wun ex velie - {2 Awan | sea av — THF, Sle SRR] pa plea. lever = £ [ES eral ree 50) xe farh)e - Old dy ath dae -¢ bye dye ba ba= dso | | tener, | Quacdarple 4 trou, ony Ww) i) . %, iy WLLL | ‘ ian Quodwple Trobine ch bni pe lw (12 4] \eege—a{ 2% 64% at ) ata 4 (abate at (atatatay) L ay b, te ara 4.2 djpa (\) 42 kta (f tye trey uy tre kp p RE {) a S adden ode — \ rod, DAG = Ymangy (D 2: AY EXXU- Vi Wt XV biixxu tris viw Ze uytt -tr+atry tae my zt ty Ze Ry 4k by pat jt ta by yb, \ Ze ty_ebl t+ atv asa hyp Sy he ASEK Ze tet Re aS eREB] Xz; 5. ty = addaca) 6 ta exX4 — Casmuming site of(nD= 4 7. tas t.ftsJ 8 > £42 10 Af Xd= + Govt Jo. ts = K-2 nz bs [ed “Bens Fea Wow | 9 7.a. Code generation is the process by which a compile's code generator converts some intermediate representation of source code into 2 form (e.g. machine code) that can be readily b executed by a machine Function getreg () 4.18 Ys in register (that holds no other values) and ¥ isnot live and has no next use after X=¥ ‘op Z then return register of Y for L. DF (2) return an empty register 3. Falling (2)ifX has a next use in the block or op requires register then get a register R store its content into M (by Mov R, M) and use it. 4. else select memory | location Statement | Code Register ‘Address Descriptor Descriptor Tbe MOV ,Ro ADD GR Rocontains t Tin Ry MOVG.A: MULe, Rr Ri contains u vin: veut MULR:, Ro Re contains v vin Ro Yevet MOVER, ADDR:Ro | Racontains x Xin Ry ‘MOV Rox oR LD Re.b LD Rec ADD Rs, Re, Re LDR d LD Ree MUL Ru. Ry, Re MUL Rs, Ru, Re LOR ADD R., Ru. Rr Wee] ay LM mons gtb There Ore -HW0 sare a contests Oo “7 — hibt | Reeluce : eo parazcatan vorgsead of Hore 09 Some ws posuhe jo shobb ot ReQuer. ~ Rectan Reite! pa db eT thes oe *nerale- caus he Sarr Lome oe “40 “ts bowt RRA Bub ww oe oe et Ce eee es ra fk’ \, no ee webs © Rk eels bud ee ae. f aletu Xo Lara oe 2 sue for) bet athe HE Roa Oy 23 SF OR eet one Mesmtcie! an samy PSN Poge — \3| Se Lay? ~GoW) At GAD) Choe Aa Mae p 'g @) Abkew ¢ . “ ee op Pro} , abcory te OKT We axa ye ft q Ww 7 = OX Able« Comme geeemprecteory olgmenalion Wz AX ye wey (J Keo i & | coptemersa| code Ow aw te AF £ wf W A §* a [a rons [e5] a qo cthert Gru mone cy Lo MGS Crrcommore

You might also like