GATE CSE
First time here? Checkout the FAQ!
x
+3 votes
501 views

Mention the pass number for each of the following activities that occur in a two pass assembler:

  1. object code generation
  2. literals added to literal table
  3. listing printed
  4. address resolution of local symbols

 

asked in Compiler Design by Veteran (64.6k points)  
reopened by | 501 views

1 Answer

+7 votes
Best answer
a) 2

b) 1

c) 2

d) 1

P.S. : In first pass, symbol table is created and In second pass, machine code is generated. Listing of final machine code is done after 2nd pass only.
answered by Loyal (2.8k points)  
selected by
Reference ?
Akash, did you find any reference?
You can see System Programming book. Or assembler implementation lab exercise..

ans should be 2, 1, 2, 1 acrdng to description given in this ques

http://gateoverflow.in/2721/gate1996_1-17

Arjun sir plz check these ques

You are correct. Edited.


Top Users Sep 2017
  1. Habibkhan

    6836 Points

  2. Arjun

    2310 Points

  3. Warrior

    2306 Points

  4. rishu_darkshadow

    2076 Points

  5. A_i_$_h

    2004 Points

  6. nikunj

    1980 Points

  7. manu00x

    1750 Points

  8. Bikram

    1744 Points

  9. SiddharthMahapatra

    1718 Points

  10. makhdoom ghaya

    1690 Points


26,038 questions
33,649 answers
79,695 comments
31,069 users