SlideShare a Scribd company logo
1 of 14
WALCHAND INSTITUTE OF
TECHNOLOGY,SOLAPUR
seminar on
DIRECT LINKING LOADERS
Presented By:
Sneha Bijjargi
Sonali Sulgadle
Anjali Swami
Ankit Palli
Introduction
 To execute an object program, we need
◦ Relocation, which modifies the object
program so that it can be loaded at an
address different from the location
originally specified
◦ Linking, which combines two or more
separate object programs and supplies
the information needed to allow
references between them
◦ Loading and Allocation, which
allocates memory location and brings
the object program into memory for
execution
Type of loaders
 Assemble-and-go loader
 Absolute loader (bootstrap loader)
 Relocating loader (relative loader)
 Direct linking loader
Direct Linking Loaders
 A Direct linking loader is a general
relocating loader and is the most popular
loading scheme presently used.
 This scheme has an advantage that it
allows the programmer to use multiple
procedure and multiple data segments.
 In addition, the programmer is free to
reference data or instructions that are
contained in other segments.
 The direct linking loaders provide flexible
intersegment referencing and accessing
ability.
Direct Linking Loaders
 The assembler should give the
following information to the loader:
1)The length of the object code
segment
2)The list of all the symbols which
are not defined in the current segment
but can be used in the current
segment.
3)The list of all the symbols which
are defined in the current segment but
can be referred by the other
USE Table
The list of symbols which are not
defined in the current segment but can
be used in the current segment are
stored in a data structure called USE
table.
The USE table holds the information
such as name of the symbol, address,
address relativity.
Definition Table
 The list of symbols which are defined
in the current segment and can be
referred by the other segments are
stored in a data structure called
DEFINITION table.
 The definition table holds the
information such as symbol, address.
Object deck:
The Object Deck is used by various IBM
360 or 370 Direct Linking Loaders.
 There are 4 Sections of Object Desk :
 1: External Symbol Dictionary
cards(ESD).
 2: Instruction and Data Cards, called
“TEXT” of Program (TXT).
 3: Relocation and Linkage Directory
cards (RLD).
 4: END card (END).
ESD card
The ESD cards contain the information
necessary to build the external symbol
dictionary or symbol table.
External symbols are symbols that can
be referred beyond the subroutine level.
There are 3 types of external symbols:
 1: Segment Definition (SD).
 2: Local Definition (LD).
 3: External Reference (ER).
Global External Symbol
Table(GEST):
 The GEST is used to store the external
symbols defined by means of segment
definition or local definition or an External
Symbol Dictionary(ESD) card.
 When these symbols are encountered during
Pass 1, they are assigned an absolute core
address; this address is stored along with the
symbol in GEST.
 The reader may wish to review the discussion
on symbol tables and searching/sorting
techniques in conjunction with the design of
an assembler.
 The GEST has the same general use and
characteristics as the assembler’s Symbol
Loader
Pass 1
External
Symbol Table
Loader
Pass 2
From Assemblers
& Compilers
Input Object
checks
Copy of Object
Decks
Direct linking loaders

More Related Content

What's hot

System Programming Unit II
System Programming Unit IISystem Programming Unit II
System Programming Unit II
Manoj Patil
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]
Ravindra Raju Kolahalam
 

What's hot (20)

Design of a two pass assembler
Design of a two pass assemblerDesign of a two pass assembler
Design of a two pass assembler
 
Loaders
LoadersLoaders
Loaders
 
Ch 4 linker loader
Ch 4 linker loaderCh 4 linker loader
Ch 4 linker loader
 
System Programming Unit II
System Programming Unit IISystem Programming Unit II
System Programming Unit II
 
Unit 2
Unit 2Unit 2
Unit 2
 
Unit 4 sp macro
Unit 4 sp macroUnit 4 sp macro
Unit 4 sp macro
 
Single pass assembler
Single pass assemblerSingle pass assembler
Single pass assembler
 
System Programming- Unit I
System Programming- Unit ISystem Programming- Unit I
System Programming- Unit I
 
Macro-processor
Macro-processorMacro-processor
Macro-processor
 
