The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+14 votes
1.5k views

One of the purposes of using intermediate code in compilers is to

  1. make parsing and semantic analysis simpler.
  2. improve error recovery and error reporting.
  3. increase the chances of reusing the machine-independent code optimizer in other compilers.
  4. improve the register allocation.
asked in Compiler Design by Veteran (101k points)
edited | 1.5k views

3 Answers

+24 votes
Best answer
C. that is the actual use of intermediate code generator in a compiler.
answered by Boss (19.7k points)
edited by
0
relocattable address is also a factor???
0
What does it mean by "code optimizer in other compilers." in question
0
it mean front end of that compiler can be used with back end of other compiler where we can also perform code optimization and code generation for actual code geeration
+1 vote
Intermediate code is machine independent code which makes it easy to retarget the compiler
to generate code for newer and different processors.
answered by Active (2.1k points)
0 votes
Ans: C  intermediate code enhance the portability
answered by Loyal (7.3k points)
Answer:

Related questions



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

39,849 questions
46,817 answers
141,159 comments
59,074 users