A Virtual memory system with 16 bit address space supports a

A Virtual memory system with 16 bit address space supports a page size of 16k. The page table entries are shown below. What is the physical address for the following virtual addresses (1,10), (2,40) and (0,50) (VP#, offset)

Virtual Page # 0) Physical Page # 1 3 2

Solution

hi,

first virtual address (1,10)

1)In this 1 is the virtual page address for this we have to check the physical address frame number by looking at the page table given that is = 3.

2)then the physical will be (3,10) because offset will be same for both pa and va

3)Then if we want to change it to address format formual is PA= frame number*pagesize+offset

then page size is 16k that is 16*1048 bytes 16768

16768*3+10=50314 is the PA

like the same for other 2 (2,40)=0*16768+40=40

and (0,50) =1*16768+50=16818

Any doughts please comment below

A Virtual memory system with 16 bit address space supports a page size of 16k. The page table entries are shown below. What is the physical address for the foll

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site