Suppose a system in which addresses (physical and logical) occupy 32 bits, page size is 1024 bytes(210), and physical memory is of size 32MB. How many frames are in physical memory? Is the logicaladdress space larger than physical memory? Explain.The solution given is: 232 byte logical address space (assuming byte-addressable machine)225 byte physical memory210 byte pagesAt one page per frame, there are 225/210 = 215 pages in physical memory. The logical memory addressspace is larger than physical memory.Can someone explain how to arrive at this solution?
Size of address spaces (logical and physical)
operating systems;memory management
The size of a frame is the same as that of a page, so the size of a frame is 1024 bytes (210 bytes).  If the physical memory is 32MB (225 bytes), the number of frames is 225 / 210 = 215 and this is also the maximum number of pages that can be present in memory at the same time.  The logical address space is larger than the physical address space, a process can address 232 memory locations that is 232 / 210 = 222 pages.  