A loader is a system program, which takes the object code of a program as input and prepares it for execution.
Loader Function : The loader performs the following functions :
1.)Allocation - The loader determines and allocates the required memory space for the program to execute properly.
2.)Linking -- The loader analyses and resolve the symbolic references made in the object modules.
3.)Relocation - The loader maps and relocates the address references to correspond to the newly allocated memory space during execution.
4.)Loading - The loader actually loads the machine code corresponding to the object modules into the allocated memory space and makes the program ready to execute.
Loader Function : The loader performs the following functions :
1.)Allocation - The loader determines and allocates the required memory space for the program to execute properly.
2.)Linking -- The loader analyses and resolve the symbolic references made in the object modules.
3.)Relocation - The loader maps and relocates the address references to correspond to the newly allocated memory space during execution.
4.)Loading - The loader actually loads the machine code corresponding to the object modules into the allocated memory space and makes the program ready to execute.
No comments:
Post a Comment