LOADER
Loading is the process of bringing a program from secondary memory into main memory so it can run. The system software responsible for it is known as loader. The simplest type of loader is absolute loader which places the program into memory at the location prescribed by the assembler. Bootstrap loader is an absolute loader which is executed when computer is switched on or restarted to load the operating system. In most of the cases, when a compiler translates a source code program into object code, it has no idea where the code will be placed in main memory at the time of its execution. In fact, each time it is executed, it would likely be assigned a different area of main memory depending on the availability of primary storage area at the time of loading. That is why, compilers create a special type of object code which can be loaded into any location of the main memory. When the program is loaded into memory to run, all the addresses and references are adjusted to reflect the actual location of the program in memory. This address adjustment is known as relocation. Relocation is performed before or during the loading of the program into main memory
Frequently Asked Questions
Recommended Posts:
- What is a Computer ?
- Introduction - What Is A Computer
- Evolution Of The Computer- A Brief History
- Generations Of Computers
- Classification Of Computers
- Anatomy Of A Computer
- Memory Revisited
- What is Operating System And How It Loads
- Operational Overview Of CPU
- Introduction To Number System
- Base Of A Number System
- Basic Internet Terminology, Types Of Internet Connections, Uses And Hazards Of Internet
- COMPUTER FUNDAMENTALS AND PROGRAMMING IN C
- COMPUTER FUNDAMENTALS AND PROGRAMMING IN C
- COMPUTER FUNDAMENTALS AND PROGRAMMING IN C