565 views

1 Answer

2 votes
2 votes

After much head banging.


Part 2): 256K(218) of memory. The offset can address 28 bytes. We have to use 218/28  that is 210 pages. Hence the 1024 Address space. What this means is you need 1024 pages to access 256K Memory. Now how many 3rd level pages are required to accomodate 1024 pages ? 2^10/2^6 = 2^4 = 16 Pages.

Therefore we need 16 entries in a 2nd level page table, and one entry in the first level page table

The  rest you can follow from the given solution.


Part 3): Ist level page table in 10 bits long. So,  64 K starting at address 0x1000000,   0001 0000 0000 ......

600K starting at address 0x80000000 1000 0000 0000 .....

64K starting at address 0xf0000000  1111 0000 0000 .....

So the first 10 bits tell us that 3 different 1st level pages.

2^64/2^8 = 2^8 pages ----> 2^8/2^6 = 4 pages and so on, the rest you can follow from the given solution.

Related questions

0 votes
0 votes
0 answers
1
SSR17 asked Feb 8
211 views
we have 8 pages (each side 32B) to store in physical memory of 2^32 bits how many bits are required to identify each page , according to me 3 bits are required but that i...
0 votes
0 votes
2 answers
2
Unique_999 asked Aug 17, 2023
324 views
Can Any explain the relationship between The “ Word Size “ and “ Logical Address Space “
0 votes
0 votes
1 answer
3