Reputation: 348
In the context of dynamic relocation, where base and bounds registers are used for address translation, the real address (in physical memory) corresponding to a virtual address is
real_addr = virtual_addr + base_register_value
But what about instructions that do not manipulate memory but only move data between processor registers? For instance, in x86
, what would the instructions
MOVL $128, %ebx
MOVL (%ebx), %eax
do? How could they be understood from a perspective of address translation using base and bounds?
Upvotes: 0
Views: 48