摘要 |
PURPOSE:To protect information in a block by performing error detection by adding parity bits to reference bits and update bits, and considering reference and update to have be done when an error is detected. CONSTITUTION:A memory RCS is provided with reference bits R, update bits C and parity bits P corresponding to blocks of a main storage device; and a reference bit R corresponding when referred to is set to a 1, and an update bit C corresponding when updated is set to a 1 while the reference bit R and update bit C are cleared by a program. A parity bit P is set according to odd parity. Namely, when readout data from the memory RCS has an error, and when date set in a register RCB has an error, the reference bit R and update bit C are set to 1s and consequently, error detection is achieved even if the update bit C is not set to the 1, but to the 0 erroneously, so that information in blocks is retained. |