After intermediate code generation, we need to generate machine code for perticular machine based architecture. It would be unnecessary to compute every time machine code for different machine architecture, and then distribute it so instead distribute them intermediate code and let the common entity handle intermediate to machine code generation part. Here it becomes easy for a given machine to optimize code optimization process for its own architecture.
https://gateoverflow.in/410/gate2008-12
Compiler construction can be broadly classified into two phases - front end and back end. From NPTEL:
Link: https://nptel.ac.in/courses/106108113/module5/Lecture17.pdf
64.3k questions
77.9k answers
243k comments
79.6k users