Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A computer system implements a paged virtual memory system. Assume a 16-bit virt

ID: 3719847 • Letter: A

Question

 A computer system implements a paged virtual memory system. Assume a 16-bit virtual address space and a 24-bit physical address space. Assume that the first 6 bits of a virtual address index the page table and the rest of the bits are the page offset.  A process has the following indexed page table.                  Index | Page Table Entry (PTE)                   0   |   0x3800                   1   |   0x3600                   2   |   0x3200                   3   |   0x1000  Each page table entry gives a hexadecimal page frame addresses.  Translate the following two hexadecimal VM addresses into their corresponding hexadecimal physical address. Hint: Translate the VM address to binary first.       Translate the binary VM address to a binary PM address.       Translate the binary PM address into hexadecimal.   VM Address 0x084B is _____________________ in Physical Memory  VM Address 0x0C78 is _____________________ in Physical Memory

Explanation / Answer

1. VM address is 0x084B in binary it is 0000 1000 0100 1011

where 6 bit represents virtual address index and remaining 10 bit as page offeset

page offest is same in physical memory address as in virtual address

for 6 bit as page index represent 2 index and in page table entry it is 0x3200

by combining thesse two so physical address will be 0xC8004B

2. VM address is 0x0C78 in binary 0000 1100 0111 1000 in which page index is 3

form page table entry address will be 0x1000

so by combining these two physical address will be 0x400078  

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote