Caching
CS 233 · Direct-mapped cache · address decomposition
Address Decomposition Calculator
28
Binary breakdown of 0x12345678 = 0b00010010001101000101011001111000
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
0
1
1
1
tag (28b)
1
0
index (2b)
0
0
offset (2b)
| Field | Binary | Hex | Decimal |
|---|---|---|---|
| Tag | 0b0001001000110100010101100111 | 0x1234567 | 19088743 |
| Index | 0b10 | 0x2 | 2 |
| Offset | 0b00 | 0x0 | 0 |