A logical (virtual) address is what a program generates and sees; a physical address is the actual location in RAM.
The memory management unit (MMU) translates logical to physical addresses at run time using page tables (or base and limit registers in simple schemes), which lets each process have its own private address space, lets the OS place data anywhere in RAM, and protects processes from each other.
Loading…