The following page table is for a system with 16-bit virtual and physical addresses and with 4,096-byte pages. The reference bit is set to 1 when the page has been referenced. Periodically, a thread zeroes out all values of the reference bit. A dash for a page frame indicates the page is not in memory. The page-replacement algorithm is localized LRU, and all numbers are provided in decimal. Page Page Frame Reference Bit 0 7 0 1 15 0 2 10 0 3 13 0 4 14 0 5 -- 0 6 5 0 7 0 0 8 -- 0 9 9 0 10 1 0 11 11 0 12 2 0 13 − 0 14 3 0 15 8 0
The following page table is for a system with 16-bit virtual and physical addresses and with 4,096-byte pages. The reference bit is set to 1 when the page has been referenced. Periodically, a thread zeroes out all values of the reference bit. A dash for a page frame indicates the page is not in memory. The page-replacement
Page |
Page Frame |
Reference Bit |
0 |
7 |
0 |
1 |
15 |
0 |
2 |
10 |
0 |
3 |
13 |
0 |
4 |
14 |
0 |
5 |
-- |
0 |
6 |
5 |
0 |
7 |
0 |
0 |
8 |
-- |
0 |
9 |
9 |
0 |
10 |
1 |
0 |
11 |
11 |
0 |
12 |
2 |
0 |
13 |
− |
0 |
14 |
3 |
0 |
15 |
8 |
0 |
Convert the following virtual addresses (in hexadecimal) to the equivalent physical addresses. You may provide answers in either hexadecimal or decimal.
Show the calculation steps
Also set the reference bit for the appropriate entry in the page table.
- 0xD551
- 0x8D17
- 0x33E2
Trending now
This is a popular solution!
Step by step
Solved in 3 steps