Paging and Segmentation
Paging and Segmentation
Following steps are followed to translate logical address into physical address-
Step-01:
CPU generates a logical address consisting of two parts-
1. Page Number
2. Page Offset
● Page Number specifies the specific page of the process from which CPU
wants to read the data.
● Page Offset specifies the specific word on the page that CPU wants to
read.
Step-02:
The frame number combined with the page offset forms the required physical
address.
●
● Frame number specifies the specific frame where the required page is stored.
● Page Offset specifies the specific word that has to be read from that page.
Paging Hardware
The following diagram illustrates the above steps of translating logical address into
physical address-
Advantages-
In accordance to the above segment table, the segments are stored in the main
memory as-
Translating Logical Address into Physical Address
Following steps are followed to translate logical address into physical address-
Step-01:
The following diagram illustrates the above steps of translating logical address into physical address-
Advantages-