TOOLS AND TECHNIQUES FOR COMPILER DESIGN
MISCELLENOUS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
A relocatable program form is one which
|
Can’t be made to execute in any are of storage other than the one designated for it at the time of its coding or translation
|
|
Consists of a program and relevant information for its relocation
|
|
Can be processed to relocate it to a desired area of memory
|
|
All the above
|
Explanation:
Detailed explanation-1: -A self-relocating program is one that relocates its address-sensitive instructions to other parts of the memory. The program performs its own relocation and does not require a linker. Self-relocation is used in time-sharing operating systems where the load address of a program may change for each different execution.
Detailed explanation-2: -The link-editor makes a single file from several files of relocatable machine code. translates a relocatable machine code into an absolute machine code, places it in memory at the proper locations.
There is 1 question to complete.