'Number of bits for physical/virtual memory
I have a question that goes like this: Consider a 18 bit system with a page size of 1 KB, and a memory size of 16 KB (2^14 bytes): a) Given an address, how many bits of that address are the page offset? b) How many bits will the physical page number require? c)How many bits will the virtual page number require? d) How many physical pages exist
I think the answers are: a - 10 b - 18 c - 8 d - 256
But I'm not 100% sure about my math since I'm overall shaky on this subject. If someone could help walk me through the math for each of these steps I'd really appreciate it!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