Linker and Loader
Linker and Loader Linker and Loader
Linker and Loader
 
Two pass Assembler
Two pass AssemblerTwo pass Assembler
Two pass Assembler
 
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
 
Assemblers: Ch03
Assemblers: Ch03Assemblers: Ch03
Assemblers: Ch03
 
Register allocation and assignment
Register allocation and assignmentRegister allocation and assignment
Register allocation and assignment
 
Single Pass Assembler
Single Pass AssemblerSingle Pass Assembler
Single Pass Assembler
 
MACRO PROCESSOR
MACRO PROCESSORMACRO PROCESSOR
MACRO PROCESSOR
 
Unit 3
Unit 3Unit 3
Unit 3
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]
 
Introduction to Compiler design
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design
 
Types of Parser
Types of ParserTypes of Parser
Types of Parser
 

Similar to Direct linking loaders

Ece iv-fundamentals of hdl [10 ec45]-notes
Ece iv-fundamentals of hdl [10 ec45]-notesEce iv-fundamentals of hdl [10 ec45]-notes
Ece iv-fundamentals of hdl [10 ec45]-notes
siddu kadiwal
 
Java Abs Java Productivity Creator & Analyzer
Java Abs   Java Productivity Creator & AnalyzerJava Abs   Java Productivity Creator & Analyzer
Java Abs Java Productivity Creator & Analyzer
ncct
 

Similar to Direct linking loaders (20)

Loaders and Linkers
Loaders and LinkersLoaders and Linkers
Loaders and Linkers
 
Loader and Its types
Loader and Its typesLoader and Its types
Loader and Its types
 
SP Solutions -Adi.pdf
SP Solutions -Adi.pdfSP Solutions -Adi.pdf
SP Solutions -Adi.pdf
 
SP_Solutions_-Adi.pdf
SP_Solutions_-Adi.pdfSP_Solutions_-Adi.pdf
SP_Solutions_-Adi.pdf
 
SP_Solutions_-Adi.pdf
SP_Solutions_-Adi.pdfSP_Solutions_-Adi.pdf
SP_Solutions_-Adi.pdf
 
Ece iv-fundamentals of hdl [10 ec45]-notes
Ece iv-fundamentals of hdl [10 ec45]-notesEce iv-fundamentals of hdl [10 ec45]-notes
Ece iv-fundamentals of hdl [10 ec45]-notes
 
Loaders
LoadersLoaders
Loaders
 
Java Abs Java Productivity Creator & Analyzer
Java Abs   Java Productivity Creator & AnalyzerJava Abs   Java Productivity Creator & Analyzer
Java Abs Java Productivity Creator & Analyzer
 
DSD
DSDDSD
DSD
 
Disadvantages Of Robotium
Disadvantages Of RobotiumDisadvantages Of Robotium
Disadvantages Of Robotium
 
linker & loader presentation in Compiler Design
linker & loader presentation in Compiler Designlinker & loader presentation in Compiler Design
linker & loader presentation in Compiler Design
 
Digital principle and computer design Presentation (1).pptx
Digital principle and computer design Presentation (1).pptxDigital principle and computer design Presentation (1).pptx
Digital principle and computer design Presentation (1).pptx
 
Chapter 01
Chapter 01Chapter 01
Chapter 01
 
module 4.docx
module 4.docxmodule 4.docx
module 4.docx
 
Oracle RI ETL process overview.
Oracle RI ETL process overview.Oracle RI ETL process overview.
Oracle RI ETL process overview.
 
Deployement diagram
Deployement diagramDeployement diagram
Deployement diagram
 
INTRODUCTION TO VHDL
INTRODUCTION    TO    VHDLINTRODUCTION    TO    VHDL
INTRODUCTION TO VHDL
 
Vhdl introduction
Vhdl introductionVhdl introduction
Vhdl introduction
 
Top answers to etl interview questions
Top answers to etl interview questionsTop answers to etl interview questions
Top answers to etl interview questions
 
Linking in MS-Dos System
Linking in MS-Dos SystemLinking in MS-Dos System
Linking in MS-Dos System
 

