Explore BrainMass
Share

Explore BrainMass

    Paging: virtual address to physical address translation

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Given the following page table for a process currently executing on a processor,

    Virtual page number | Valid bit | Frame number
    0 | 1 | 4
    1 | 1 | 7
    2 | 0 | -
    3 | 1 | 2
    4 | 0 | -
    5 | 1 | 0

    What physical address (if any) would virtual address 1053 translate to?

    All numbers are decimal, everything is numbered starting from 0, and all addresses are memory byte addresses. The page size is 1024 bytes.

    © BrainMass Inc. brainmass.com October 9, 2019, 8:40 pm ad1c9bdddf
    https://brainmass.com/computer-science/memory-management/paging-virtual-address-physical-address-translation-158662

    Solution Preview

    Given, page size (Sp) = 1024 bytes
    Frame size will be same as page size.

    To determine the physical address from a virtual address, we first compute the virtual page number as -
    Virtual page number (Vn) = virtual address / Sp

    Next, ...

    Solution Summary

    Solution explains the procedure of converting virtual address to physical address.

    $2.19