尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
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

Loaders
LoadersLoaders
Ch 4 linker loader
Ch 4 linker loaderCh 4 linker loader
Ch 4 linker loader
Malek Sumaiya
 
System programming
System programmingSystem programming
System programming
jayashri kolekar
 
Language processing activity
Language processing activityLanguage processing activity
Language processing activity
Dhruv Sabalpara
 
Introduction to Compiler design
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design
Dr. C.V. Suresh Babu
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
Paras Patel
 
Assemblers
AssemblersAssemblers
Assemblers
Dattatray Gandhmal
 
Phases of Compiler
Phases of CompilerPhases of Compiler
Phases of Compiler
Tanzeela_Hussain
 
Single pass assembler
Single pass assemblerSingle pass assembler
Single pass assembler
Bansari Shah
 
Introduction to system programming
Introduction to system programmingIntroduction to system programming
Introduction to system programming
sonalikharade3
 
Direct linking loaders
Direct linking loadersDirect linking loaders
Direct linking loaders
Satyamevjayte Haxor
 
Preprocessor directives in c language
Preprocessor directives in c languagePreprocessor directives in c language
Preprocessor directives in c language
tanmaymodi4
 
Assembly Language
Assembly LanguageAssembly Language
Assembly Language
Ibrahimcommunication Al Ani
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
CS_GDRCST
 
System software - macro expansion,nested macro calls
System software - macro expansion,nested macro callsSystem software - macro expansion,nested macro calls
System software - macro expansion,nested macro calls
SARASWATHI S
 
Symbol table in compiler Design
Symbol table in compiler DesignSymbol table in compiler Design
Symbol table in compiler Design
Kuppusamy P
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
vampugani
 
Lecture 01 introduction to compiler
Lecture 01 introduction to compilerLecture 01 introduction to compiler
Lecture 01 introduction to compiler
Iffat Anjum
 
Phases of compiler
Phases of compilerPhases of compiler
Phases of compiler
Karan Deopura
 
Loader
LoaderLoader

What's hot (20)

Loaders
LoadersLoaders
Loaders
 
Ch 4 linker loader
Ch 4 linker loaderCh 4 linker loader
Ch 4 linker loader
 
System programming
System programmingSystem programming
System programming
 
Language processing activity
Language processing activityLanguage processing activity
Language processing activity
 
Introduction to Compiler design
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
 
Assemblers
AssemblersAssemblers
Assemblers
 
Phases of Compiler
Phases of CompilerPhases of Compiler
Phases of Compiler
 
Single pass assembler
Single pass assemblerSingle pass assembler
Single pass assembler
 
Introduction to system programming
Introduction to system programmingIntroduction to system programming
Introduction to system programming
 
Direct linking loaders
Direct linking loadersDirect linking loaders
Direct linking loaders
 
Preprocessor directives in c language
Preprocessor directives in c languagePreprocessor directives in c language
Preprocessor directives in c language
 
Assembly Language
Assembly LanguageAssembly Language
Assembly Language
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
 
System software - macro expansion,nested macro calls
System software - macro expansion,nested macro callsSystem software - macro expansion,nested macro calls
System software - macro expansion,nested macro calls
 
Symbol table in compiler Design
Symbol table in compiler DesignSymbol table in compiler Design
Symbol table in compiler Design
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
 
Lecture 01 introduction to compiler
Lecture 01 introduction to compilerLecture 01 introduction to compiler
Lecture 01 introduction to compiler
 
Phases of compiler
Phases of compilerPhases of compiler
Phases of compiler
 
Loader
LoaderLoader
Loader
 

Similar to Linker and Loader Explained

linkerloader ss-2.pptx
linkerloader ss-2.pptxlinkerloader ss-2.pptx
linkerloader ss-2.pptx
SUKHPREET SINGH
 
Compliers and interpreters
Compliers and interpretersCompliers and interpreters
Compliers and interpreters
shivasdhtsvmic
 
Hm system programming class 1
Hm system programming class 1Hm system programming class 1
Hm system programming class 1
Hitesh Mohapatra
 
Steps for c program execution
Steps for c program executionSteps for c program execution
Steps for c program execution
Rumman Ansari
 
