answersLogoWhite

0


Best Answer

normally every assembler has two passes.

pass 1 and pass 2.

wen v start compiling the program object code is generated.

wen there are no forward references we could generate the object code in first pass itself.

unfortunately writing programs without forward reference is tedious and hence we go for second pass to generate the objectcode of the remaining .

User Avatar

Wiki User

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

Wiki User

12y ago

Recursive macro is referred as macro calls within macros. It is consisted two parts first is outer macro & second is inner macro. It is realize that the inner macro is not defined until the outer macro has been crested is maintained a memory stack in which processes are stored . It is terminated the circumstance of memory overflow.

It is used for similar variables , looping and repeating statement.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference between pass1 and pass2 assembler?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you Compare and contrast pass1 and pass2 assembler in system software?

i need to make pass1 and pass2 (read from input device then write it to device ) by java code ,........ if any body can help me for that .....


What are different types of assemblers?

There are two types of assemblers: pass1 and pass2. The difference of which is the number of times the assembler will parse the code in order to generate machine code. Generally, a 2 pass assembler will take longer to compile, but has the benefit of allowing the programmer to define symbols anywhere in the code. This results in code that is easier to read, manage, and debug.


Can someone debug this C plus plus program?

#include <iostream> using namespace std; void main ( ) { char pass1; char pass2; char pass3; char pass4; cout << "What is the password" << endl; cin >> pass1; if (pass1 please no more) { cout << "Ok Ok. by the way, that was a complete waste of your time." << endl; } } } } system ("PAUSE"); }


What are advantages of batch fermentation?

Batch Culture:-It is the one of the mode of suspension culture technology which belongs to animal tissue culture.In this culture, cell growth is limited not by nutrients but by accumulation of waste products. In this mode, a higher cell concentration is achieved and cell viability is maintained for larger periods.Advantages:-This is by D.V.Thrinath.


Problems of one pass assembler?

The translation performed by an assembler is essentially a collection of substitutions: * machine operation code for mnemonic * machine address for symbolic * machine encoding of a number for its character representation, etc. Except for one factor these substitutions could all be performed in one sequential pass over source text.The factor is the forward reference(reference to an instruction which has not yet been scanned by assembler). Now it's that the separate passes of two pass assemblers are required to handle forward references without restriction. Now if we impose certain restriction that means handling forward references without making two passes. These different sets of restrictions lead to one pass assembler. And these one-pass assembler are particularly attractive when secondary storage is either slow or missing entirely, as on many small machines.