Learn about the technologies behind the Internet with The TCP/IP Guide!|
NOTE: Using robot software to mass-download the site degrades the server and is prohibited. See here for more.
Find The PC Guide helpful? Please consider a donation to The PC Guide Tip Jar. Visa/MC/Paypal accepted.
|View over 750 of my fine art photos any time for free at DesktopScenes.com!|
How the Memory Address Is Used
The memory address provided by the processor represents which byte of information the processor is looking for at a given time. This is looked at in three sections by the cache controller as it does its work of checking for hits. This example is the same as before (64 MB memory, 512 KB cache, direct mapping to keep things simple) so we again have 26 address bits, A0 through A25:
If the numbers in the example change, so do these ranges. If instead we have 32 MB of memory, 128 KB of cache, and 16 byte cache lines, then A0 to A3 are ignored, A4 to A16 represent the cache line address, and A17 to A24 are the tag address.