Home » Computer Organization and Architecture » Computer organization and architecture miscellaneous » Question

Computer organization and architecture miscellaneous

Computer Organization and Architecture

  1. Which of the following addressing modes are suitable for program relocation at run time?
    1. Absolute addressing
    2. Relative addressing
    3. Based addressing
    4. Indirect addressing
    1. 1 and 4
    2. 1 and 2
    3. 2 and 3
    4. 1, 2 and 4
Correct Option: C

Program relocation at run time transfers complete block to some memory locations. Relocation is the process of assigning load addresses to various parts of a program and adjusting the code and data in the program to reflect the assigned addresses This require base address and block should be relatively addressed through this base address. This require both based addressing and relative addressing mode. Hence (c) is correct option.



Your comments will be displayed only after manual approval.