15
DEFINE LOADER:- Loader is utility program which takes object code as input prepares it for execution and loads the executable code into the memory. Thus loader is actually responsible for initiating the execution process.

Direct linking loader

Embed Size (px)

Citation preview

Page 1: Direct linking loader

DEFINE LOADER:-Loader is utility program which takes object code as input prepares it for execution and loads the executable code into the memory. Thus loader is actually responsible for initiating the execution process.

Page 2: Direct linking loader
Page 3: Direct linking loader
Page 4: Direct linking loader
Page 5: Direct linking loader

EXAMPLE

Page 6: Direct linking loader
Page 7: Direct linking loader
Page 8: Direct linking loader
Page 9: Direct linking loader
Page 10: Direct linking loader
Page 11: Direct linking loader
Page 12: Direct linking loader
Page 13: Direct linking loader
Page 14: Direct linking loader

• It is necessary to allocate, relocate, link, and load all of the subroutines each time in order to execute a program– loading process can be extremely time consuming.

• Though smaller than the assembler, the loader absorbs a considerable amount of space– Dividing the loading process into two separate

programs a binder and a module loader can solve these problems.

Disadvantages of Direct Linking

Page 15: Direct linking loader

THANK YOU