SlideShare a Scribd company logo
7
Most read
8
Most read
11
Most read
Compiler,Interpreter,Linker,Loader
Regardless of what language you use, you
eventually need to convert your program
into a language that the computer can
understand
Two ways for doing that:
compile the program or
interpret the program
A compiler is a computer program that translates a
program in a source language into an equivalent program
in a target language.
or
Compilers: Translate a source (human-writable) program
to an executable (machine-readable) program
Source code Compiler Executable
Input data Executable Output data
Translate the entire program.
Convert the entire program to machine code, when
the syntax errors are removed then converted into the
object code
Requires more main memory
Neither source nor the compiler are required for
execution.
Slow for debugging and testing.
Execution time is less.
Security of source code .
Interpreter is a program that executes instructions written
in a high-level language
or
Interpreters: Convert a source program and execute it at
the same time.
Source code
Input data
Output dataInterpreter
Translate the program line by line.
 each time the program is executed ,every line is
checked for syntax error & then converted to
equivalent machine code directly.
Requires less main memory
Source program and the interpreter are required for
execution.
Good for fast debugging and testing.
Execution time is more.
 No Security of source code .
Source
File
Source
File
Source
File
Compiler
(Assembler)
Compiler
(Assembler)
Compiler
(Assembler)
Object Code
File
Object Code
File
Object Code
File
LINKER
Object Code
File
Object Code
File
Object Code
File
LOADER
Main Memory
Executable File / Load
Module
Execution
Object Code
Libraries
A program that takes as input the object
files of one or more separately compiled
program modules, and links them together
into a complete executable program,
resolving reference from one module to
another.
A program that takes an input an executable
program, loads it into main memory, and causes
execution to being by loading the correct starting
address into the computer register.
When the program finished, control must
somehow be returned to the operating system.
A single object file might contain machine code
for only one procedure or a set of procedures.
An executable file must contain all the machine
code needed for a particular program; it must
contain the address of the first instruction to be
executed.
I. Absolute loader: absolute loader is a primitive type
of loader which does only the loading function. It
does not perform linking and program relocation.
II. Bootstrap loader: when the computer is turned on
absolute loader is executed. this loader is responsible
for loading the operating system and transferring
control to it. This loader is present in the ROM area
of main memory.
III. Relocateabel loader: this loader is responsible for
relocation and loading.
I. Linking loader: this linker performs all the linking and
relocation operations and load the linked program
directly into the main memory.
II. Linkage editor: this linker produces a linked version of
the program called as a load module or an executable
image.
III. Dynamic linker: this. Scheme postpone the linking
function until execution time. Any subroutine is loaded
and linked to the rest of program when it is first called.
What is software?
Computer Instructions or data, anything that can
be stored electronically is Software.
Types of Software
System Software
Application Software
Utility Software
SOFTWARE
APPLICATION
SOFTWARE
SYSTEM
SOFTWARE
UTILITY
SOFTWARE
System Software includes the Operating System and all the
utilities that enable the computer to function.
System software is a term referring to any computer software
which manages and controls the hardware so that application
software can perform a task.
Example:
Operating Systems, Compiler, Loader, Linker, Interpreter.
This is a general purpose program or acollection of
program written by the user to solve a particular
problem.
Application Software includes programs that do real work
for user.
Example:
Payroll systems, Inventory Control, Manage student
database, Word Processor, Spreadsheet and Database
Management System etc.,
these are readymade routines that are incorporated
into the computer utility software are generally
called as application oriented readymade system
programs
Example:
Soundblaster , sidekick etc.

More Related Content

What's hot (20)

PPTX
Computer architecture virtual memory
Mazin Alwaaly
 
PPT
System software
Senthil Kanth
 
PPTX
System software - macro expansion,nested macro calls
SARASWATHI S
 
PPT
Instruction format
Sanjeev Patel
 
PPTX
Instruction Formats
RaaviKapoor
 
