C8051F120/1/2/3/4/5/6/7
198
Rev. 1.2
Figure 17.7. CCH0MA: Cache Miss Accumulator
Bit 7:
CHMSOV: Cache Miss Penalty Overflow.
This bit indicates when the Cache Miss Penalty Accumulator has overflowed since it was last written.
0: The Cache Miss Penalty Accumulator has not overflowed since it was last written.
1: An overflow of the Cache Miss Penalty Accumulator has occurred since it was last written.
Bits 6-0: CHMSCTH: Cache Miss Penalty Accumulator (bits 11-5)
These are bits 11-5 of the Cache Miss Penalty Accumulator. The next four bits (bits 4-1) are stored in
CHMSCTL in the CCH0TN register.
The Cache Miss Penalty Accumulator is incremented every clock cycle that the processor is delayed
due to a cache miss. This is primarily used as a diagnostic feature, when optimizing code for execu-
tion speed.
Writing to CHMSCTH clears the lower 5 bits of the Cache Miss Penalty Accumulator.
Reading from CHMSCTH returns the current value of CHMSTCH, and latches bits 4-1 into CHM-
STCL so that they can be read. Because bit 0 of the Cache Miss Penalty Accumulator is not avail-
able, the Cumulative Miss Penalty is equal to 2 * (CCHMSTCH:CCHMSTCL).
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
CHMSOV
CHMSCTH
00000000
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
SFR Address:
SFR Page:
0x9A
F
Figure 17.8. FLSTAT: FLASH Status
Bit 7-1:
Reserved.
Bit 0:
FLBUSY: FLASH Busy
This bit indicates when a FLASH write or erase operation is in progress.
0: FLASH is idle or reading.
1: FLASH write/erase operation is currently in progress.
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
-
-
-
-
-
-
-
FLBUSY 00000000
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Bit
Addressable
SFR Address:
SFR Page:
0x88
F
Summary of Contents for C8051F120
Page 2: ...C8051F120 1 2 3 4 5 6 7 2 Rev 1 2 Notes ...
Page 8: ...C8051F120 1 2 3 4 5 6 7 8 Rev 1 2 26 2 Flash Programming Commands 318 26 3 Debug Support 321 ...
Page 16: ...C8051F120 1 2 3 4 5 6 7 16 Rev 1 2 Notes ...
Page 48: ...C8051F120 1 2 3 4 5 6 7 48 Rev 1 2 ...
Page 98: ...C8051F120 1 2 3 4 5 6 7 98 Rev 1 2 ...
Page 106: ...C8051F120 1 2 3 4 5 6 7 106 Rev 1 2 Notes ...
Page 183: ...C8051F120 1 2 3 4 5 6 7 Rev 1 2 183 Notes ...
Page 184: ...C8051F120 1 2 3 4 5 6 7 184 Rev 1 2 ...
Page 214: ...C8051F120 1 2 3 4 5 6 7 214 Rev 1 2 Notes ...