You are on page 1of 3

StddhanE Patel Date: 1+112/ 2020

M.Sc. 3rd Sen (CS.)


Roll No.194 O 7724
Sub: Compile Design
SecHan-B

2 Role o E bod shrappio


in cross Compiler
enables new Protammin languages an
i) I rom exising mes
to be developecsta Hnq
Compiler s to lee adoliol to OTammi a

enables new featur es


i)iF
c and ik com ptler
"a langucg adde do to
be adde
n e s o p H i m i s a t i o s to
i) IH alss alloos transkerred be
Com piler.
compilers to
alows
and
lanquages ruthon set.
TE dferem-ins

behoen PrOceOTS t0i is of foruar


of forware
Compiler
drawba ck of ingle pos oe re9ure
The o it h i
i t
0vercome oi th are

TD before they
references. be de inecl
cl ar eas So
tha to odo

rerenceel convenien F
a l thayh in
pasible, Cont be eahhW
eaih
I is a n t be
For dafa items instruchon
items
items
to
Forwar od juanp
e l i m i n a t e ol.

9 Types oFerroYS
thue ony one
h u e is ony
frame,
trame,
bit
L a

Covrpt
covrupf.
error-

ohith is
i)Single
houg, receivec wiH m
m e
ar e
anyohere with
loi received
is
rame
lebis ero
corrupted state.
)Mulip
one bis in
than Hani
mo7e
busf erroT- rame conhains
ini)
consecuive bts corrupted
pile
Nabive Compile Sow ce fo Souwce

T+ woTks oy bype oP transla


CompilaHon 'JE is a
Sowc
for he same For hat take the
telhnbla7 y
-

n ohich iF runs. code o a


prop7
am

m
infi
en
in
I s Hhe Same
ram
pro
opeva leng-uae as ik inp
SysFem as the sothware Oand 1rbelur e an equiva
for whiih it is -lent courte tode in t e
macine Languuage
aMemblin Same 0r a clifferen
proramming lanqua
.
Mekhods implem ent procicive jDaseing table
. F each
prolucion A a o the qram mar,
do stey 2 2
For eath terminal a in FIRSTE ), Add Aa
to MLA,O
3 1F E is in hrst( ) , add A-E to M [A. b]
each termi nou b in FolLOW A ) If e is in
FIRS T ) an $ is in FoLLOW (A) add A A
t MTA,$7.
de Kxed enry 6 f M error
Malk e eah of he wn
4.

rammu E +T
ven
TF
T
T F
F d
snaid
E ++T
Ff+T
t F+TxE
T+T
lTTF) * F ET
(ET
E~F+T»E (F T
F
F+F* F TF)
d +Fa E (F»i
E d
d) (.d
+id E (F- id)
f
idioid F id) (1d
SecHon A
) a . Col2)*
i) a.

in) B.

v) C n ature of compari son


vi) A. blnck of shing

You might also like