Contents
Page-10
Prev
Next
Page+10
Index
Loading Process
An absolute file is loaded and executed by the loader
(part of the operating system) with the following conceptual steps:
- Allocate memory for each program segment.
- Read the memory image into main memory from the absolute file on disk.
- Set the base register to the initial
address of the segment
and set the bounds register to the size of
the segment.
- Jump to the starting address of the program,
using a special jump instruction that switches the processor state from
system mode to user mode during the jump.