Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   virtual memory system question (http://www.go4expert.com/forums/virtual-memory-question-t23768/)

 oomn123 4Nov2010 13:43

virtual memory system question

Can anyone correct me with this question
Consider a virtual memory system with the following parameters:
8-kbyte virtual page size => 212
linear page table
32-bit Page Table Entry PTE

a. Draw a diagram of the 32-bit address showing the length and placement of all bit fields.

Page number is 20 bit and Offset is 12 bits

How many virtual pages are available in this system?
= 32-12 = 20
= 220

Assuming that 16 bits in the page table entry (PTE) is used for flags,
what is the maximum size of the physical memory (in bytes) this system can support?
= 16+12= 28
= 228

b. Describe the steps in translating the following virtual address: 0x 004E C01A. You have to base this description on specific values extracted from the given address. If you make any assumptions, you have to state them explicitly.

my answer was in this image but i am not so sure

 oomn123 4Nov2010 13:50

Re: virtual memory system question

yfrog.com/2f92952145g

 All times are GMT +5.5. The time now is 15:55.