-
公开(公告)号:JPH10105443A
公开(公告)日:1998-04-24
申请号:JP12842597
申请日:1997-05-19
Applicant: ADVANCED MICRO DEVICES INC
Inventor: SHERMAN LEE , DAVID G KYLE
Abstract: PROBLEM TO BE SOLVED: To provide a method for identifying an error inside a central processing unit(CPU) during the execution of a software and correcting the identified error. SOLUTION: CPU repeatedly interrupts the execution of the software so as save a CPU state (130A). When the error occurs during execution, CPU saves the state again and, after that, gives control to a handler for processing the error. The error can be debugged by off-line by successively loading the saved CPU state into a development system and reproducing an error condition in the system. The error can be also debugged by executing foreseeing through the use of an instruction which is recognized as the error and a corresponding correcting instruction even before the occurrence of the error. Thus, the recognized error is easily prevented. Moreover, even unless the error is debugged, the temporary correcting instruction is used so as to enable ending an application (120A).