in Compiler Design edited by
1,123 views
3 votes
3 votes

The task of adjusting programs so that they may be placed in arbitrary core locations is called relocation. This task is often performed by the relocating loaders. Given below are the tasks performed by the relocating loaders. Identify the correct sequence in which the tasks need to be performed.
1. Resolve symbolic references between object decks
2. Allocate space in memory for the program
3. Physically place the machine instructions and data into the memory
4. Adjust all address dependent locations

  1. $1 \: 2 \: 3 \: 4$
  2. $2 \: 1 \: 3 \: 4$
  3. $3 \: 1 \: 4 \: 2$
  4. $2 \: 1 \: 4 \: 3$
in Compiler Design edited by
1.1k views

1 comment

First we allocate then link ,relocate and then finally load. So I think (D) is the answer.

2) Allocate space in memory for the program 

1)Link-Resolve symbolic references between object decks

4)Relocate-Adjust all address dependent locations 

3)Load-Physically place the machine instructions and data into the memory 

12
12

Please log in or register to answer this question.

Answer:

Related questions