JPS59216255A - Error detecting system of interruption stack area - Google Patents
Error detecting system of interruption stack areaInfo
- Publication number
- JPS59216255A JPS59216255A JP58091763A JP9176383A JPS59216255A JP S59216255 A JPS59216255 A JP S59216255A JP 58091763 A JP58091763 A JP 58091763A JP 9176383 A JP9176383 A JP 9176383A JP S59216255 A JPS59216255 A JP S59216255A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- stack area
- memory
- error
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Executing Machine-Instructions (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
(a)発明の技術分野
本発明は割込みスタックエリア(後入れ先出しの方法で
データを取り扱うメモリの領域)をメモリ内に備えた計
算機システムに係り、特に割込み処理が複数のネスト(
ザブルーチンを階層レベルの異なるサブルーチンに入れ
込むことにより、レベルの異なるルーチンを反復的に実
行できるようにすること)に渡って可能な計算機の保守
性を向上させる割込みスタックエリアのエラー検出力式
(b)従来技術と問題点
割込めスタックエリアを計算機のプロセツサが書込み/
uL出し可能なメモリのアドレス領域に設けた場合、前
記メモリでパリティエラーが発生ずると、プロセツサを
止めてパリティエラーを表示する方式と、ROMをプロ
セツサのアドレス領域内に設け、前記パリティエラーの
処理を前記ROM内にあるプログラムにより処理する方
式とがある。しかし従来の前記各方式では下記の如く不
都合がある。即ち前者は計算機システム全体が停止状態
となる欠点があり、後者はROM内のプログラムにより
復旧処理が行われても、スタックエリアでパリティエラ
ーが発生した時は該スタックエリアのデータに信頼性が
無く、エラー処理に間違いが生ずる欠点がある。Detailed Description of the Invention (a) Technical Field of the Invention The present invention relates to a computer system equipped with an interrupt stack area (an area of memory that handles data in a last-in, first-out manner) in memory, and particularly relates to a computer system that handles multiple interrupts. nest (
The error detection formula for the interrupt stack area (b ) Conventional technology and problems The computer processor writes/writes the interrupt stack area.
When a ROM is installed in the address area of a memory that can output uL, if a parity error occurs in the memory, the processor is stopped and the parity error is displayed, and a ROM is installed in the address area of the processor to handle the parity error. There is a method in which the information is processed by a program stored in the ROM. However, each of the conventional methods described above has the following disadvantages. In other words, the former has the disadvantage that the entire computer system is stopped, and the latter has the disadvantage that even if recovery processing is performed by the program in the ROM, when a parity error occurs in the stack area, the data in the stack area is unreliable. , there is a drawback that errors occur in error handling.
(C)発明の目的
本発明の目的は上記欠点を除く為、スタックエリアのパ
リティエラーの検出と、該スタックエリア以外のメモリ
領域のパリティエラー検出とを分離して、メモリのパリ
ティエラー発生時の保つ、)性を向上さセる割込めスタ
ックエリアのエラー検出方式を堤供することにある。(C) Object of the Invention In order to eliminate the above-mentioned drawbacks, the object of the present invention is to separate the detection of parity errors in the stack area from the detection of parity errors in memory areas other than the stack area. The objective is to provide an error detection method for the interrupt stack area that improves the performance of the interrupt stack.
(d)発明の構成
本発明の構成は割込みスタックエリアをメモリ内に設り
た計算機システムに於いて、1)IJ記J)’J込めス
タックエリアに於けるエラー検出と、前記メモリのその
他の領域で発生ずるエラーの検出とを人々別個に実施す
るものである
(e)発明の実施例
第1図は本発明の一実施例を示ず回路のフIコック図で
ある。メモリ1はプロセツサか[!;込め/ j、IE
出し可能なメモリでアドレスO−Zの内N −1)にス
タックエリアを設けである。第2図は本発明を説明する
プログラムルーチンに!’、j’l込めかあった場合の
フローチャートである。プロクラムルーチンの途中で割
込のがあると、ハートつ、74アのi:i’i fll
l ’z、−よりプロセンサスティタスをスタックエリ
ア・−格納し、プログラムの制御によりiiJ記割込力
を処理する。該別込め処理が終了するとバー1−ウェア
は前記スタックエリアからプロセンサスティタスをロー
ドして元のプログラムルーチンに戻すが、該プロセンサ
スティタスをロードする時一般にスタ。(d) Structure of the Invention The structure of the present invention is that in a computer system in which an interrupt stack area is provided in the memory, 1) Error detection in the J-input stack area and other functions of the memory (e) Embodiment of the Invention FIG. 1 does not show an embodiment of the present invention, but is a schematic diagram of a circuit. Is memory 1 a processor [! ;Include/j, IE
A stack area is provided at addresses N - 1) of address O-Z in memory that can be accessed. Figure 2 is a program routine that explains the present invention! ', j'l is a flowchart in the case where the input is performed. If there is an interrupt in the middle of the program routine, the heart will be interrupted.
l'z, - stores the processor status in the stack area, and processes the interrupts under control of the program. When the separation processing is completed, the bar 1-ware loads the processor status from the stack area and returns to the original program routine, but when loading the processor status, it generally loads the processor status from the stack area.
ツクエリアのパリティエラーが発生ずる。即ちメモリ1
のスタックエリアN−Pよりメモリバッファ用のレジス
タ2に読出されたデータはパリテイヂエソク回路3でチ
ェックされ、パリティエラーがあればAND回路5及び
6にエラー検出信−号が送出される。スタックエリアの
アドレスN−Pは同時に端子へからNOT回路4とAN
D回路5に送出される。従ってAND回路5はオンとな
り、端子Bよりパリティエラー発生信号を送出する。A parity error occurs in the storage area. That is, memory 1
The data read from the stack area NP to the memory buffer register 2 is checked by a parity check circuit 3, and if there is a parity error, an error detection signal is sent to AND circuits 5 and 6. Addresses N-P of the stack area are simultaneously connected to the terminals to NOT circuit 4 and AN.
The signal is sent to the D circuit 5. Therefore, the AND circuit 5 is turned on and a parity error occurrence signal is sent from the terminal B.
NOT回路4の出力は°°0″の為AND回路6はオフ
のままである。メモリ1のスタックエリア以外でパリテ
ィエラーが発生した場合はア1°レスがN−P12J外
である為、端子へにはアドレスが送出されず、NOT回
路4の出力は1”となり、AND回路6がオンとなって
端子Cよりパリティエラー発生信号を送出する。この場
合AND回路5はオフのままである。Since the output of the NOT circuit 4 is °°0'', the AND circuit 6 remains off. If a parity error occurs outside the stack area of memory 1, the address 1° is outside N-P12J, so the AND circuit 6 remains off. No address is sent to the terminal C, the output of the NOT circuit 4 becomes 1'', the AND circuit 6 is turned on, and a parity error occurrence signal is sent from the terminal C. In this case, AND circuit 5 remains off.
(f)発明の詳細
な説明した如く、本発明はスタ・ツクエリアで発生した
エラーかその他のメモリ6−Q ksi−で発生しノこ
エラーか別けて検出することが出しくコる為、スタック
エリアでエラーが発生した時はプロクラムル−チンに復
帰が困難であることを示し7ており、そO)他のメモリ
領11父でのエラー発付;ては山i式11゛4゛イ〕1
゛9の処置をすることが可能であり、保守・Illを向
1させることが出来る。(f) As described in detail, the present invention eliminates the need to detect errors occurring in the stack area and other memory areas, since it is difficult to detect them separately. When an error occurs in an area, it indicates that it is difficult to return to the program routine. 1
It is possible to take the measures described in item 9, and it is possible to improve maintenance and Ill.
第1図は本発明の一実施例を示す回路のフl:I 7り
図、第2図は本発明を説明するプロクラムル−チンに割
込みがあった場合のフローチャー1・−で、1+。
る。
lはメモリ、2はレジスタ、3はノ々リテイーy−ニッ
ク回路である。FIG. 1 is a schematic diagram of a circuit showing an embodiment of the present invention, and FIG. 2 is a flowchart 1--, which is 1+, when an interrupt occurs in a program routine explaining the present invention. Ru. 1 is a memory, 2 is a register, and 3 is a logic circuit.
Claims (1)
ムに於いて、前記割込みスタックエリアに於けるエラー
検出と、前記メモリのその他の領域で発生ずるエラーの
検出とを夫々別個に実施することを特徴とする割込みス
タックエリアのエラー検出方式。In a computer system in which an interrupt stack area is provided in a memory, error detection in the interrupt stack area and error detection occurring in other areas of the memory are performed separately. Error detection method for interrupt stack area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58091763A JPS59216255A (en) | 1983-05-25 | 1983-05-25 | Error detecting system of interruption stack area |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58091763A JPS59216255A (en) | 1983-05-25 | 1983-05-25 | Error detecting system of interruption stack area |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS59216255A true JPS59216255A (en) | 1984-12-06 |
Family
ID=14035589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58091763A Pending JPS59216255A (en) | 1983-05-25 | 1983-05-25 | Error detecting system of interruption stack area |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS59216255A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006277532A (en) * | 2005-03-30 | 2006-10-12 | Nec Corp | Register saving and restoring circuit fault detection device, method and program |
CN109086162A (en) * | 2018-08-15 | 2018-12-25 | 中国农业银行股份有限公司 | A kind of memory diagnosis method and apparatus |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5619596A (en) * | 1979-07-23 | 1981-02-24 | Nippon Telegr & Teleph Corp <Ntt> | Parity error processing system |
-
1983
- 1983-05-25 JP JP58091763A patent/JPS59216255A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5619596A (en) * | 1979-07-23 | 1981-02-24 | Nippon Telegr & Teleph Corp <Ntt> | Parity error processing system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006277532A (en) * | 2005-03-30 | 2006-10-12 | Nec Corp | Register saving and restoring circuit fault detection device, method and program |
CN109086162A (en) * | 2018-08-15 | 2018-12-25 | 中国农业银行股份有限公司 | A kind of memory diagnosis method and apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0481932A (en) | Interruption controller | |
US7584388B2 (en) | Error notification method and information processing apparatus | |
JPS59216255A (en) | Error detecting system of interruption stack area | |
JPH09134314A (en) | Memory access controller | |
JP2818659B2 (en) | Error correction method | |
JP2830491B2 (en) | Bus parity error occurrence detection method | |
JPH0670775B2 (en) | Error detection / correction system | |
JPS59123055A (en) | Instruction processing system | |
JPH04115339A (en) | Memory error processing system | |
JPH02297235A (en) | Memory data protecting circuit | |
JP2609768B2 (en) | Error detection method for control information read data | |
JPH0638239B2 (en) | Error correction mechanism | |
JPS59144246A (en) | Data reception control system | |
JPS62125453A (en) | Storage device | |
JPH02178862A (en) | Information processor | |
JPH0244432A (en) | Electronic computer control system | |
JPH0981465A (en) | Main storage controller | |
JPH0797324B2 (en) | Microprogram error correction circuit | |
JPH03152643A (en) | Double bit error control circuit | |
JPH05224968A (en) | Data check system | |
JPH0760391B2 (en) | Error correction mechanism | |
JPH038040A (en) | 1-bit error information storage device | |
JPS59129995A (en) | Storage device | |
JPH0348335A (en) | Fault processing system | |
JPS5827221A (en) | Data processing device |