Professional Documents
Culture Documents
Absolute loader
It is very simple.
An object program is loaded at the address specified on the START directive. No relocation or linking is needed. The loader jumps to the address specified on the END directive to begin execution of the loaded program.
5
48 occupies two bytes in char form. 48 occupies one byte in binary form.
Bootstrap loader
When a computer is turned on or restarted, a special type of absolute loader, called bootstrap loader, is executed.
The bootstrap loader loads the first program to be run by the computer usually an operating system, from the boot disk (e.g., a hard disk or a floppy disk)
10
11
There can be even more steps such as a boot manager that decides from which disk partition to read the operating system boot program.
12
The first-level loader typically is only able to load a single-segment program from a file with a fixed name in the top-level directory of the boot disk.
13