Matakuliah Tahun Versi : H0182/Pemrograman Sistem : 2006 : 01 Pertemuan 9 Loaders 1 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 2 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 Compile and Go Loaders Memory Source Program deck Compile-and-Go Translator (e.g.,assembler) Program Loaded In memory Assembler 5 General Loader Scheme Memory Source Program Translator Object Program 1 Loader Source Program Translator Object Program 2 Object Programs Ready for execution Loader 6
© Copyright 2026 Paperzz