I'm making an associative cache simulator in C: 4 ways, 524288 bytes total size, 64 bytes block size, 32 bits addresses.
In this address:
00001000000000000000000100001100
what is the decimal value of the tag, the set and the word?
I think it's tag: 256, set: 4 , word: 12, but I have some errors in Hits and Misses and I think this might be the problem. Thanks for your time.