a) Show the virtual address format, including the name and size of the fields. b) Show the physical address format, including the name and size of the fields. c) What physical address corresponds to the virtual address 0x00? Answer should be in hexadecimal number. (if the address causes a page fault, answer as "page fault" with the proper explanation)
Suppose you have a byte-addressable virtual address memory system with 16 virtual pages of 64 bytes each and 4-page frames. Assuming the following page table, answer the questions below:
Page # | Frame # | Valid bit |
0 | 2 | 1 |
1 | 3 | 1 |
2 | - | 0 |
3 | 0 | 0 |
4 | 1 | 1 |
5 | - | 0 |
6 | - | 0 |
7 | - | 0 |
a) Show the virtual address format, including the name and size of the fields.
b) Show the physical address format, including the name and size of the fields.
c) What physical address corresponds to the virtual address 0x00? Answer should be in hexadecimal number. (if the address causes a page fault, answer as "page fault" with the proper explanation)
d) What physical address corresponds to the virtual address 0x42? Answer should be in hexadecimal number. (if the address causes a page fault, answer as "page fault" with the proper explanation)
e) What physical address corresponds to the virtual address 0x72? Answer should be in hexadecimal number. (if the address causes a page fault, answer as "page fault" with the proper explanation)
f) What physical address corresponds to the virtual address 0x84? Answer should be in hexadecimal number. (if the address causes a page fault, answer as "page fault" with the proper explanation)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps