摘要 |
PROBLEM TO BE SOLVED: To provide a control method and an abnormality monitoring device for microcomputer capable of surely preventing a wrong processing in a microcomputer by the abnormality of the read value of a zero register. SOLUTION: In a zero register inspection processing always executed prior to the main processing of each program module, the reset of writing a zero value data to the zero register (S110) is performed, and the set value of the zero register is read (S120). When the read value DZ is coincident to the zero value data (S130-Y), it is judged that the read value DZ of the zero register is normal to end the main processing. When it is not coincident (S130-N), the inspection of the zero register is repeatedly executed (S110-S130). According to this zero register inspection processing, the main processing is always started in the sate where the zero register is rightly set. |