Question: We consider a program which has the two segments shown below consisting of instructions in segment 0, and read/write data in segment 1. Segment 0

We consider a program which has the two segments shown below consisting of instructions in segment 0, and read/write data in segment 1. Segment 0 has read/execute protection, and segment 1 has just read/write protection. The memory system is a demand260 paged virtual memory system with virtual addresses that have a 4-bit page number, and a 10-bit offset. The page tables and protection are as follows (all numbers in the table are in decimal):
We consider a program which has the two segments shown

For each of the following cases, either give the real (actual) memory address which results from dynamic address translation or identify the type of fault which occurs (either page or protection fault).
(a) Fetch from segment 1, page 1, offset 3
(b) Store into segment 0, page 0, offset 16
(c) Fetch from segment 1, page 4, offset 28
(d) Jump to location in segment 1, page 3, offset 32

Segment0 Read/Execute Segment1 Read/Write 1 Virtual Page # 0 | Page frame # | Virtual Page # 0 Page frame # On Disk On Disk 2 5 On Disk On Disk 4 4 On Disk 6 6 7 12

Step by Step Solution

3.33 Rating (177 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here are the results Address Fault a ... View full answer

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

Document Format (1 attachment)

Word file Icon

761-C-S-D-B-O-S (362).docx

120 KBs Word File

Students Have Also Explored These Related Operating System Questions!