Computer Science, asked by kumarniket5072, 9 months ago

Explain briefly about, processor, assembler, compiler, loader, linker and the functions executed by them

Answers

Answered by anusy2850
1

Explanation:

Processor:--A processor is the part a computer system that executes instructions .It is also called a CPU

Assembler: -- An assembler is a program that takes basic computer instructions and converts them into a pattern of bits that the computer's processor can use to perform its basic operations. Some people call these instructions assembler language and others use the term assembly language.

Compiler: --- A compiler is a special program that processes statements written in a particular programming language and turns them into machine language or "code" that a computer's processor uses. Typically, a programmer writes language statements in a language such as Pascal or C one line at a time using an editor. The file that is created contains what are called the source statements. The programmer then runs the appropriate language compiler, specifying the name of the file that contains the source statements.

Loader:--In a computer operating system, a loader is a component that locates a given program (which can be an application or, in some cases, part of the operating system itself) in offline storage (such as a hard disk), loads it into main storage (in a personal computer, it's called random access memory), and gives that program control of the compute.

Linker: -- Linker performs the linking of libraries with the object code to make the object code into an executable machine code.

mrked it as brainliest

Answered by vishakasaxenasl
1

Answer:

Processor

  • A processor is the actual brain of the computer. It performs all the computing and necessary operations
  • The processor contains a control unit and a memory unit.
  • The control unit synchronizes all the tasks executed by the processor. And the memory unit keeps track of the memory used and left memory.
  • The processor also has an internal clock for frequency generation.

Assembler

  • An assembler is used to translate the assembly language code into binary object code.
  • Assembly language is used for debugging process. It consists of MNEMONICS that English-like words.
  • These words are translated with the assembler into the computer understandable code.

Compiler

  • The compiler is similar to an assembler but it translates the high-level language into binary object code. Now might ask how high-level language is different from assembly language.
  • See high-level languages are created with rich functionality and features. There are so many things that can be done with high-level languages. An assembly language can't perform such a robust function.
  • Examples of high-level languages are:
  • C++, JAVA, RUBY, COBOL etc.

Loader

  • Loader is a part of the compiler.
  • The work of the loader is to load the program into the main memory.

Linker

  • The linker is another part of the compiler.
  • It is used to link various modules of the program together.
  • Generally, huge programs are broken down into smaller modules. But at the time of execution, all the parts need to be perfectly linked.
  • And this work is done by the linker.

#SPJ2

Similar questions