Question 6393 – Artificial-Intelligence
February 4, 2024Question 10248 – Computer-Organization
February 4, 2024Question 8698 – Compiler-Design
One of the purposes of using intermediate code in compilers is to
Correct Answer: C
Question 36 Explanation:
Intermediate code is generated after semantic analysis. The intermediate code is independent of machine. By converting source code to intermediate code a machine independent code optimizer may be written. Thus increase the chances of reusing the machine-independent code optimizer in other compilers.
make parsing and semantic analysis simpler.
improve error recovery and error reporting.
increase the chances of reusing the machine-independent code optimizer in other compilers.
improve the register allocation.
Subscribe
Login
0 Comments