Question: Suppose you have a 16-bit machine with a page size of 16B. Assume that any unsigned integer can be a potential memory address. Also, assume
Suppose you have a 16-bit machine with a page size of 16B. Assume that any unsigned integer can be a potential memory address. Also, assume that the machine can support up to only 32KB of physical memory. (1K = 210)
Translate the virtual address 0x0000 to its physical address (base 16) via the segmented-paging scheme. Assume that a program has two segments and a page size of 16B.
| segment number | page table base | page table bound |
| 0 | 0x8000 | 0x8 |
| 1 | 0x0000 | 0x8 |
physical memory address 0x0000
| virtual page number | physical page number |
| 0x000 | 0x500 |
| 0x001 | 0x504 |
| 0x002 | 0x508 |
| 0x003 | 0x50B |
| ... |
physical memory address 0x8000
| virtual page number | physical page number |
| 0x000 | 0x100 |
| 0x001 | 0x104 |
| 0x002 | 0x108 |
| 0x003 | 0x10B |
| ... |
Please leave out '0x' in your answer.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
