Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 6

Matakuliah Tahun Versi

: H0182/Pemrograman Sistem : 2006 : 01

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

Compile and Go Loaders

Memory
Compile-and-Go Translator (e.g.,assembler) Program Loaded In memory

Source Program deck

Assembler

General Loader Scheme

Memory
Source Program Translator Object Program 1 Loader Source Program Translator

Object Program 2

Object Programs Ready for execution

Loader

You might also like