one&two pass assembler

Status
Not open for further replies.

electronics_kumar

Advanced Member level 2
Joined
Nov 29, 2004
Messages
657
Helped
34
Reputation
68
Reaction score
9
Trophy points
1,298
Location
Tamilnadu
Activity points
5,552
one pass assembler

could i get explanation about one&two pass assembler ,cross assembler
 

electronics_kumar,
A two-pass assembler takes two top-to-bottom scans of the source code. Typically on the first scan, it will do such things as assign addresses to variables, expand macros, etc. On the 2nd pass it generates the object code, and (optionally) creates a listing.
~
A one-pass assembler does everything with one scan of the source.
~
A cross asssembler is an an assembler that runs on a machine that is different from the target machine on which the code will be executed. For example a cross assembler might run on a PC, but generate code that will be executed on a DSP.
Regards,
Kral
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…