5,705 views

2 Answers

3 3 votes

Lexical

Syntax

Semantic

Intermediate

Above phases of compiler is known as frontend and these are common for any platform.

Code generation is known as backend and it is machine dependent phase.

0 0 votes
Intermediate Code Generation is machine independent. Whereas, Target Code Generation or simply Code Generation is machine dependent because it has to finally convert the pure High Level Language compiler received initially to assembly code for an Assembler to process. Since Assemblers themselves are machine/platform dependent, Code Generation, whose output is input to Assemblers, is also machine dependent.
Position:
Show:

Related questions

4 4 votes
1 answers 1 answer
1.6k
1.6k views
shekhar chauhan asked Jun 7, 2016
1,624 views
Even though Semantic analysis is one of the important phase of compiler design.But recently i came across a line that said "The compiler does not detect semantic errors, ...
0 0 votes
1 answers 1 answer
2.0k
2.0k views
Amit Sharma asked Jun 7, 2016
1,976 views
What exactly a translation Process is ? in compiler Design .Can someone explain Briefly .
0 0 votes
1 answers 1 answer
880
880 views
NehaDutonde asked Mar 21, 2016
880 views
2 2 votes
1 answers 1 answer
2.5k
2.5k views
rishu_darkshadow asked Sep 23, 2017
2,514 views
A compiler that runs on one machine and produces code for a different machine is called :Cross compilation One pass compilation Two pass compilation N...