| Page # | Frame # | Valid |
|---|
A logical (virtual) address generated by the CPU is split into two parts: the high-order bits form a page number (p), and the low-order bits form an offset (d) within the page. The MMU uses p as an index into the page table to find the corresponding frame number (f) in physical memory. The physical address is then f × page_size + d, or equivalently the bits of f concatenated with d. This lets the OS place the logically-contiguous pages into any free frames in RAM — they do not need to be adjacent.