Q. Illustrate the function of Loader?
A loader is a routine which loads an object program and prepares it for execution. There are many loading schemes: relocating, absolute and direct-linking. Generally the loader must load, relocate as well as link the object program. Loader is a program which places programs into memory and prepares them for execution. In a simple loading scheme assembler outputs the machine language translation of a program on a secondary device and a loader is placed in core. Loader places into memory the machine language version of user's program and transfers control to it. Because loader program is much smaller than assembler so makes more core available to user's program.