In static allocation the compiler can determine the amount of storage required by each data object. and therefore it becomes easy for a compiler to find the addresses of these data in the activation record 2. stack allocation stack allocation strategy is a strategy in which the storage is organized as stack. this stack is also called control stack.. 8. implement any one storage allocation strategies(he ap, stack, static) 9. construction of dag 10. implement the back end of the compiler which takes the three address code and produces the 8086nassembly language instructions that can be assembled and run using a 8086 assembler. the target assembly instructions can be simple move , add, sub, jump.. Compiler design lecture notes (subject code: bcs-305) for bachelor of technology in computer science and engineering & information technology storage-allocation strategies, access to nonlocal names, parameter passing, symbol tables, language facilities for dynamic storage allocation,.
Explain briefly about the storage allocation strategies. b. explain with an example about the optimization of basic blocks.compiler design question bank a:=e�d 56. explain the various compiler construction tools in detail. 67. also write down the output for the following expression after each phase. 59.. Compiler design i about the tutorial a compiler translates the codes written in one language to some other language without changing the meaning of the program. it is also expected that a compiler should make the target code efficient and optimized in terms of time and space.. Ex. no: 1 symbol table implementation date: aim: to write a c program to implement a symbol table. algorithm: 1) start the program. 2) get the input from the user with the terminating symbol �$