PPTX
Memory Reference Instructions
Rabin BK
 
PPTX
Unit 3 sp assembler
Deepmala Sharma
 
PPTX
Computer registers
Jatin Grover
 
PPTX
Basic Computer Organization and Design
Aksum Institute of Technology(AIT, @Letsgo)
 
PPTX
Microprogrammed Control Unit
PreethiSureshkumar1
 
PPTX
Mapping
Syed Ali Sherazi
 
PPTX
ROM (Read Only Memory)
JaneAlamAdnan
 
PPTX
instruction cycle ppt
sheetal singh
 
PPS
Cache memory
Anuj Modi
 
PPT
Lecture 04 syntax analysis
Iffat Anjum
 
PPTX
Memory management
Muhammad Fayyaz
 
PPTX
Memory Organization
Kamal Acharya
 
PPT
Linkers
Koganti Ravikumar
 
PPT
File Management in Operating Systems
vampugani
 
PPTX
Computer registers
DeepikaT13
 
Computer architecture virtual memory
Mazin Alwaaly
 
System software
Senthil Kanth
 
System software - macro expansion,nested macro calls
SARASWATHI S
 
Instruction format
Sanjeev Patel
 
Instruction Formats
RaaviKapoor
 
Memory Reference Instructions
Rabin BK
 
Unit 3 sp assembler
Deepmala Sharma
 
Computer registers
Jatin Grover
 
Basic Computer Organization and Design
Aksum Institute of Technology(AIT, @Letsgo)
 
Microprogrammed Control Unit
PreethiSureshkumar1
 
ROM (Read Only Memory)
JaneAlamAdnan
 
instruction cycle ppt
sheetal singh
 
Cache memory
Anuj Modi
 
Lecture 04 syntax analysis
Iffat Anjum
 
Memory management
Muhammad Fayyaz
 
Memory Organization
Kamal Acharya
 
File Management in Operating Systems
vampugani
 
Computer registers
DeepikaT13
 

Similar to Linker and Loader Explained (20)

PPTX
linkerloader ss-2.pptx
SUKHPREET SINGH
 
PDF
Hm system programming class 1
Hitesh Mohapatra
 
PPT
System software-loaders
kitturashmikittu
 
DOCX
Loaders
Sona Endow
 
PPTX
Types of system software
Inderbir Kaur Sandhu
 
PPTX
Introduction.pptx
SUDHAKAR S
 
PPTX
Loader and Its types
Parth Dodiya
 
PPTX
linker & loader presentation in Compiler Design
AbhishekKumar117405
 
PPT
Overall 23 11_2007_hdp
Mohd Arif
 
PPTX
System software module 1 presentation file
jithujithin657
 
PDF
loaders and linkers
Temesgen Molla
 
PDF
Namdeo Kapale Sanjivani College of Engineering KopaCFP_UNIT1_24-25.pdf
NAMDEO5
 
PPTX
Loaders ( system programming )
Adarsh Patel
 
PPT
Loaders and Linkers
kunj desai
 
PPTX
Loaders
Koganti Ravikumar
 
PPT
Computer software 2
Suresh Kumar
 
PPTX
Operating-Systems-Device-Drivers-Translators-Linkers-and-Utility-Software.pptx
ictlab3
 
PPTX
Introduction to system programming
sonalikharade3
 
PPTX
Assembly-and-Linking-From-Instructions-to-Execution.pptx
manjubashinit10
 
linkerloader ss-2.pptx
SUKHPREET SINGH
 
Hm system programming class 1
Hitesh Mohapatra
 
System software-loaders
kitturashmikittu
 
Loaders
Sona Endow
 
Types of system software
Inderbir Kaur Sandhu
 
Introduction.pptx
SUDHAKAR S
 
Loader and Its types
Parth Dodiya
 
linker & loader presentation in Compiler Design
AbhishekKumar117405
 
Overall 23 11_2007_hdp
Mohd Arif
 
