Question: A computer uses segmentation with paging. A virtual address consists of six hexadecimal digits, SSPPEE, where SS is a segment number and PPEE is the

 A computer uses segmentation with paging. A virtual address consists of

A computer uses segmentation with paging. A virtual address consists of six hexadecimal digits, SSPPEE, where SS is a segment number and PPEE is the offset within the segment. The segment is paged, with PP as the page number and EE as the page offset. The page size is 256 bytes. The physical address is on 16 bits. The figure below shows selected parts of the current memory contents. All numbers are hexadecimal. Segments and page tables are indexed starting at 0. Two-digit frame numbers are stored in the segment tables, in the page tables, and in STBR (Segment Table Base Register). Thses frame numbers are converted to main memory addresses by appending Ox00. For example, the entry Of in a segment table means that the segment's page table is located at address OxOFOO. A* means the page is on disk. STBR=0x06 List of free page frames: 0x1A, 0x08, 0x21,0x16, OxOE. Segment tables: Ox0200 OXOF Ox0600 Ox09 Ox3000 OXOF Ox13 Ox Ox09 Ox09 Ox4C 0x13 Ox3D 0x40 4E Ox5D Page tables: Ox 3DOO0x50 0x400 OxOA00 Ox1E Ox3B 0x57 Ox5A 59 0X20 Ox0900 04 OxOFOO 0x1300 0x18 0x400 11 0x25 a)The following sequence of virtual memory addresses are generated by the current process. What are the corresponding main memory addresses? In answering this question, assume that new pages are brought into main memory using the given list of free page frames (0x1A, 0x08, 0x21, Ox16, OxOE). Write changes to the segment or page tables into the above figure. Virtual memory address Main memory address is there a page fault? OxO000B2 YES NO OxO20216 YES NO OxO2015E YES NO Ox0202A7 YES NO b)Following the four accesses performed in part a), the system switches execution to another process. The value Ox02 is loaded into the STBR. What segments, if any, are shared between this new process and the previous process? c)Describe what happens when the new process (STBR=0x02) references address Ox030142. Keep using list of free page frames from Part11.1. Write changes to the segment or page tables into the above figure. Can you determine what main-memory address results after address translation? If so, state the address. If not, state what additional information is needed. A computer uses segmentation with paging. A virtual address consists of six hexadecimal digits, SSPPEE, where SS is a segment number and PPEE is the offset within the segment. The segment is paged, with PP as the page number and EE as the page offset. The page size is 256 bytes. The physical address is on 16 bits. The figure below shows selected parts of the current memory contents. All numbers are hexadecimal. Segments and page tables are indexed starting at 0. Two-digit frame numbers are stored in the segment tables, in the page tables, and in STBR (Segment Table Base Register). Thses frame numbers are converted to main memory addresses by appending Ox00. For example, the entry Of in a segment table means that the segment's page table is located at address OxOFOO. A* means the page is on disk. STBR=0x06 List of free page frames: 0x1A, 0x08, 0x21,0x16, OxOE. Segment tables: Ox0200 OXOF Ox0600 Ox09 Ox3000 OXOF Ox13 Ox Ox09 Ox09 Ox4C 0x13 Ox3D 0x40 4E Ox5D Page tables: Ox 3DOO0x50 0x400 OxOA00 Ox1E Ox3B 0x57 Ox5A 59 0X20 Ox0900 04 OxOFOO 0x1300 0x18 0x400 11 0x25 a)The following sequence of virtual memory addresses are generated by the current process. What are the corresponding main memory addresses? In answering this question, assume that new pages are brought into main memory using the given list of free page frames (0x1A, 0x08, 0x21, Ox16, OxOE). Write changes to the segment or page tables into the above figure. Virtual memory address Main memory address is there a page fault? OxO000B2 YES NO OxO20216 YES NO OxO2015E YES NO Ox0202A7 YES NO b)Following the four accesses performed in part a), the system switches execution to another process. The value Ox02 is loaded into the STBR. What segments, if any, are shared between this new process and the previous process? c)Describe what happens when the new process (STBR=0x02) references address Ox030142. Keep using list of free page frames from Part11.1. Write changes to the segment or page tables into the above figure. Can you determine what main-memory address results after address translation? If so, state the address. If not, state what additional information is needed

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 Databases Questions!