SS - Assignment
SS - Assignment
2 Explain two pass and single pass assembler in detail with suitable example. 7 CO-1
6 Write operator precedence table for arithmetic operators “+”, “*”, “-”, “/” .Parse following expression using the 7 CO-2
table. id * (id+id)/(id*id).
Implement operator precedence parsing for the string:
id +id*(id-id)/id.
7 Explain the difference between literal and constant in assembler with its syntax. Why POOLTAB is requiring? 7 CO-2
Explain and compare two variants of intermediate code.
2)
2 Explain recursive descent parsing algorithm. 7 CO-2
3 Explain Left recursion, Left factoring and backtracking in top down parsing. 7 CO-2
4 Explain following facilities for expansion time loop with example. 7 CO-3
(1) REPT statement (2) IRP statement
Describe the use of REPT and IRP statement.
Explain object module of a program unit P in linker.
8 What is static and dynamic pointer in compiler? Explain working of display with suitable example. 7 CO-4
2 Explain the term loader with its basic function. Explain absolute loader in detail 7 CO-5
3 What is peephole optimization? Explain any two optimization transformation in detail 7 CO-3
7 What is program relocation? How relocation is performed by linker. Explain with examples. 7 CO-5
Assistant Professor, CE Dept., SITER Head CE,CSE & ICT Dept., SITER