In: Other
If a process may be dynamically assigned to different locations in main memory, what is the implication for the addressing mechanism?
Assigning process to different memory locations dynamically in main memory:
The implication of this addressing mechanism is that, the addresses in the program are dynamic in nature.
• Addresses are expressed based on the location of the program.
• In the beginning of the program, the address relative to the location of the instructions is assigned to it. This is expressed as logical address mechanism.
• During the execution of the program in the processor, absolute address is assigned to the instructions, which is expressed as the actual address in main memory.
Therefore, address of the instructions should be dynamic in the sense that during the execution only absolute addresses are resolved.
Therefore, address of the instructions should be dynamic in the sense that during the execution only absolute addresses are resolved.