FOR FREE MATERIALS

Calculation of Offset for Logical and Physical address

 

We know:

Logical address contains two parts: page number and Offset 

 

And physical address contains two parts: frame number and Offset

 

We also know the offset of logical address and physical address is the same because page size = frame size.

 

Let,

Page size = Frame size = P byte

 

 

Example:

Page size = Frame size = 10KB = 210

 

So, Page offset = Frame offset = 10 bits