

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


8 words, and a physical memory which consists of 64 words. (a) Starting with a page table in which all valid bits are reset to zero, show the content of the page table (only the valid bit and the physical page number of each entry) after the following five memory references. Assume that the first page brought into memory is put in physical page 0, the second is put into physical page 1, ... and so on. 1100101 1010011 1100110 0110011 1101101 valid Physical page number
content of the TLB after the above five memory references tag valid Physical page number 1
(c)Assume that at a given point during execution, the page table contains the following: Valid bit Physical page number 1 010 0 1 111 0 1 110 0 1 011 1 001 0 0 0 0 0 0 0 0 And assume that the TLB is fully associative and contains the following: tag valid Physical page number 0010 1 111 0 0 0111 1 001 For each of the following virtual memory references indicate if it results in a TLB hit or miss, and if it causes a page fault or not. For the references that are TLB hits, show the physical address resulting from the address translation. 0010111 0111110 0110000 1000000 2