answersLogoWhite

0


Best Answer

There is no definite term "assembler" in compilation process. It is more like "compiler" and "linker".

Assembler usually refers to a compiler of machine language: http://en.wikipedia.org/wiki/Assembly_language

So you probably mean difference between compiler and linker?

Lets say you have a 3 module program, and it uses a 3rd party library, then the compiler will just compile each of your modules (separately) into binary pieces, which have "unclosed" references to abovementioned library and other 2 modules. After u have 3 binary pieces comes in "linker" it attaches those "unclosed" (or unlinked) links to other modules and library, therefore giving you working program file (.exe file for example).

Really hard to say that without a schema or something like that:) Hope this answer helped you.

User Avatar

Wiki User

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

Wiki User

12y ago

An assembler converts source code programs from native assembly language to machine language and a linker combines files created by an assembler into a program that can be executed.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between assembler and linker?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the difference between an assembler and a translator?

what is the difference between an assembler and the translator


Functions of a linker in system software?

A linker takes the object files produced by the compiler and links them together to form a single machine code executable.


What is the Difference between assembler and macro?

I am not sure about the answer but think so, Assembler: Its a program that converts a low level language into machine code, and there is a one-to-one correspondence between the source language statements and machine instructions Macro- Assembler: It performs the same task as does the assembler but there is some times a one-to-many correspondence between the source language statements and machine instructions. Please discuss further...


Assembler directives in microprocessor?

Manual coding of 8086 is difficult hence we use a assembler or a compiler. Note that the microprocessor should be able to interpret your discussions via the program. Suppose if the instruction corresponds to word(16 bits), we use assembler directive WORD PTR, but when assembler is contacting the processor it sets a bit called 'w' indicating its a byte operation.


Which program is what results when assembly language programs are converted to machine language using an assembler?

The result of assembling an assembly language source is an executable. The name of that executable is dependent upon the output file name passed to the assembler. The program that performs the assembly is the assembler itself. More specifically, the assembler produces one or more object files, which are fed into the linker or binder. The linker or binder then produces the executable, by combining the object files, along with referenced library files, and then resolving external references.