of segmentation and virtual memory. Also Assume a computer memory system that us
ID: 3868487 • Letter: O
Question
of segmentation and virtual memory. Also Assume a computer memory system that uses a combination of segmentation and virtual memory. Also assume that the page size is 1KB ( 1024 bytes). For each of the following three addresses the CPU generates, find the physical address. If the specified address is not in the memory, clearly mention what the memory access request will cause. Each memory access request issued by the CPU consists of six decimal digits, of which the first two digits represent the segment number. On a page fault the page will be loaded in the physical page in the virtual memory table. Show all your work. Use the two tables attached at the end of this exam (in APPENDIX section). Assume “1”-TRUE and "O,'-FALSE. Example: "O33010" The offset address is 3.010 bytes from the beginning of the third segment segment 03, which is segment #3). (1) 049154 (2) 022040 (3) 062112Explanation / Answer
1
049154
Segment: 04
Offset: 9154
Offset is more than the limit (obtained from apendix), so the apendix will throw an error!
2
022040
Segment: 02
Offset: 2040
Logical address: 15360 + 2040 = 17400
logical page: 16
page offset: 1016
physical page:10
Physical address = 10*1024 + 1016 = 11256
Since the page is neither valid nor dirty, we have to fetch the page to memory
3
062112
Segment: 06
Offset: 2112
logical address: 38912 + 2112 = 41024
logicale page: 40
offset:64
Physical address = NOT FOUND
Since the page is not in physical memory, we need to copy from secondary mem
I hope uou understand yhe working principl. I shall investigte whu the answer can be or not!
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.