I am trying to understand the concept of logical to physical addressing.
I am given 72 physical addresses (0-71) with values
A virtual address = 2^(p+w) p = page bits w = word bits
I know the page table is of size 6 indexed 0-5
If a page size is 16 words does that mean that the offset(w)=4, giving me 2^(p+4).
If thats the case how do I determine what the page number (p) if given a logical address of 12? I was thinking it would be 3 because I would need 3 bits to find the index of the page table 0-5, giving me 000 1100, index 0, offset 12. I feel like I might be missing something.