Byte offset = log2(64)= 6bits
Bits to represent cache lines= log2(512)= 9bits
Tag bits= 32-(6+9)= 17 bits
1A2BC012 => consider C01 only to check for block of cache (1 letter represent – 4 bits)
C01 => (1100 0000 0001)
=> (00 0000 000) (we have to take 9 bits from back after ignoring 6 bits of byte offset)
00 0000 00 = 0
FFFF00FF => 00F => 0000 0000 1111 => 00 0000 111 => 7
12345678 => 567 => 0101 0110 0111 => 01 0110 011 => 179
C109D532=> D53 => 1101 0101 0011 => 01 0101 001=> 169