Hi,
I have tried to solve all of these questions. I know that page size and frame size should be equal but from my answer page size and frame size is coming different. I cant figure out. Some body plz tell me what's the problem with my solutions.
Therefore page number = 7 bits
Total pages = 64
Total physical memory= 64 * 512=32768= 2^15
Therefore offset= 5 bits
Zulfi.
I have tried to solve all of these questions. I know that page size and frame size should be equal but from my answer page size and frame size is coming different. I cant figure out. Some body plz tell me what's the problem with my solutions.
Page table size= 64 entries= 2^7Q1. Consider a simple paging system with the following characteristics: a page table size of 64 entries of 11 bits (including valid/invald bit )each and a page size of 512 bytes.
a) How many bits in the logical address specify the page number?
Therefore page number = 7 bits
Page size = 512 bytesb) How many bits in the logical address specify the offset within the page?
Frame number= 10 bits
Total pages = 64
Total physical memory= 64 * 512=32768= 2^15
Therefore offset= 5 bits
Page number bits + offset bits= 7 + 5= 12 bitsc) How many bits are in the logical address?
Logical address space= 2^ 12= 4Kd) What is the size of logical address space?
10 bitse) How many bits in the physical address specify the page frame number?
5 bitsf) How many bits in the physical address specify the offset within the page frame?
15 bitsg) How many bits are in the physical address?
32 kh) What is the size of the physical address space?
Zulfi.