The following page table is for a system with 16-bit virtual andphysical addresses and with 4,096-byte pages. The reference bit isset to 1 when the page has been referenced. Periodically, a threadzeroes out all values of the reference bit. A dash for a page frameindicates the page is not in memory. The page-replacement algorithmis localized LRU, and all numbers are provided in decimal.
A. Convert the following virtual addresses (in hexadecimal) tothe equivalent physical addresses(hex).
B. Using the above addresses as a guide, provide an example oftwo logical address in different pages (in hexadecimal) that willresult in a page fault.
Answer:
C. From what set of page frames will the LRUpage-replacement algorithm will not choose inresolving a page fault?
Answer:
Page 0 1 2345 4 5 6 7 8 9 10 11121314 15 Page Frame 9 2 13 10 14 8 15 ܙ ܘ 0 5 4 - 1 3 Reference Bit 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0
Virtual Address OxE13C 0x5A9D 0xF9D9 0x7011 OxACA2 Physical Address
The following page table is for a system with 16-bit virtual and physical addresses and with 4,096-byte pages. The refer
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am