Suppose the page table for the process currently executing on the processor looks like the following. All numbers are decimal, everything is numbered starting from zero, and all addresses are memory byte addresses. The page size is 1,024 bytes.
Virtual page number | Valid bit | Reference bit | Modify bit | Page Frame number |
0 | 1 | 1 | 0 | 4 |
1 | 1 | 1 | 1 | 7 |
2 | 0 | 0 | 0 | – |
3 | 1 | 0 | 0 | 2 |
4 | 0 | 0 | 0 | – |
5 | 1 | 0 | 1 | 0 |
a. Describe exactly how, in general, a virtual address generated by the CPU is translated
into a physical main memory address.
b. What physical address, if any, would each of the following virtual addresses correspond to? (Do not try to handle any page faults, if any.)
(i) 1,052
(ii) 2,221
(iii) 5,499
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.