Professional Documents
Culture Documents
Loader H018256954 Op
Loader H018256954 Op
Pertemuan 9
Loaders
Learning Outcomes
Mahasiswa dapat memahami cara kerja awal dari sebuah eksekusi program di memory Mahasiswa dapat mengerti evolusi yang terjadi pada sistem operasi di komputer
Task of Loader
1. Allocate space in memory for the program (allocation) 2. Resolve symbolic references between object decks (linking) 3. Adjust all address dependant locations, such address constants, to correspond to the allocated space (relocation) 4. Physically place the machine instruction and data into memory (loading)
3
Loader Schemes
1. 2. 3. 4. 5. 6. 7.
-
Compile and Go Loaders General Loader Scheme Absolute Loaders Subroutine Linkage Relocating Loaders Direct-Linking Loaders Other Loader Scheme
Binders Linking Loaders Overlay Dynamic Binders
4
Memory
Compile-and-Go Translator (e.g.,assembler) Program Loaded In memory
Assembler
Memory
Source Program Translator Object Program 1 Loader Source Program Translator
Object Program 2
Loader