- The general loading scheme improves the compile/assemble-and-go scheme by allowing different source programs (or modules of the same program) to be translated separately into their respective object programs.
- The object code (modules) is stored in the secondary storage area; and then, they are loaded.
- The loader usually combines the object codes and executes them by loading them into the memory, including the space where the assembler had been in the assemble-and-go scheme.
- Rather than the entire assembler sitting in the memory, a small utility component called loader does the job.
- Note that the loader program is comparatively much smaller than the assembler, hence making more space available to the user for their programs.
Advantages | Disadvantages |
Saves memory and makes it available for the user program as loaders are smaller in size than assemblers. The loader replaces the assembler. | The loader is more complicated and needs to manage multiple object files. |
Reassembly of the program is no more needed for later execution of the program. The object file/deck is available and can be loaded and executed directly at the desired location. | Secondary storage is required to store object files, and they cannot be directly placed into the memory by assemblers. |
This scheme allows use of subroutines in several different languages because the object files processed by the loader utility will all be in machine language. | |
Download the Android app to get all Government Job Notifications on your Mobile.
Download Now
Important: Please always Check and Confirm the above details with the official Advertisement / Notification.