摘要 |
PURPOSE:To execute an instruction again by writing the same data in a second register group after data are written in a first register group and suppressing the write of the arithmetic result at that time point into the second register group when any fault is generated somewhere excepting the second register group. CONSTITUTION:Data are written in a first register group 3 thereafter, the same data are written in a second register group 4. When any fault is generated at a certain part excepting the register 4 of a CPU, a fault detection circuit 23 inside an arithmetic circuit 1 detects the generation of the fault. Thus, the write of the arithmetic result into the register 4 is suppressed. At such a time, the arithmetic result at the point of time of generating the fault is already written in the register 3. A fault processing processor 24 starts fault processing, first of all, the data in the registers 3 and 4 are stored in a third register group, thereafter the CPU is reset. Then, the stored data of the register 4 are recovered to the registers 3 and 4, and the instruction is tried again. |