My Seminar On Loader 2003
My Seminar On Loader 2003
COLLEGE,
CHANDRAPUR
NAGPUR UNIVERSITY
COMPILER
LOADER
ASSEMBLER
MACRO
OPERATING SYSTEM
LOADER
“ It is system program which place object program
into memory and prepare them for execution”.
FUNCTION
ALLOCATION
ALLOCATION
LINKING
LINKING
RELOCATION
RELOCATION
LOADING
LOADING
“It is a method of loading in which assembler run in one
part of memory and place the instruction & data directly
into there assigned memory location ”.
SIMPLE JUMP INSTRUCTION
Disadvantages:-
1.Memory wastage
2. Retranslation
Compile and Go Loader
Operating system
Source Assembler
program Memory used by other
program
Program loaded in
memory for
execution
6
GENERAL LOADER SCHEME
Advantages:-
1.Time saving
2.Less memory required
GENERAL LOADER SCHEME
Main memory
Sourse OBJECT Operating
Program 1 PROGRAM system
1 LOADER
Used by other
Assembler program
Object Program 1
+
Sourse OBJECT
Program 2 PROGRAM Object Program 2
2
8
ABSOLUTE LOADER
“It is a simplest loading scheme in which
object program punched on card instead
of being placed directly in memory”.
Advantages:-
1.Simple to implement
2.More core available to the user
ABSOLUTE LOADER
MAIN MEMORY
MAIN OPERATING
PROGRAM SYSTEM
Absolute Loader
MAIN
SQRT PROGRAM
SQRT
10
ALLOCATION :-
“Allocate memory for the program”.
LINKING :-
“Resolve symbolic referances between object
program”.
•Symbol are used to call the sub program
•Assigned address used for linking
UP
RELOCATION :-
“Relocation is the process of assinging load
addresses to the various part of program”.
LOADING :-
“Physically place the machine instruction and
data into memory”.
UP
Punched card voting Punched card decks
!
Punched curds