answersLogoWhite

0


Best Answer

Processor: a part of computer system that is user to process instruction aka CPU

Compiler: Converts high level language code to assembly level language code

Assembler: converts these assembly level language code to object code that is executable file that needs to be linked with libraries and loaded into memory for execution

Linker : links object code with library routines and all external references are resolved

Loader : loads the executable code into memory for execution

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain briefly about processor assembler compiler loader linker and functions executed by them?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is difference between assembler and linker?

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.


What is a compiler and an interpreter?

a compiler translates an entire program and then executes it while an interpreter translates and executes one line of a program at time


Why machine language does not require compiler?

There is only one computer language that doesn't require a compiler - machine code. This is the language that the computer processor understands directly without having to be interpreted first. However it is difficult to understand and it is more usual for people to use assembly language.


Is used to translate an entire 3GL or 4GL program into machine language before any of the program is executed?

A compiler and a linker.


What is the meaning of code has no effect in function main in c language?

When the compiler says "code has no effect", it is saying that it does not matter if the code is executed or not - the end result will be the same. The compiler, if in optimizing mode, can and should delete the code. An example of code that has no effect is a = a;

Related questions

What is the use of compiler?

Compiler is used to convert a language readable in user domain into the tasks which is understood by the machine. example: C++ compiler compiles program written in a langauge understood by user which compiles this to a task which can be executed by a computer's processor.


What is use of compilers?

Compiler is used to convert a language readable in user domain into the tasks which is understood by the machine. example: C++ compiler compiles program written in a langauge understood by user which compiles this to a task which can be executed by a computer's processor.


What is difference between assembler and linker?

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.


What assembler do for system?

An assembler takes abbreviated names for computer instructions, like "MOV", and turns them into the numeric bytes which, when loaded into memory, can be executed by the CPU.


What is a compiler and an interpreter?

a compiler translates an entire program and then executes it while an interpreter translates and executes one line of a program at time


What stores instructions waiting to be executed by the processor?

memory


Stores instructions waiting to be executed by the processor?

its memory.


What can be directly executed by the processor's circuitry?

Machine language


Who converts the computer language into machine language?

A compiler or interpreter converts high-level programming languages into machine code that can be understood and executed by the computer's hardware.


Why machine language does not require compiler?

There is only one computer language that doesn't require a compiler - machine code. This is the language that the computer processor understands directly without having to be interpreted first. However it is difficult to understand and it is more usual for people to use assembly language.


What functions get executed when you inherit from a class with the same functions name?

In general, the child class's functions will be used in place of the parent.


Is used to translate an entire 3GL or 4GL program into machine language before any of the program is executed?

A compiler and a linker.