Question: ( 2 5 points ) A segmented memory has paged segments. Each virtual address has a 2 - bit segment number, a 2 - bit

(25 points)
A segmented memory has paged segments. Each virtual address has a 2-bit segment number, a 2-bit page number, and an 11-bit offset within the page. The main memory contains 32 KB , divided into 2-KB pages. Each segment is either read-only, read/write, or read/write/execute. The page tables and protection are as follows:
\table[[ Segment 0,\table[[Segment 1],[Read/Write/Execute]],\table[[Segment 2],[Read/Write]],\table[[Segment 3],[Read only]]],[\table[[Virtual],[Page]],Page Frame],[Virtual,Page,Virtual Page,\table[[Page],[Frame]],\table[[Virtual],[Page]],\table[[Page],[Frame]]],[Page,Frame,0,14,Page Table not in main memory],[0,0,1,On disk On disk,13],[1,1,,2,On disk],[2,,2,,],[3,15,3,,,,,]]
For each of the following accesses to virtual memory, tell what physical address is computed.If a fault occurs, tell which kind.
\table[[Access,Segment,Page,Offset within page],[1. fetch data,0,1,31],[2. fetch data,1,3,100],[3. fetch data,3,3,2047],[4. store data,1,3,4],[5. store data,2,1,0],[6. store data,0,3,13],[7. branch to it,0,3,5],[8. fetch data,0,2,10],[9. fetch data,2,0,8],[10. branch to it,1,1,0]]
( 2 5 points ) A segmented memory has paged

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!