0

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.

SSI
  • 181
  • 1
  • 2
  • 8

1 Answers1

1

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.

Scott Hunter
  • 48,888
  • 12
  • 60
  • 101