In my previous post, I talked about how a virtual address is structured. To recall, a virtual address has 2 parts: virtual page number (VPN) and the offset.
We also mentioned that the OS keeps a per-process data structure called page table. For now just imagine it as a list of page table entries (or PTEs).
When the process is running, the OS stores address of the page table in the page table base register (PTBR). So to find the page you're looking for, all you need to do is:
\(ThePage = PTBR + (VPN * sizeof(PTE))\)