Loaders and Linkers
Loaders and LinkersLoaders and Linkers
Loaders and Linkers
kunj desai
 
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
SURBHI SAROHA
 
linker & loader presentation in Compiler Design
linker & loader presentation in Compiler Designlinker & loader presentation in Compiler Design
linker & loader presentation in Compiler Design
AbhishekKumar117405
 
Compiler Construction Course - Introduction
Compiler Construction Course - IntroductionCompiler Construction Course - Introduction
Compiler Construction Course - Introduction
Muhammad Sanaullah
 
Introduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic conceptsIntroduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic concepts
ssuserf86fba
 
COMPILER DESIGN.docx
COMPILER DESIGN.docxCOMPILER DESIGN.docx
COMPILER DESIGN.docx
Revathiparamanathan
 
Introduction to compiler
Introduction to compilerIntroduction to compiler
Introduction to compiler
A. S. M. Shafi
 
Types of system software
Types of system softwareTypes of system software
Types of system software
Inderbir Kaur Sandhu
 
Richa garg itm
Richa garg itmRicha garg itm
Richa garg itm
richagarg16
 
Unit2_1.pdf
Unit2_1.pdfUnit2_1.pdf
Unit2_1.pdf
JatinSharma586255
 
Insight into progam execution ppt
Insight into progam execution pptInsight into progam execution ppt
Insight into progam execution ppt
Keerty Smile
 
compilervsinterpreter-161008074915.pdf
compilervsinterpreter-161008074915.pdfcompilervsinterpreter-161008074915.pdf
compilervsinterpreter-161008074915.pdf
HarshaVardhan196987
 
Language processing system.pdf
Language processing system.pdfLanguage processing system.pdf
Language processing system.pdf
RakibRahman19
 
system software and application software, compiler, interpreter & assembler
system software  and application software, compiler, interpreter & assemblersystem software  and application software, compiler, interpreter & assembler
system software and application software, compiler, interpreter & assembler
chetan birla
 
main
mainmain
Unit 3
Unit 3Unit 3
Unit 3
pm_ghate
 

Similar to Linker and Loader Explained (20)

linkerloader ss-2.pptx
linkerloader ss-2.pptxlinkerloader ss-2.pptx
linkerloader ss-2.pptx
 
Compliers and interpreters
Compliers and interpretersCompliers and interpreters
Compliers and interpreters
 
Hm system programming class 1
Hm system programming class 1Hm system programming class 1
Hm system programming class 1
 
Steps for c program execution
Steps for c program executionSteps for c program execution
Steps for c program execution
 
Loaders and Linkers
Loaders and LinkersLoaders and Linkers
Loaders and Linkers
 
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
 
linker & loader presentation in Compiler Design
linker & loader presentation in Compiler Designlinker & loader presentation in Compiler Design
linker & loader presentation in Compiler Design
 
Compiler Construction Course - Introduction
Compiler Construction Course - IntroductionCompiler Construction Course - Introduction
Compiler Construction Course - Introduction
 
Introduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic conceptsIntroduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic concepts
 
COMPILER DESIGN.docx
COMPILER DESIGN.docxCOMPILER DESIGN.docx
COMPILER DESIGN.docx
 
Introduction to compiler
Introduction to compilerIntroduction to compiler
Introduction to compiler
 
Types of system software
Types of system softwareTypes of system software
Types of system software
 
Richa garg itm
Richa garg itmRicha garg itm
Richa garg itm
 
Unit2_1.pdf
Unit2_1.pdfUnit2_1.pdf
Unit2_1.pdf
 
Insight into progam execution ppt
Insight into progam execution pptInsight into progam execution ppt
Insight into progam execution ppt
 
compilervsinterpreter-161008074915.pdf
compilervsinterpreter-161008074915.pdfcompilervsinterpreter-161008074915.pdf
compilervsinterpreter-161008074915.pdf
 
Language processing system.pdf
Language processing system.pdfLanguage processing system.pdf
Language processing system.pdf
 
system software and application software, compiler, interpreter & assembler
system software  and application software, compiler, interpreter & assemblersystem software  and application software, compiler, interpreter & assembler
system software and application software, compiler, interpreter & assembler
 
main
mainmain
main
 
Unit 3
Unit 3Unit 3
Unit 3
 

Recently uploaded

