Linkers Inserts code to resolve program library references. Combines object modules into an executable file. Automatically called by the compiler.
Types of Linkers Static Linker After compilation, before execution. Require more disk space and memory. Faster and more portable. Dynamic Linker Resolve external references during execution. Require less disk space and memory. Execution time is more.
Place the program into memory for execution. Responsible for initiating the execution of process. Loaders
Types of Loaders Absolute Loader Instructions are placed directly at the location prescribed by the assembler. Disadvantage: Leads to address relocation problems. Relocating Loader Adjust addresses in the executable to compensate for variations in the address at which loading starts. Disadvantage: Memory references are bound to absolute address at the initial load time.
Types of Loaders Dynamic Loader Load only those files which are required at that time. work like Dynamic linker.
Your consent to our cookies if you continue to use this website.