System software module 1 presentation file
jithujithin657
 
loaders and linkers
Temesgen Molla
 
Namdeo Kapale Sanjivani College of Engineering KopaCFP_UNIT1_24-25.pdf
NAMDEO5
 
Loaders ( system programming )
Adarsh Patel
 
Loaders and Linkers
kunj desai
 
Computer software 2
Suresh Kumar
 
Operating-Systems-Device-Drivers-Translators-Linkers-and-Utility-Software.pptx
ictlab3
 
Introduction to system programming
sonalikharade3
 
Assembly-and-Linking-From-Instructions-to-Execution.pptx
manjubashinit10
 
Ad

Recently uploaded (20)

PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
Dimensions of Societal Planning in Commonism
StefanMz
 
Ad

Linker and Loader Explained

  • 2. Regardless of what language you use, you eventually need to convert your program into a language that the computer can understand Two ways for doing that: compile the program or interpret the program
  • 3. A compiler is a computer program that translates a program in a source language into an equivalent program in a target language. or Compilers: Translate a source (human-writable) program to an executable (machine-readable) program Source code Compiler Executable Input data Executable Output data
  • 4. Translate the entire program. Convert the entire program to machine code, when the syntax errors are removed then converted into the object code Requires more main memory Neither source nor the compiler are required for execution. Slow for debugging and testing. Execution time is less. Security of source code .
  • 5. Interpreter is a program that executes instructions written in a high-level language or Interpreters: Convert a source program and execute it at the same time. Source code Input data Output dataInterpreter
  • 6. Translate the program line by line.  each time the program is executed ,every line is checked for syntax error & then converted to equivalent machine code directly. Requires less main memory Source program and the interpreter are required for execution. Good for fast debugging and testing. Execution time is more.  No Security of source code .
  • 7. Source File Source File Source File Compiler (Assembler) Compiler (Assembler) Compiler (Assembler) Object Code File Object Code File Object Code File LINKER Object Code File Object Code File Object Code File LOADER Main Memory Executable File / Load Module Execution Object Code Libraries
  • 8. A program that takes as input the object files of one or more separately compiled program modules, and links them together into a complete executable program, resolving reference from one module to another.
  • 9. A program that takes an input an executable program, loads it into main memory, and causes execution to being by loading the correct starting address into the computer register. When the program finished, control must somehow be returned to the operating system.
  • 10. A single object file might contain machine code for only one procedure or a set of procedures. An executable file must contain all the machine code needed for a particular program; it must contain the address of the first instruction to be executed.
  • 11. I. Absolute loader: absolute loader is a primitive type of loader which does only the loading function. It does not perform linking and program relocation. II. Bootstrap loader: when the computer is turned on absolute loader is executed. this loader is responsible for loading the operating system and transferring control to it. This loader is present in the ROM area of main memory. III. Relocateabel loader: this loader is responsible for relocation and loading.
  • 12. I. Linking loader: this linker performs all the linking and relocation operations and load the linked program directly into the main memory. II. Linkage editor: this linker produces a linked version of the program called as a load module or an executable image. III. Dynamic linker: this. Scheme postpone the linking function until execution time. Any subroutine is loaded and linked to the rest of program when it is first called.
  • 13. What is software? Computer Instructions or data, anything that can be stored electronically is Software. Types of Software System Software Application Software Utility Software
  • 15. System Software includes the Operating System and all the utilities that enable the computer to function. System software is a term referring to any computer software which manages and controls the hardware so that application software can perform a task. Example: Operating Systems, Compiler, Loader, Linker, Interpreter.
  • 16. This is a general purpose program or acollection of program written by the user to solve a particular problem. Application Software includes programs that do real work for user. Example: Payroll systems, Inventory Control, Manage student database, Word Processor, Spreadsheet and Database Management System etc.,
  • 17. these are readymade routines that are incorporated into the computer utility software are generally called as application oriented readymade system programs Example: Soundblaster , sidekick etc.