摘要 |
PURPOSE:To exactly detect abnormality without hang-up by judging the abnormality when a flag under processing is turned off while a main processor has any register to be written corresponding to a sub processor instruction remained. CONSTITUTION:When a main processor 20 issues the processing contents of a sub processor 21 as the sub processor instruction, the sub processor 21 executes processing corresponding to the instruction and writes the result in the register of the main processor 20. In this case, the sub processor 21 is provided with an abnormality detecting means 23 for detecting any one of cases of non-defining the sub processor instruction and detecting any error related to execution at least and a flag off means 222 for turning off the flag under processing when any abnormality is detected. Therefore, when the abnormality is detected by the abnormality detecting means 23, the flag under processing is turned off by the flag off means 22 and although the main processor 20 has the register to be written corresponding to the sub processing instruction remained, the flag is turned off and it is judged to be abnormal, thereby. |