发明名称 |
STACK OVERFLOW DETECTOR |
摘要 |
PURPOSE:To detect a stack overflow by providing a function to identify the writing to a data area from the writing in a stack area. CONSTITUTION:An upper limit comparator 22 compares the value A delivered to an address bus 12 with the value Au of an upper limit register 20 while a signal is delivered to a stack operation detecting signal line 25. Then an overflow signal 1 is delivered when A>Au is satisfied. While a lower limit comparator 23 compares the value A delivered to the bus 12 with the value Al of a lower limit register 21 and delivers an underflow signal 1 with A<Al. Therefore, 1 is delivered to a stack overflow detecting signal line 30 from an OR gate 26 when A>Au or A<Al is satisfied with the value A of a subject address of a stack operation instruction. Thus a stack overflow can be detected. |
申请公布号 |
JPS6057439(A) |
申请公布日期 |
1985.04.03 |
申请号 |
JP19830166411 |
申请日期 |
1983.09.08 |
申请人 |
MATSUSHITA DENKI SANGYO KK |
发明人 |
NAKANO YOSHIO;ANDOU MAKOTO |
分类号 |
G06F11/00;G06F9/34;G06F9/46;G06F9/48 |
主分类号 |
G06F11/00 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|