A Quiz on Drug Abuse Awareness by Quizzito
A Quiz on Drug Abuse Awareness by QuizzitoA Quiz on Drug Abuse Awareness by Quizzito
A Quiz on Drug Abuse Awareness by Quizzito
Quizzito The Quiz Society of Gargi College
 
Erasmus + DISSEMINATION ACTIVITIES Croatia
Erasmus + DISSEMINATION ACTIVITIES CroatiaErasmus + DISSEMINATION ACTIVITIES Croatia
Erasmus + DISSEMINATION ACTIVITIES Croatia
whatchangedhowreflec
 
Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024
Friends of African Village Libraries
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
Celine George
 
How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17
Celine George
 
The basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptxThe basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptx
heathfieldcps1
 
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT KanpurDiversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Quiz Club IIT Kanpur
 
8+8+8 Rule Of Time Management For Better Productivity
8+8+8 Rule Of Time Management For Better Productivity8+8+8 Rule Of Time Management For Better Productivity
8+8+8 Rule Of Time Management For Better Productivity
RuchiRathor2
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
Kalna College
 
Cross-Cultural Leadership and Communication
Cross-Cultural Leadership and CommunicationCross-Cultural Leadership and Communication
Cross-Cultural Leadership and Communication
MattVassar1
 
The Rise of the Digital Telecommunication Marketplace.pptx
The Rise of the Digital Telecommunication Marketplace.pptxThe Rise of the Digital Telecommunication Marketplace.pptx
The Rise of the Digital Telecommunication Marketplace.pptx
PriyaKumari928991
 
220711130095 Tanu Pandey message currency, communication speed & control EPC ...
220711130095 Tanu Pandey message currency, communication speed & control EPC ...220711130095 Tanu Pandey message currency, communication speed & control EPC ...
220711130095 Tanu Pandey message currency, communication speed & control EPC ...
Kalna College
 
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
yarusun
 
Keynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse CityKeynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse City
PJ Caposey
 
220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science
Kalna College
 
managing Behaviour in early childhood education.pptx
managing Behaviour in early childhood education.pptxmanaging Behaviour in early childhood education.pptx
managing Behaviour in early childhood education.pptx
nabaegha
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
Derek Wenmoth
 
220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology
Kalna College
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapitolTechU
 
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Celine George
 

Recently uploaded (20)

A Quiz on Drug Abuse Awareness by Quizzito
A Quiz on Drug Abuse Awareness by QuizzitoA Quiz on Drug Abuse Awareness by Quizzito
A Quiz on Drug Abuse Awareness by Quizzito
 
Erasmus + DISSEMINATION ACTIVITIES Croatia
Erasmus + DISSEMINATION ACTIVITIES CroatiaErasmus + DISSEMINATION ACTIVITIES Croatia
Erasmus + DISSEMINATION ACTIVITIES Croatia
 
Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
 
How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17
 
The basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptxThe basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptx
 
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT KanpurDiversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
 
8+8+8 Rule Of Time Management For Better Productivity
8+8+8 Rule Of Time Management For Better Productivity8+8+8 Rule Of Time Management For Better Productivity
8+8+8 Rule Of Time Management For Better Productivity
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
 
Cross-Cultural Leadership and Communication
Cross-Cultural Leadership and CommunicationCross-Cultural Leadership and Communication
Cross-Cultural Leadership and Communication
 
The Rise of the Digital Telecommunication Marketplace.pptx
The Rise of the Digital Telecommunication Marketplace.pptxThe Rise of the Digital Telecommunication Marketplace.pptx
The Rise of the Digital Telecommunication Marketplace.pptx
 
220711130095 Tanu Pandey message currency, communication speed & control EPC ...
220711130095 Tanu Pandey message currency, communication speed & control EPC ...220711130095 Tanu Pandey message currency, communication speed & control EPC ...
220711130095 Tanu Pandey message currency, communication speed & control EPC ...
 
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
 
Keynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse CityKeynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse City
 
220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science
 
managing Behaviour in early childhood education.pptx
managing Behaviour in early childhood education.pptxmanaging Behaviour in early childhood education.pptx
managing Behaviour in early childhood education.pptx
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
 
220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
 
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17
 

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.
  翻译: