answersLogoWhite

0


Best Answer

Pass One: Read the source code and build the symbol table. Pass Two: Read the source code again and generate the object code. Both passes do pretty much the same things; parsing, tokenizing, processing expressions, etc. The difference is that in pass one you do not know "a priori" what the type, offset, and size of objects are that you have not yet encountered, so you must do the assembly in two passes. You can assemble in one pass if you constrain the coder to define symbols before they are referenced.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

i found this link which had about 50 Q&A's.. the best so far.. has got all the required explanation..

http://ptucse.loremate.com/sp/node/3

by-bloodlife88

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

by H A N D

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain the working of two pass assembler with an example Draw the flowchart of two pass assembler also?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the Design of single pass assembler?

Single Pass Assembler A single pass assembler scans the program only once and creates the equivalent binary program. The assembler substitute all of the symbolic instruction with machine code in one pass. AdvantagesEvery source statement needs to be processed once.DisadvantagesWe cannot use any forward reference in our program. Forward ReferenceForward reference means; reference to an instruction which has not yet been encountered by the assembler. In order to handle forward reference, the program needs to be scanned twice. In other words a two pass assembler is needed.


How information technology affects the strategies of organization explain with the example of any two organizations?

example of a organisation you have been working for or familiar with


Explain the construction and working of a CRO?

explain cro construction and working


1 Explain the working principle of a milling machine?

1. Explain the working principle of a milling machine?


Explain working of motherboard?

describe motherboard and its working


Explain how Michael Jackson spent his younger years?

Working, working and working.


How do you explain working of bluetooth mouse?

working of blue tooth


Explain how good working relationships can be developed with people outside the team?

explain how good working relationships can be developed with team members


How do you explain the principle of working of ULN2803?

Explain the workin principle of uln and its abbreviation


Can you explain the working of lead acid battery?

working of a lead acid battery


What do you mean by recoupment of short working explain its type?

recoupment of short working


How do you explain the working of Letter of Credit?

Explain the significance of letter of credit in international marketing?