INTRODUCTION TO COMPILER DESIGN
OVERVIEW OF COMPILERS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
consists of a program and relevant information for its relocation
|
|
cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
|
|
can itself perform the relocation of its address sensitive portions
|
|
all of these
|
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.
Detailed explanation-2: -Relocation : When a program is run it does not know in advance what location it will be loaded at. Therefore, the program cannot simply generate static addresses (e.g. from jump instructions). Instead, they must be made relative to where the program has been loaded.
Detailed explanation-3: -A non relocatable program is the one which? Explanation: A non reloadable program is one which cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation.