Logical and physical addresses
MMU translation, animated.
Module 4
Session 4.1
Lesson 3 of 4
Logical and Physical Addresses
The MMU turns a process address into a RAM address. That split is why protection and relocation work.
Two numbers for the same byte
A compiler emits logical (virtual) addresses: “byte 0 of this program.” The CPU, with the MMU, produces a physical address: a real location in DRAM. The process never sees the physical number.
Base-and-limit: physical = logical + base, and the access is legal only if logical < limit. Paging replaces that with a page table (next sessions).
Try a relocation
Click Translate.
If two processes both use logical 1200, they still land in different physical ranges because each has its own base (or page table).