Page 117 - DCAP507_SYSTEM_SOFTWARE
P. 117
Unit 8: Introduction to Linking and Loading
Notes
Figure 8.1: Compile and Go Loading Scheme
8.1.2 General Loader Scheme
In General Loader Scheme loader scheme, the source program is transformed to object program
by some translator (assembler). The loader admits these object modules and puts machine
instruction and data in an implementable form at their allocated memory. The loader occupies
some part of main memory.
Advantages
The program require not be retranslated every time while executing it. This is because
primarily when source program gets executed an object program gets created. Of program
is not customized, then loader can utilize this object program to translate it to executable
form.
Figure 8.2: General Loading Scheme
There is no depletion of memory, since assembler is not positioned in the memory,
instead of it, loader contains some part of the memory. And size of loader is minor than
assembler, so more memory is obtainable to the user.
LOVELY PROFESSIONAL UNIVERSITY 111