The Gateway to Computer Science Excellence
0 votes
1.5k views

The issues in the design of Code generation are ________

The issues in the design of code generation are due the what reason ?

The compiler converts the source code by accepting HLL into target code or machine code which is platform dependent right ?

The compiler makes the Dynamic Acyclic graph of the various instructions . These dynamic acyclic graphs which are obtianed are they platform independent or platform independent??

in Compiler Design by Active (3.7k points) | 1.5k views

1 Answer

0 votes

DAG is an intermediate code representation which is generated by ICG module of compiler which comes under the front end/Machine independent phase of compiler.

Yes the output of compiler to be more specific output of target code generator is machine dependent and is called assembly language.

The assembler takes assembly language and converts it into relocatable machine code not the compiler.

EDIT:

Machine independent modules:

lexical,syntax,semantic analyser; ICG

Machine dependent modules:

Code optimiser,target code generator .

Hope it Helps!

by Active (2.9k points)
edited by
0

Intermediate Code Generation is Target or Machine independent right okay fine ?

and now there comes the phase Code Optimizer , Code optimizer also produces Machine Independent code or Machine dependent code?

+1
now check
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
50,647 questions
56,492 answers
195,440 comments
100,711 users