Exercise
Memory: Address Contents000000ac Page Table Address: 0000e0a8000000b0000000b4 . . .000080ac000080b0000080b4 . . .0000e0ac 800000000000e0b0 8000000e0000e0b4 8000a0b4
Q. Assuming 4K pages and "big-endian" addressing, i.e. the 0 byte of a word is the msb end, what are the contents of the memory location at the virtual address 000020b7?
A. "0b7" is the page offset, and "00002" is the virtual page number. Convert this to a displacement for the page table by multiplying by 4, and add to the page table address:
0000e0a8 + 8 = 0000e0b0". Find the physical page number at that location: 8000000e, where the msb is the "valid bit". Construct the physical address: 0000e0b7. Find that byte in memory: b4.