The following table represents a 64 byte long block of main memory being used to hold two data arrays, one starting at address $04 and the second at address $20. It is broken into to tables to fit on the screen/page. Addresses and contents of cells are expressed as hexadecimal values.

Segment 0 Segment 1
Line 0 Line 1 Line 0 Line 1
Mem
Addr
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
Data 00 00 00 00 37 01 f4 1b 17 b0 22 00 05 0b e2 dc b8 35 92 29 00 00 00 00 00 00 00 00 00 00 00 00
Segment 2 Segment 3
Line 0 Line 1 Line 0 Line 1
Mem
Addr
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
Data 4c 30 99 aa 4f 20 98 ab 4e 10 88 cd 3b 72 77 ef 30 90 66 9a 27 90 55 2b 23 a2 44 00 0f b0 33 00

The data cache table is 8 cells by 2 lines, each cell holds 1 byte of data.
Only data is cached in this example (not instuctions). Instructioin being executed is listed above each cache instance.

Empty cache
on boot up.
LDA $06 - Miss - f4
06h = 000 0 110b
tag = 0, line = 0, byte = 6
Line
ID
TagData
01  -  --  -- -- --  --  -- -- --
00  -  --  -- -- --  --  -- -- --
Line
ID
Tag Data
01 - -------- --------
00 0000 00000000 3701f41b
ADC $20 - Miss - 4cSBC $07 - Miss - 1b
20h = 0010 0 00007h = 0000 0 111b
tag = 2, line = 0, byte = 0 tag = 0, line = 0, byte = 7
Line
ID
Tag Data
01 - -------- --------
00 0010 4c3099aa 4f2098ab
Line
ID
Tag Data
01 - -------- --------
00 0000 00000000 3701f41b
ADC $21 - Miss - 30SBC $08 - Miss - 17
20h = 0010 0 00108h = 0000 1 000b
tag = 2, line = 0, byte = 1 tag = 0, line = 1, byte = 0
Line
ID
Tag Data
01 ---- -------- --------
00 0010 4c3099aa 4f2098ab
Line
ID
Tag Data
01 0000 17b02200 050be2dc
00 0010 4c3099aa 4f2098ab
ADC $22 - Miss - 99SBC $09 - Hit - b0
20h = 0010 0 01008h = 0000 1 001b
tag = 2, line = 0, byte = 2 tag = 0, line = 1, byte = 1
Line
ID
Tag Data
01 0000 17b02200 050be2dc
00 0010 4c3099aa 4f2098ab
Line
ID
Tag Data
01 0000 17b02200 050be2dc
00 0010 4c3099aa 4f2098ab
ADC $23 - Hit - aaSBC $0A - Hit - 22
20h = 0010 0 01108h = 0000 1 010b
tag = 2, line = 0, byte = 3 tag = 1, line = 0, byte = 2
Line
ID
Tag Data
01 0000 17b02200 050be2dc
00 0010 4c3099aa 4f2098ab
Line
ID
Tag Data
01 0000 17b02200 050be2dc
00 0010 4c3099aa 4f2098ab
ADC $24 - Hit - 4fSBC $0B - Hit - 00
20h = 0010 0 10008h = 0000 1 011b
tag = 2, line = 0, byte = 4 tag = 0, line = 1, byte = 3
Line
ID
Tag Data
01 0000 17b02200 050be2dc
00 0010 4c3099aa 4f2098ab
Line
ID
Tag Data
01 0000 17b02200 050be2dc
00 0010 4c3099aa 4f2098ab