Addresses generated by the CPU in the form of logical address, whereas the entry into the memory is the physical address. At compile time and load time, the physical and logical addresses are identical. Conversely, physical addresses and logical differences occur at execution time.
Collection of all logical addresses generated by the program is the logical address space / space virtual address. Collection of all the physical addresses corresponding to logical address is called physical address space.
At the time the program was in the CPU, the program has a logical address, then by the MMU mapped into physical addresses that are stored in memory. Following illustration, the value in this register will be added to every address made by the user process which is then sent to memory. For example in the relocation register 14000, logical address in the 346, then directly mapped into physical addresses in 14 346.
![]() |
Using Dynamic image Relocation Relocation Register(register relocation). |
No comments:
Post a Comment