发明名称 MICROPROCESSOR
摘要 PROBLEM TO BE SOLVED: To quickly find out a destruction and to prevent secondary and tertiary faults by detecting overflow and underflow by ANDing an offset value from the leading address value of a stack area to a current stack pointer value and a prescribed mask bit pattern value. SOLUTION: A base register, an offset register and a mask register are set by a dispatcher 201 and dispatched to a task 2. When the instruction of mov (0x10, SP), DO is executed inside the task 2, since the result of AND operation is '0', the abnormality of the stack area is not detected by a stack area abnormality detector and no interruption is generated. When the instruction of mov (-0x200, SP), DO is executed, however, the result of AND operation is not '0', the abnormality of the stack area is detected by the stack area abnormality detector, a message is displayed on a screen in a step 205 for reporting abnormality to a user and at the same time, the execution of a program is stopped.
申请公布号 JP2000259410(A) 申请公布日期 2000.09.22
申请号 JP19990062790 申请日期 1999.03.10
申请人 MATSUSHITA ELECTRIC IND CO LTD 发明人 KODAMA MASAYOSHI
分类号 G06F12/14;G06F9/34;G06F9/355;G06F9/42;G06F12/16;(IPC1-7):G06F9/34 主分类号 G06F12/14
代理机构 代理人
主权项
地址
您可能感兴趣的专利