More from Satyamevjayte Haxor (15)

Processes and threads
Processes and threadsProcesses and threads
Processes and threads
 
Patterns
PatternsPatterns
Patterns
 
Uml class Diagram
Uml class DiagramUml class Diagram
Uml class Diagram
 
Uml Common Mechanism
Uml Common MechanismUml Common Mechanism
Uml Common Mechanism
 
Types and roles
Types and rolesTypes and roles
Types and roles
 
States machine
States machineStates machine
States machine
 
What is symbol table?
What is symbol table?What is symbol table?
What is symbol table?
 
Lexical
LexicalLexical
Lexical
 
Linker
LinkerLinker
Linker
 
sCode optimization
sCode optimizationsCode optimization
sCode optimization
 
Nested micro
Nested microNested micro
Nested micro
 
Multiplier control unit
Multiplier control unitMultiplier control unit
Multiplier control unit
 
Control unit design
Control unit designControl unit design
Control unit design
 
Compilers
CompilersCompilers
Compilers
 
Keyword Presentation
Keyword PresentationKeyword Presentation
Keyword Presentation
 

Recently uploaded

%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 

Recently uploaded (20)

Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 

Direct linking loaders

  • 1. WALCHAND INSTITUTE OF TECHNOLOGY,SOLAPUR seminar on DIRECT LINKING LOADERS Presented By: Sneha Bijjargi Sonali Sulgadle Anjali Swami Ankit Palli
  • 2. Introduction  To execute an object program, we need ◦ Relocation, which modifies the object program so that it can be loaded at an address different from the location originally specified ◦ Linking, which combines two or more separate object programs and supplies the information needed to allow references between them ◦ Loading and Allocation, which allocates memory location and brings the object program into memory for execution
  • 3. Type of loaders  Assemble-and-go loader  Absolute loader (bootstrap loader)  Relocating loader (relative loader)  Direct linking loader
  • 4. Direct Linking Loaders  A Direct linking loader is a general relocating loader and is the most popular loading scheme presently used.  This scheme has an advantage that it allows the programmer to use multiple procedure and multiple data segments.  In addition, the programmer is free to reference data or instructions that are contained in other segments.  The direct linking loaders provide flexible intersegment referencing and accessing ability.
  • 5. Direct Linking Loaders  The assembler should give the following information to the loader: 1)The length of the object code segment 2)The list of all the symbols which are not defined in the current segment but can be used in the current segment. 3)The list of all the symbols which are defined in the current segment but can be referred by the other
  • 6. USE Table The list of symbols which are not defined in the current segment but can be used in the current segment are stored in a data structure called USE table. The USE table holds the information such as name of the symbol, address, address relativity.
  • 7. Definition Table  The list of symbols which are defined in the current segment and can be referred by the other segments are stored in a data structure called DEFINITION table.  The definition table holds the information such as symbol, address.
  • 8.
  • 9.
  • 10. Object deck: The Object Deck is used by various IBM 360 or 370 Direct Linking Loaders.  There are 4 Sections of Object Desk :  1: External Symbol Dictionary cards(ESD).  2: Instruction and Data Cards, called “TEXT” of Program (TXT).  3: Relocation and Linkage Directory cards (RLD).  4: END card (END).
  • 11. ESD card The ESD cards contain the information necessary to build the external symbol dictionary or symbol table. External symbols are symbols that can be referred beyond the subroutine level. There are 3 types of external symbols:  1: Segment Definition (SD).  2: Local Definition (LD).  3: External Reference (ER).
  • 12. Global External Symbol Table(GEST):  The GEST is used to store the external symbols defined by means of segment definition or local definition or an External Symbol Dictionary(ESD) card.  When these symbols are encountered during Pass 1, they are assigned an absolute core address; this address is stored along with the symbol in GEST.  The reader may wish to review the discussion on symbol tables and searching/sorting techniques in conjunction with the design of an assembler.  The GEST has the same general use and characteristics as the assembler’s Symbol
  • 13. Loader Pass 1 External Symbol Table Loader Pass 2 From Assemblers & Compilers Input Object checks Copy of Object Decks