in Compiler Design edited by
498 views
0 votes
0 votes

In a two pass compiler, during the first pass :

  1. user defined address symbols are correlated with their binary equivalent

  2. the syntax of the statement is checked and mistakes, if any, are listed

  3. object program is generated

  4. semantic of the source program is elucidated

in Compiler Design edited by
498 views

1 Answer

0 votes
0 votes

In first pass the included phases are as Lexical analyzer, syntax analyzer, semantic analyzer, intermediate code generator are work as front end and analytic part means all phases analyze the High level language and convert them three address code and first pass is platform independent 

Should be B.

Ref: https://www.geeksforgeeks.org/single-pass-two-pass-and-multi-pass-compilers/

Related questions