What are the advanced assembler directives? Explain any two with examples.
[3 marks]Explain memory allocation in block structured language.
[4 marks]Define Macro and explain Marco expansion algorithm.
[7 marks]Differentiate between passes and phases of complier.
[3 marks]Write a short note on bootstrap loader.
[4 marks]Explain life cycle of a source program. Also explain different views on the meaning of a program.
[7 marks]Given the source program:
[7 marks]Show the contents of the symbol table, literal table & pool table. (ii) Show the intermediate code generated for the program.
[ marks]Explain compiler-compiler and cross-compiler.
[3 marks]Explain positional parameter and keyword parameter with example.
[4 marks]Explain design of linker in brief.
[7 marks]Explain REPT and IRP Statement.
[3 marks]Explain Macro prototype & model statement with the help of example.
[4 marks]List various phases of language processor. Explain any one phase in detail.
[7 marks]Draw an FA accepting regular expression {a, b}*{a}.
[3 marks]Define forward reference. How it can be solved using back-patching?
[4 marks]What is program relocation? How relocation is performed by linker? Explain with example.
[7 marks]Compare various intermediate code forms for an assembler.
[3 marks]Define linking. How external reference is resolved in linking?
[4 marks]List and explain advance macro facility with suitable example.
[7 marks]Explain the term loader with its basic function.
[3 marks]Define and explain in brief: i) MNT ii) APT iii) PDT iv) MDT.1
[4 marks]Given the Grammar, evaluate the string id-id*id using shift reduce parser. E E – T E T T T * F T F F id
[7 marks]What is pure and impure interpreter?
[3 marks]Eliminate left recursion from the following grammar: S AB A CB | b C Sa B b
[4 marks]What is memory binding? Explain dynamic memory allocation using extended stack model.
[7 marks]