So I really don't get this. Can anyone explain how to do these problems?
Suppose we have a 32-bit CPU with a paging-based memory system. The size of a page is 4KB(2^12). Now the CPU generates a virtual addres 0x0000AAA
1.) What is the virtual page number of this virtual address? What is the page offset?
2.) Using the page table below, translte the above virtual address into physical address - in hex representation. The page table shows the first 5 entries.
0 - 0xAAAAA 1 - 0xBBBBB 2 - 0xCCCCC 3 - 0xDDDDD 4 - 0xEEEEE