lafinur
lafinur

Reputation: 348

Dynamic relocation and address translation with base and bounds registers

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

Answers (0)

Related Questions