recategorized by
19,794 views
47 votes
47 votes

Generation of intermediate code based on an abstract machine model is useful in compilers because

  1. it makes implementation of lexical analysis and syntax analysis easier

  2. syntax-directed translations can be written for intermediate code generation

  3. it enhances the portability of the front end of the compiler

  4. it is not possible to generate code for real machines directly from high level language programs

recategorized by

1 Answer

Best answer
49 votes
49 votes
C. stating the actual use of the Intermediate Code.

Also optimizations can be done on intermediate code enhancing the portability of the optimizer.
selected by
Answer:

Related questions

17 votes
17 votes
3 answers
1
Kathleen asked Oct 5, 2014
4,549 views
Find the inverse of the matrix $\begin{bmatrix} 1 & 0 & 1 \\ -1 & 1 & 1 \\ 0 & 1 & 0 \end{bmatrix}$
21 votes
21 votes
7 answers
2
Kathleen asked Oct 4, 2014
18,309 views
Algorithm design technique used in quicksort algorithm is?Dynamic programmingBacktrackingDivide and conquerGreedy method
19 votes
19 votes
3 answers
3
33 votes
33 votes
2 answers
4
Kathleen asked Oct 4, 2014
11,275 views
A memory page containing a heavily used variable that was initialized very early and is in constant use is removed thenLRU page replacement algorithm is usedFIFO page rep...