16 bit logical address to 16 bit physical address

920 views Asked by At

I'm studying for finals. I am studying this question:

Convert the following 16-bit logical address into the 16-bit physical address given the 6-bit page number and 10-bit offset. Use the supplied process page table.

Logical Address 0000010111011110.

How do I calculate the physical address.

My professor gave us the answer = 0001100111011110 but I do not know how she calculate this.

Thanks.

1

There are 1 answers

4
Scott Hunter On

Take the top 6 bits, and use its value as an index into your process page table. In this case, the top 6 bits evaluate to 1, so you replace those bits with the value in entry 1: 000110.