摘要 |
PURPOSE:To attain detection of a fact that the types on data are set double by allocating data equivalent to a single word to a single bit of an address check area according to the type of data, etc. CONSTITUTION:A check area head address (a) is provided to show a type of data and the quotient (b) and the residue (i) are obtained by dividing the address by 8. Then (a+b) is used as an address of an address check area and the residue (i) is defined as the bit position. Then the data equivalent to a single word is set under the 1:1 correspondence to a specific bit of the address check area. The ON or OFF state of the bit (i) of the address (a+b) is checked and two pieces of data corresponding to the same bit of the same address check area is checked. In such a case, an error is decided. Otherwise all data are checked to the end. |