Unit 1 CD CD Notes
Unit 1 CD CD Notes
B.tech cse 6th Compiler Design (I. K. Gujral Punjab Technical University)
Paga No.
Date)
* Tnanslaton
ne fohy
A tramy lator is a bogram tat takeA t
A
Tnbut amcl cenuerts iato
Qmote form"
Compiler
AConbile isa p0gaba tat zoeca a fagIaM
oce angage (ighlael ly) aned
(machine tan
Tae Combiler alyo alps in chekuig the ene2
machine aauay
emtine þrejam ct a hime
Jtcomvert
Snce Tyt
Downloaded by Harry Jon ([email protected])
Cocle Coes
Downloaded by Harry Jon ([email protected])
Nacune Asomely
RI,idy MOV
ol R2,R DO A
RIic3, Mo
Cede machine the
the tes ohh toanylaton mle2 Asse
mble Asse 3
haulel'
tamkte tine
pagam
to obfam e (onent
Tnteboter onby to zue Sk
kangage main Vondl
dine
equivclent by Rin
amel anguage sae am into tainates
it
a hat gam oitden
fn
fn
Intezhrler
la itten is progam
Tntezpuder
Tanget
bz2,(; azl, Lnt
Date
ooloO000loNo. Page ()mun Void
lOMoARcPSD|49086899
lOMoARcPSD|49086899
Page No.
|Date|
) Memony aepuinementis is le
Basis ytn
*Aralyis Saheus malel ay Copilatica
Thene
Aadyu's phani Smthesis phae
pae The man objecive oo the
Pats and then 9ms these pieces
to Stactuu Analys's pt
Downloaded by Harry Jon ([email protected])
lOMoARcPSD|49086899
n
Hienanchital analy's
claanaedens o tokens ane
hieanch'aly
lorth abletve
nto neste) ollect ons.
Page No.
Date
Qusifnment
tateme nt
Tdenbfe
iclesife
inal
3Semamte analyss
Certain checks Gra perhmec) to enyre
thst theomhmentsot a pugkam t toyet
meaningully
iegrchilal Stauctu cletehynod
plase ideathy
cperctoRs amd operans
oferaws
Downloaded by Harry Jon ([email protected])
lOMoARcPSD|49086899
Page No.
Date
t TH£PHASES OF A CoMpTcR
Sorce
osubtes lexcica
Anay2e
Shy
Analyza
Semantc
tuble
temectat
Cocle
Hamlle
lyeneale
Ccle
aphimies
Cocde
Gemeator
Paga No.
Caruig
oEo detechng Rebottiie
Cach phase Cmcounes
atea dedechy am mustom
hodbal tHaat enO
h the
Aouce pag9a o be cletected A Gnpilo tat
Atohs when itfinds the fhiast eue is o7 ay
i) leual analyua
leital tnalyzes aiviclea the gien Sace.
pgam nTo token
ofentt
folal clae
Constanh, keypaarcds et ane ertey
Passton
inihal e2tjd3* 6o
3 Rate
Page No.
Date
Sqaday Aaalysls
Demanhe
Aralyssdetesine
Sernanse pnalyze tctt
te meaning ay a sauce Shriy
1t
3
Page No.
|Date
Inteamecliat cacla
J
Sealloo)
t3tt jd2
3
fdl id24t
Cace
netemedias
inlo seuene at
Cosle instucben ane bels
machine instychom
iq3 60-0
Eis Coclegenersbs
Ric3
ADO
Page No.
|Date
ag te file <glabelihz t
Relocatahle objetCocle
J #intlnla <Hosolhz ten it
ictaies inleoae feoles e file oaintis
cyed fles
3. Rahiansl peepancasei these
pbsode Machie pascessa gmet Dlelus
Cocle <anguayes 'h moe
danguags
mocde a ckontal
frocesig
ÞroceKoKA attemst
acle capabiltie, Zo te
Page No.
Date
onilee
Sitien in
wsitten Aouce Rangusge and toanslse
tnto am n epuvaleat pruanintyet
3 Assemble
oganCmnememi)
mAchne
as am
Cde
Linko
Linkema7es
Soenaliles a
neloatablemachini cole
Anee fles
eesal
files
Loac
Takingelolatblo
Aeteig the Aelocatabb acderen
3
placng the alteea nstuesad ancd data
at the prapes docasa
Paga No.
DatO0
Thexe
NEA o DEA
Cenueasin4
O Couet the given EA o DEA
tat
22
s3,0) = C22]
(e,2]
The d tanstiey fa is ostincod ay
S920)z
Page No.
|Date
L,2]
Stat
(2,2,1
t
ne elimnte
s
Page No.
Date]
Sm
enit t ca te nettker
destfy ta
leal amalyy also stibby at comnens
lwhwthace 'n the fm a Blanks tb, ane
nenine fom tte
Characteyfom he snue
Page No.
Date
fxamk. total
dexemes f
denem Kongtat 4
Totens
Tartal
Tnþut in Coiler
leriae Qnalyre oads the dua puSam
charscte by charate m the secomcky
js Qy Ihfoe
6)oys a clta is fist ead hto a bules
anc then Sanned y the ei Cal anlyzsk
pta
htialy
input
Downloaded by Harry Jon ([email protected])
lOMoARcPSD|49086899
Paga \
Datel
bbte
and And
ter mnaben pant
aHe mainly to techniçes fo
sheme)
Sentinels. Ctwo buloe sche me)
Bulstses pours
halues
chanate,
Loand punte
puntu fp) is a en af t hee
Page No.
|Datell
2). Sentne)s.
To o enCome His o te,ts we cclod
eda e chana cdes at th enesas
dent'nel, The SehHnet Is a fpectal char.
that Cannot te part afac psaa
So
a setinel lcof)
A mtural chateis es
E M eotC *
e
bler