Loaders — absolute loading scheme: In an absolute loading scheme, which function is performed by the loader itself?

Difficulty: Easy

Correct Answer: Loading

Explanation:


Introduction / Context:
Loaders place object code into memory for execution. Different schemes (absolute, relocating, linking) assign different responsibilities to assemblers, linkers, and loaders.



Given Data / Assumptions:

  • We are specifically in an absolute loading scheme.
  • Absolute object modules contain fixed, final addresses.
  • No relocation or symbol resolution is required at load time.


Concept / Approach:

Under absolute loading, the assembler or linker has already resolved addresses. The loader’s job is simply to read the object code and place it at the specified memory locations, then transfer control. It does not perform relocation, allocation decisions, or linking at this stage.



Step-by-Step Solution:

Identify scheme: absolute loading (no relocation/linking).Determine the remaining role: copy code to memory and start execution.Therefore, the loader’s function is “Loading.”Select option “Loading.”


Verification / Alternative check:

Toolchain descriptions contrast absolute loaders with relocating loaders and linkers (which handle symbol resolution and relocation).



Why Other Options Are Wrong:

  • Reallocation/Allocation: placement decisions are pre-determined for absolute code.
  • Linking: symbol resolution happens earlier.


Common Pitfalls:

Assuming all loaders relocate; in absolute loading, addresses are final, so relocation is unnecessary.


Final Answer:

Loading

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion