Difficulty: Medium
Correct Answer: Relocation of address-sensitive parts
Explanation:
Introduction / Context:Different loading schemes distribute responsibilities among assembler, linker, and loader. In an absolute loading scheme, the assembler emits code with fixed absolute addresses, changing the usual division of labor for relocation.
Given Data / Assumptions:
Concept / Approach:Relocation is the process of adjusting address-sensitive instructions and data when the final load address is determined. In an absolute scheme, the assembler precomputes and fixes addresses; hence the loader does not relocate. The loader simply copies the image to memory and transfers control.
Step-by-Step Solution:
Recognize absolute output: object code already contains final addresses.Map loader duties: minimal—read into memory and start execution.Conclude: relocation duty shifts to the assembler phase.Verification / Alternative check:Examine object format: absence of relocation records indicates assembler-fixed addresses; the loader has no relocation patches to apply.
Why Other Options Are Wrong:
Allocation at load time: not characteristic of absolute loaders; addresses are predetermined.Linking: absolute scheme often assumes a single module or prelinked image.Loading: still a loader task—reading image into memory and starting execution.None of the above: incorrect since relocation is indeed done by the assembler here.Common Pitfalls:Confusing absolute with relocatable or dynamic loading; assuming all loaders must relocate regardless of scheme.
Final Answer:Relocation of address-sensitive parts.
Discussion & Comments