Translate the following virtual addresses to physical addresses, and show how you obtain the answers. (Hint: You do not need to convert hexadecimal numbers to decimal ones.) 0x0389 0xDF78 0x0245 0x8012 Need help with part e of problem. Thanks!!
Suppose a computer system uses 16-bit addresses for both its virtual and physical addresses. In addition, assume each page (and frame) has size 256 bytes.
-
How many bits are used for the page number? How many bits are used for the offset? 8 bits each.
-
With this system, what’s the maximum number of pages that a process can have? 256
-
Suppose that each entry in the page table comprises 4 bytes (including the frame number, the valid bit, and miscellaneous “bookkeeping bits”). An OS uses an array to store the page table. What is the size of the page table? 1024 Bytes
-
Furthermore, suppose the first 6 pages of a process map to frames 222 to 227 (as decimal numbers), and the last 5 pages of the process map to frames 1 to 5 (also decimal numbers). All other pages are invalid. Draw the page table, including the valid bit and the frame number. DONE
-
Translate the following virtual addresses to physical addresses, and show how you obtain the answers. (Hint: You do not need to convert hexadecimal numbers to decimal ones.)
-
0x0389
-
0xDF78
-
0x0245
-
0x8012
-
Need help with part e of problem. Thanks!!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps