Save trees use e-Question Paper Go green
DOWNLOAD THIS FREE AT www.viuresource.com
GBC Sehlile
‘ wsesea
w(TTTTLI)
sinh Semester BE, Degree Examination, Des201/Jan2019
System Software and Compiler Design
°
Nove: Answer any FIVE full questions, choosing ONE full question from
Modute-1
1a. Explain in detail SICIXE machine afchitecture fark
im iocakelate DELTA = ALPHA + BETAMGAMIMG®S 10
on
2. a, Write an algorithm for Pass 1 ofan asseniler lus stort)
Generate the abject code forte fellowing SIC XE source Mga
SUM. START 0.
FIRST CLEAR X
Wa 0
“LOB TOTAL
BASE TOTAL
Loop ADD) TABLE.X
TIX COUNT
at Loon,
sta Tor:
COUNT RESW
TABLE RESW
TOTAL RESW
END,
Capsde [8
AES TNT S|
3a Wrie PASS-1 and PR. s os urs)
b Expl automatic library search, loader design options with suitable
° (08Morks)
oR
4 wey program oe a bootstrap loader wih stable commen. plain in bea
the alg ofa bootstrap loader (saan)
brief (i) MS-DOS linker and i) CRAY MPP linker (osstaas,
Modute-3
id explain the various phases of» compiler and show the ouput ofeach phase forthe
ssion a= b+e* Nata)
onsruet tansiion diagram for rvognizing relational operators. Shes the program
segment. implement showing tho fst state and on in inal tate ‘us Marks
a
BRANCHES | ALL SEMESTERS | NOTES | QUESTON PAPERS | LAB MANUALS
A Viuresource Go Green initiativeSave trees use e-Question Paper
DOWNLOAD THIS FREE AT www.viuresource.com
D
or
on
4 Explain input buffering strategy used in lexical analysis phase oom
‘Wie the regular definition for unsianed number also wie the wanton diagram
‘Constr the eansition diagrams for a set of Keywords like Begin, end, if the
iemiiers and constants along with a minimum set of relational operator.
Mos
‘Whats shift vec parsr? Explain the conflicts tht may occur du ing.
rs)
Construct LALR parsing tables forthe grammar shown below aso (1)
Sos
Saco
ceca cosvtansy
How lft recursion can be eliminated from grammars@rie Wg the simple arithmetic
expression rama and rerite the grammar alr remou i wrens)
on
Wha is eR factoring? Revsite the flow aciores™
Soy ibis ISS |
E>b (oa mtr
Write a note on the parser generator (eu star
CConsiuct eaonical LR( tems Foy im
395
soce
Ceca (os as)
Date sexed a wwsstans
Brey expan the testa)
phim in bie di (oinens)
(oxntens)
(easton)
. feistans)
{ygmolved in option of esc locks. Explain any 2 eps in rie.
{eros
«
of?
Go green
BRANCHES | ALL SEMESTERS | NOTES | QUESTON PAPERS | LAB MANUALS
A Viuresource Go Green initiative