search
Log In
2 votes
1.9k views

In a two-pass assembler, symbol table is 

  1. Generated in first pass 
  2. Generated in second pass 
  3. Not generated at all 
  4. Generated and used only in second pass 
in Compiler Design
recategorized by
1.9k views

1 Answer

3 votes
 
Best answer

Answer : A

In first pass it does following things

It allocates space for the literals.

It computes the total length of the program.

It builds the symbol table for the symbols and their values.

Reference : Two-pass assembler


selected by
0
Answer:

Related questions

1 vote
1 answer
1
1.3k views
Which of the following is true ? Canonical $LR$ parser is $LR (1)$ parser with single look ahead terminal All $LR(K)$ parsers with $K > 1$ can be transformed into $LR(1)$ parsers. Both $(A)$ and $(B)$ None of the above
asked Jul 22, 2016 in Compiler Design makhdoom ghaya 1.3k views
2 votes
1 answer
2
990 views
Shift-Reduce parsers perform the following : Shift step that advances in the input stream by $K(K > 1)$ symbols and Reduce step that applies a completed grammar rule to some recent parse trees, joining them together as one tree with a new root symbol. Shift step ... . Shift step that does not advance in the input stream and Reduce step that applies a completed grammar rule to form a single tree.
asked Jul 22, 2016 in Compiler Design makhdoom ghaya 990 views
1 vote
1 answer
3
937 views
Match the following : ... : a-iii, b-iv, c-i, d-ii a-iii, b-i, c-iv, d-ii a-i, b-ii, c-iii, d-iv a-iv, b-iii, c-ii, d-i
asked Jul 24, 2016 in Computer Networks makhdoom ghaya 937 views
0 votes
1 answer
4
603 views
________ model is designed to bring prices down by increasing the number of customers who buy a particular product at once. Economic Order Quantity Inventory Data Mining Demand-Sensitive Pricing
asked Jul 23, 2016 in Others makhdoom ghaya 603 views
...