Need help with this computer architecture hw. Please help me. I do not know how
ID: 3567400 • Letter: N
Question
Need help with this computer architecture hw. Please help me. I do not know how to do this.
Given the following page table and address formats, answer the questions below. For virtual address of 0XAAA, is there a physical address or page fault? If not page fault, what would physical address be (in either binary or hex)? For virtual address of 0x8AA, s there a physical address or page fault? If not page fault, what would physical address be (in either binary or hex)? For virtual address of 0xB36, s there a physical address or page fault? If not page fault, what would physical address be (in either binary or hex)? For virtual address of 0x20F, s there a physical address or page fault? If not page fault, what would physical address be (in either binary or hex)?Explanation / Answer
Physcial address = frameno + offset
1.
0xAAA = 1010 1010 1010
8 bit offset = 1010 1010
page number = 1010 = 10
Page number 10 is not valid
2.
0x8AA = 1000 1010 1010
page number = 1000 = 8
Page number 8 is valid.
Frame for page no. 8 = 1 = 01
Physical address = frame + offset = 0110101010
3.
0xB36 = 1011 0011 0110
Page no = 1011 = 11
Page number 11 is valid.
Physical address = 100011 0110
4.
0x20F = 0010 0000 1111
Page no = 0010 = 2
Page number 2 is invalid so page fault.