JPS62127944A - Information processor - Google Patents

Information processor

Info

Publication number
JPS62127944A
JPS62127944A JP60267431A JP26743185A JPS62127944A JP S62127944 A JPS62127944 A JP S62127944A JP 60267431 A JP60267431 A JP 60267431A JP 26743185 A JP26743185 A JP 26743185A JP S62127944 A JPS62127944 A JP S62127944A
Authority
JP
Japan
Prior art keywords
program
definition
instruction
initial
initial program
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
Application number
JP60267431A
Other languages
Japanese (ja)
Inventor
Teruo Goto
後藤 輝雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60267431A priority Critical patent/JPS62127944A/en
Publication of JPS62127944A publication Critical patent/JPS62127944A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To control run away of a program due to an error occurred by deciding whether each instruction is a definition program or not when an initial program and programs discrimination data are read out from a storage section by an arithmetic controlling section. CONSTITUTION:A definition bit verification circuit 8 judges that an instruction corresponding to program definition 9 is a definition program when a program definition bit 10 is recognized as '1', and judges that the instruction corresponding to the program definition bit 10 is an undefined programs when the program definition bit 10 is recognized as '0' and outputs an alarm signal 11 that indicates program abnormality. The definition bit verification circuit 8 outputs a driving stop command signal to an arithmetic processing section 5 in synchronization with outputting of the alarm signal 11 that indicates program abnormality.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は一般に情報処理装置に関し、特にプログラム
の暴走を防止する機能を具備した情報処理装置に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention generally relates to an information processing device, and more particularly to an information processing device equipped with a function to prevent runaway programs.

〔従来の技術〕[Conventional technology]

第3図は、従来のプログラムエラー検知機能を備えた情
報処理装置の構成を示すブロック図である。
FIG. 3 is a block diagram showing the configuration of a conventional information processing device equipped with a program error detection function.

第3図において、(1)は主記憶装置、(2)は情報バ
ス、(3)は中央処理装置(以下rCPUJという) 
、(4)は命令レジスタ、(5)は演算処理部、(6)
は監視回路である。前述した主記憶装置(1)は、制御
プログラム等を内臓し、又、必要データを記憶する。前
記主記憶装置(1)は、前述したCPU(3)の制御下
で、該c P U (3)によって全記憶領域に書き込
まれた自番地ジャンプ命令を記憶するとともに、第4図
にて図示するごときフローチャートに従い第5図にて図
示するごとき割付けでCPU(3)によってロードされ
たプログラムを記憶する。前記情報バス(2)は、前述
した主記憶装置(1)とCP U (3)とを接続して
おり、CP U (3)と主記憶装置(1)との間で行
なわれる各種データの授受をインタフェースするもので
ある。前述したCPU(3)は、前記命令レジスタ(4
)、演算処理部(5)によって構成されている。前記命
令レジスタ(4)は、前述した主記憶装置(1)に記憶
されている初期プログラムを順次読み出して所定期間績
プログラムを記憶する。前記演算処理部(5)は、前述
した命令レジスタ(4)から出力された前記プログラム
に基づいて演算処理を行なうものである。前述した監視
回路(6)には、情報処理装置のハードウェアに生じた
異常を検知するウォッチドッグタイマが内臓されており
、CP U (3)によるプログラムの実行状態を監視
するとともに、該監視の結果異常有りと認識したときは
外部警報信号(7)を出力するように構成されている。
In Figure 3, (1) is the main memory, (2) is the information bus, and (3) is the central processing unit (hereinafter referred to as rCPUJ).
, (4) is the instruction register, (5) is the arithmetic processing unit, (6)
is a monitoring circuit. The main storage device (1) described above contains a control program and the like, and also stores necessary data. The main storage device (1) stores the own address jump instruction written to the entire storage area by the CPU (3) under the control of the CPU (3) mentioned above, and also stores the own address jump instruction written in the entire storage area by the CPU (3) as shown in FIG. The program loaded by the CPU (3) is stored in accordance with the flowchart shown in FIG. 5 with the layout shown in FIG. The information bus (2) connects the main storage device (1) mentioned above and the CPU (3), and is used to transfer various data between the CPU (3) and the main storage device (1). It is an interface for sending and receiving. The aforementioned CPU (3) has the aforementioned instruction register (4).
), and an arithmetic processing section (5). The instruction register (4) sequentially reads the initial program stored in the main storage device (1) mentioned above and stores the predetermined period program. The arithmetic processing unit (5) performs arithmetic processing based on the program output from the instruction register (4) described above. The above-mentioned monitoring circuit (6) has a built-in watchdog timer that detects abnormalities that occur in the hardware of the information processing device, and monitors the execution status of the program by the CPU (3) as well as the monitoring circuit (6). It is configured to output an external alarm signal (7) when it is recognized that there is an abnormality as a result.

次に上述した構成の情報処理装置の動作を説明する。Next, the operation of the information processing apparatus configured as described above will be explained.

前記第4図フローチャートにて図示するようにまず情報
処理装置を構成している各レジスタ類及び主記憶装置(
1)をクリアするシステムクリア操作を行ない、前記主
記憶装置(1)の全記憶領域に自番地ジャンプ命令を書
き込んだ後に前記主記憶装置(1)への初期プログラム
のロードを行なう。
As shown in the flowchart of FIG. 4, first, each register and main storage device (
After performing a system clear operation to clear 1) and writing a local address jump instruction to the entire storage area of the main storage device (1), an initial program is loaded to the main storage device (1).

前記主記憶装置(1)の全記憶領域に書き込まれた自番
地ジャンプ命令を例えばEOOOとし、前記主記憶装置
(1)にロードされた初期プログラムを例えばA、B、
C,D、Eとすれば、前述した一連のプロセスが完了し
た後の主記憶装置(1)における記憶内容は、第5図に
て図示したごとき状態となる。前述した命令レジスタ(
4)によって、前記第5図にて図示したごとき記憶内容
(即ち初期プログラム)が主記憶装置(1)から読み出
され演算処理部(5)に与えられると、演算処理部(5
)は前記初期プログラムに基づいて演算処理を行なう。
The own address jump instruction written in all storage areas of the main memory (1) is, for example, EOOO, and the initial program loaded into the main memory (1) is, for example, A, B,
C, D, and E, the contents stored in the main storage device (1) after the series of processes described above are completed will be in the state shown in FIG. The instruction register mentioned above (
4), when the storage contents (i.e., the initial program) as shown in FIG.
) performs arithmetic processing based on the initial program.

前記演算処理部(5)が前述した初期プログラムを正常
に実行していれば、前述した自番地ジャンプ命令(EO
OO)が実行されることはなく、よってA、 B。
If the arithmetic processing unit (5) normally executes the above-mentioned initial program, the above-mentioned own address jump instruction (EO
OO) is never executed, so A, B.

C,D、Eの順序で処理がなされる。しかしながら、外
部要因等によってプログラムロードアドレスに変化が発
生したり或いは情報処理装置のハードウェアエラーに起
因してプログラムロードアドレスに変化が発生したりし
て、前記CP U (3)が前記初期プログラム設定さ
れていない主記憶装置(1)の記憶領域にアクセスした
ような場合には、前述した自番地ジャンプ命令EOOO
Hが命令レジスタ(4)にロードされるので演算処理部
(5)は前記自番地ジャンプ命令を実行することとなる
。演算処理部(5)によって前記自番地ジャンプ命令が
実行されると、該自番地ジャンプ命令の実行は前述した
監視回路(6)のウォッチドッグタイマによって検知さ
れて、監視回路(6)からは該検知に基づく外部警報信
号(7)が出力されることとなる。なお、上述した従来
の技術の詳細については、特開昭58−56292号公
報を参照されたい。
Processing is performed in the order of C, D, and E. However, if a change occurs in the program load address due to external factors or a change occurs in the program load address due to a hardware error in the information processing device, the CPU (3) may change the initial program setting. When accessing a storage area of the main memory (1) that has not been accessed, the above-mentioned own address jump command EOOO is executed.
Since H is loaded into the instruction register (4), the arithmetic processing unit (5) executes the own address jump instruction. When the own address jump instruction is executed by the arithmetic processing unit (5), the execution of the own address jump instruction is detected by the watchdog timer of the above-mentioned monitoring circuit (6), and the execution of the own address jump instruction is detected from the monitoring circuit (6). An external alarm signal (7) based on the detection will be output. For details of the above-mentioned conventional technology, please refer to Japanese Patent Laid-Open No. 58-56292.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の情報処理装置は以上のように構成されているので
、以下に記載するような問題点があった。
Since the conventional information processing apparatus is configured as described above, there are problems as described below.

即ち、前記主記憶装置(1)に設定された初期プログラ
ムが正常に実行されているか否かの判定を、監視回路(
6)のウォッチドッグタイマによる演算処理部(5)が
自番地ジャンプ命令を実行したか否かの検知によって行
なっていたので、演算処理部(5)が自番地がジャンプ
命令を実行した後でないとエラー検出が行なえず、エラ
ーが発生してから検出されるまでに時間がかかるという
問題点があった。又、エラーが発生してから前記ウォッ
チドッグタイマによってエラー検出がなされるまでに時
間がかかるので主記憶装置(1)、情報バス(2)、演
算処理部(5)等情報処理装置のハードウェアに何らか
の故障が発生したことによってエラーが発生したような
場合には、演算処理部(5)による前記初期プログラム
の正常な実行がなされる何らの保証もないために、前記
ウォッチドッグタイマによってエラー検出がなされるま
での間エラーによる不正プログラムの実行が継続されて
しまうという問題点もあった。
That is, the monitoring circuit (
6), the watchdog timer was used to detect whether or not the arithmetic processing unit (5) had executed the own address jump instruction. There was a problem in that error detection could not be performed and it took a long time from when an error occurred until it was detected. In addition, since it takes time from the occurrence of an error until the error is detected by the watchdog timer, the hardware of the information processing device such as the main storage device (1), information bus (2), arithmetic processing unit (5), etc. If an error occurs due to some kind of failure, there is no guarantee that the arithmetic processing unit (5) will execute the initial program normally, so the watchdog timer cannot detect the error. There was also a problem in that the malicious program continued to be executed due to an error until it was fixed.

この発明は上記のような問題点を解消するためになされ
たもので1.エラー検出が高速に行なうことができ、発
生したエラーによる不正プログラムの実行が長時間継続
されることのない情報処理装置を得ることを目的とする
This invention was made to solve the above problems.1. It is an object of the present invention to provide an information processing device that can perform error detection at high speed and prevents execution of a malicious program from continuing for a long time due to an error that has occurred.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る情報処理装置は、記憶部には、初期プロ
グラムを形成している各々の命令毎にこれら各々の命令
が定義プログラムであるか否かを識別するための識別デ
ータを前記初期プログラムとともに予め記憶させておき
、演算制御部には、前記演算制御部によって前記初期プ
ログラム及びプログラム識別データが読み出されたとき
に、該識別データに基づいて前記各々の命令が定義プロ
グラムであるか否かを判定する定義プログラム判定手段
を設けたことを特徴とするものである。
The information processing device according to the present invention includes, in the storage unit, identification data for identifying whether or not each instruction forming the initial program is a definition program, together with the initial program. It is stored in advance, and the arithmetic control unit, when the initial program and program identification data are read by the arithmetic control unit, determines whether each of the instructions is a definition program based on the identification data. The present invention is characterized in that it is provided with a definition program determining means for determining.

〔作用〕[Effect]

この発明における定義プログラム判定手段は、演算制御
部に設けられ、前記演算制御部によって初期プログラム
及び識別データが記憶部から読み出されたときに、該識
別データに基づいて各々の命令が定義プログラムである
か否かを判定するものである。
The definition program determination means in this invention is provided in the arithmetic control section, and when the initial program and identification data are read from the storage section by the arithmetic control section, each instruction is determined as a definition program based on the identification data. This is to determine whether or not there is.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は、この発明の一実施例に従う情報処理装置の構
成を示すブロック図である。なお、第1図における符号
(1)〜(6)は、前記第3図にて図示したものと同一
物であるので、その説明は省略する。
FIG. 1 is a block diagram showing the configuration of an information processing apparatus according to an embodiment of the present invention. Note that the symbols (1) to (6) in FIG. 1 are the same as those shown in FIG. 3, so the explanation thereof will be omitted.

第1図において、(8)は、定義プログラム判定手段即
ち定義ビット検定回路である。前述した定義ビット検定
回路(8)は、CP U (3)に配設されている。前
記定義ビット検定回路(8)は、CP U (3)が第
2図にて図示するごとき状態で前記主記憶装置(1)の
全記憶領域に記憶されている初期プログラム(9)をフ
ェッチ(命令取出しのこと、以下同じ)して命令レジス
タ(4)に保持させるのと同期して、該初期プログラム
(9)とともに該初期プログラム(9)を形成している
各々の命令に対応して設定されているプログラム定義ビ
ット(10)をフェッチする。前記定義ビット検定回路
(8)は、前述したプログラム定義ビット(10)が”
1”であると認識すれば、該プログラム定義(9)に対
応する前記命令が定義プログラムである(即ち、該プロ
グラム定期ピッ) (10)と対応関係にある初期プロ
グラム(9)を形成している前記命令自身が正常である
)と判定し、又前記プログラム定義ビット(10)が“
0”であると認識すれば、該プログラム定義ピッI−(
10)と対応する前記命令が未定義プログラムである(
即ち、該プログラム定義ビット(10)と対応関係にあ
る初期プログラム(9)を形成している前記命令自身に
異常あり)と判定してプログラム異常を示す警報信号(
11)を出力するように構成されている。前述した定義
ビット検定回路(8)は、プログラム異常を示す警報信
号(11)を出力するのと同期して、前記演算処理部(
5)に対して駆動停止指令信号を出力するようになって
いる。
In FIG. 1, (8) is a definition program determining means, that is, a definition bit verification circuit. The aforementioned definition bit verification circuit (8) is arranged in the CPU (3). The definition bit verification circuit (8) allows the CPU (3) to fetch ( In synchronization with fetching an instruction (hereinafter the same applies) and storing it in the instruction register (4), the settings are made corresponding to each instruction forming the initial program (9) along with the initial program (9). Fetch the program definition bit (10). The definition bit verification circuit (8) is configured so that the above-mentioned program definition bit (10) is "
1'', the instruction corresponding to the program definition (9) is a definition program (that is, the program periodic pin) and forms an initial program (9) corresponding to (10). The instruction itself is determined to be normal), and the program definition bit (10) is determined to be “
0”, the program definition pin I-(
The instruction corresponding to 10) is an undefined program (
That is, it is determined that there is an abnormality in the instruction itself forming the initial program (9) that corresponds to the program definition bit (10), and an alarm signal (
11). The definition bit verification circuit (8) described above operates in synchronization with the output of the alarm signal (11) indicating a program abnormality.
5), a drive stop command signal is output.

前記主記憶装置(1)の全記憶領域には、例えば第2図
にて図示するごとく8〜32ビツトのデータ幅のプログ
ラムデータ領域を有する初期プログラム(9)と、該初
期プログラム(9)を形成している各々の命令毎に対応
して設定されており前記各々の命令が定義プログラムか
否かを示すための1ビット幅のプログラム定義ビット(
10)とが夫々記憶されている。
The entire storage area of the main storage device (1) includes an initial program (9) having a program data area with a data width of 8 to 32 bits, as shown in FIG. A 1-bit wide program definition bit (
10) are stored respectively.

次に上述した構成の情報処理装置の動作を説明する。Next, the operation of the information processing apparatus configured as described above will be explained.

本実施例における自番地ジャンプ命令を例えばEOOO
Hとすれば、該自番地ジャンプ命令E000□は、前述
した第4図のフローチャートにて図示するように、まず
情報処理装置を構成している各レジスタ類及び主記憶装
置(1)をクリアするシステムクリア操作を行なった後
に前記主記憶装置(1)の全記憶領域に書き込まれる。
For example, the own address jump instruction in this embodiment is EOOO.
If H, then the own address jump instruction E000□ first clears each register and the main storage device (1) that make up the information processing device, as shown in the flowchart of FIG. 4 mentioned above. After the system clear operation is performed, the data is written to the entire storage area of the main storage device (1).

前記自番地ジャンプ命令EOOOHが前述した主記憶装
置(1)の全記憶領域に書き込まれるのと同期して、各
々の命令が記憶される番地に対応するプログラム定義ピ
ッl−(10)には“0″が書き込まれる。第2図にて
図示するように、前述した自番地ジャンプ命令EOOO
,lの書き込み及びプログラム定義ビット(10)に対
する″0″の書き込みが完了すると、前記初期プログラ
ム(9)を形成する各々の命令A、B、C,D、Eが前
記主記憶装置(1)にロードされるとともに、各々の命
令A、B、C,D、Eに対応する前記プログラム定義ビ
ット(10)に“1″が書き込まれる。このようにして
主記憶装置(1)に記憶された初期プログラム(9) 
、A、 B、 C,D、 EがCP U (3)の命令
レジスタ(4)によってフェッチされると、前述した初
期プログラム(9)のA、B、C,D、Eに対応するプ
ログラム定義ビ・ノl−(10)は前記定義ビット検定
回路(8)によってフェッチされて、前記各々の命令に
A、B、C,D、Eに対応するプログラム定義ピッl−
(10)の内容が“1″か“02かが識別され前記定義
ビット検定回路(8)による個々のプログラム定義(1
0)の識別の結果、異常なしと判定されれば前述した演
算処理部(5)は前述した命令レジスタ(4)によって
フェッチされた初期プログラム(9) 、A、B、C,
D、Eに規定されている処理手順に従って演算処理を実
行することとなる。1方、外部要因或いは主記憶装置(
1)、情報バス(2)、演算処理部(5)等情報処理装
置のハードウェアに何らかの故障が発生して初期プログ
ラム(9)のA、B、C,D、Eのいずれかにプログラ
ムエラーが起こると、該初期プログラム(9)のA、B
、C,D、Eの主記憶装置(1)へのロードに際して、
前記プログラムエラーを生じた命令に対応するプログラ
ム定義ビット(10)には“1”が書き込まれることは
ない。よって、前記プログラムエラーを生じた命令が命
令レジスタ(4)によってフェッチされた時点、即ち前
記定義ビット検定回路(8)によって前述したロード時
に“1”が書き込まれていないプログラム定義ビット(
10)カ、フェッチされた時点で、前記プログラムエラ
ーが検出されることとなり、前記時点において定義ビッ
ト検定回路(8)からプログラム異常を示す警報信号(
11)が出力されるとともに、演算処理部(5)もその
駆動を停止することとなる。従って、何らかの原因によ
ってプログラムエラーが生じても、かなり短時間で該プ
ログラムが検知されて演算処理部(5)が駆動停止する
ので、例えば命令Bでプログラムエラーが生じても、第
2図にて図示する自番地ジャンプ命令EOOO,を命令
レジスタ(4)がフェッチして、演算処理部(5)が該
自番地ジャンプ命令EOO(hを実行したことが前述し
たウォッチドッグタイマによって検知されるまでは、所
定のエラー処理が行なわれないような従来装置とは異な
って長時間にわたって不正プログラムの実行が継続され
ることを防止できる。又、仮に前述した初期プログラム
(9)がロードされていない主記憶装置(1)の記憶領
域において、前記プログラム定義ビット(10)が“1
“にセットされるごときプログラム異常が発生した場合
においては、前記CPU(3)が前述した記憶領域にア
クセスして前記自番地ジャンプ命令EOOOoが命令レ
ジスタ(4)によってフェッチされれば、該自番地ジャ
ンプ命令EOOO。
In synchronization with the writing of the own address jump instruction EOOOH into the entire storage area of the main storage device (1) mentioned above, the program definition pin (10) corresponding to the address where each instruction is stored is written with "0'' is written. As shown in FIG. 2, the aforementioned own address jump command EOOO
. At the same time, "1" is written to the program definition bit (10) corresponding to each instruction A, B, C, D, and E. Initial program (9) stored in the main storage device (1) in this way
, A, B, C, D, and E are fetched by the instruction register (4) of the CPU (3), the program definition corresponding to A, B, C, D, and E of the initial program (9) described above is The program definition bit verification circuit (8) fetches the program definition bit verification circuit (8) and assigns program definition bits corresponding to A, B, C, D, and E to each of the instructions.
(10) is identified as "1" or "02", and the definition bit verification circuit (8) determines whether the content of the program definition (1) is "1" or "02".
0), if it is determined that there is no abnormality, the above-mentioned arithmetic processing unit (5) executes the initial program (9), A, B, C, fetched by the above-mentioned instruction register (4).
Arithmetic processing will be executed according to the processing procedures specified in D and E. On the other hand, external factors or main memory (
1), a program error occurs in any of A, B, C, D, or E of the initial program (9) due to some kind of failure in the hardware of the information processing device, such as the information bus (2) or the arithmetic processing unit (5). occurs, A and B of the initial program (9)
, C, D, and E into the main memory (1),
"1" is never written to the program definition bit (10) corresponding to the instruction that caused the program error. Therefore, at the time when the instruction that caused the program error is fetched by the instruction register (4), that is, when the definition bit verification circuit (8) performs the above-mentioned load, the program definition bit (
10) At the time of fetching, the program error will be detected, and at that time, the definition bit verification circuit (8) will issue an alarm signal indicating a program abnormality (
11) is output, and the arithmetic processing section (5) also stops its driving. Therefore, even if a program error occurs for some reason, the program will be detected in a fairly short time and the arithmetic processing unit (5) will stop operating. Until the instruction register (4) fetches the own address jump instruction EOOO, shown in the figure, and the execution of the own address jump instruction EOOO (h) by the arithmetic processing unit (5) is detected by the aforementioned watchdog timer. , unlike conventional devices in which predetermined error handling is not performed, it is possible to prevent malicious programs from continuing to execute for a long time.Furthermore, even if the main memory is not loaded with the initial program (9) described above, In the storage area of the device (1), the program definition bit (10) is “1”.
If a program abnormality such as " is set to ", the CPU (3) accesses the storage area mentioned above and the own address jump instruction EOOOo is fetched by the instruction register (4), then the own address jump instruction EOOOo is fetched by the instruction register (4). Jump command EOOO.

が演算処理部(5)によって実行されるために前記演算
処理部(5)による該自番地ジャンプ命令EOOOHの
実行が前述したウォッチドッグタイマによって検知され
、該ウォッチドッグタイマから外部警報信号り7)が出
力されることとなる。
is executed by the arithmetic processing unit (5), the execution of the own address jump instruction EOOOH by the arithmetic processing unit (5) is detected by the aforementioned watchdog timer, and an external alarm signal is generated from the watchdog timer7). will be output.

なお、上述した実施例では、CP U (3)における
プログラムエラー検出について説明したが、上記技術思
想をマイクロプログラムのエラー検出に適用範囲を拡大
しても略同様な効果を奏する。又、実施例では、プログ
ラム定義ビット(10) (7)ビット数を1として説
明したが複数ビットであっても差支えないのは勿論であ
る。
In the above-mentioned embodiment, the program error detection in the CPU (3) has been described, but substantially the same effect can be obtained even if the scope of application of the above technical idea is expanded to include microprogram error detection. Further, in the embodiment, the number of program definition bits (10) (7) is 1, but it goes without saying that a plurality of bits may be used.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、演算制御部によって
初期プログラム及びプログラム識別データが記憶部から
読み出されたときに、該識別データに基づいて各々の命
令が定義プログラムであるか否かを判定することとした
ので、エラー検出が高速に行なうことができ、発生した
エラーによる不正プログラムの実行が長時間継続される
などのプログラムの暴走を規制することが可能な情報処
理装置が得られる効果がある。
As described above, according to the present invention, when the initial program and program identification data are read from the storage section by the arithmetic control section, it is determined whether each instruction is a definition program based on the identification data. This has the effect of providing an information processing device that can perform error detection at high speed and prevent runaway programs, such as continued execution of a malicious program for a long time due to an error that has occurred. There is.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は、この発明の一実施例に従う情報処理装置の構
成を示すブロック図、第2図は、前記第1図にて図示し
た構成の主記憶装置(1)が記憶している記憶内容の態
様図、第3図は、従来の情報処理装置の構成を示すブロ
ック図、第4図は、初期プログラムを主記憶装置にロー
ドするに際しての処理手順を示すフローチャート、第5
図は、前記第3図にて図示した構成の主記憶装置(1)
が記憶している記憶内容の態様図である。 図において、(1)は主記憶装置、(3)はCPU、(
4)は命令レジスタ、(5)は演算処理部、(6)は監
視回路、(8)は定義ビット検定回路である。 なお、各図中、同一符号は同−又は相当部分を示す。 代理人 弁理士  1)澤 博 昭:  ・1・l (外2名)−°′ ;+qq釈th      B 、突5其と°゛・ソト
tた定回?トl!5  図 第4図 手続補正書(自発) 昭和61年7.2hB 1、事件の表示   特願昭60−267431号2、
発明の名称  情報処理装置 3、補正をする者 代表者 志岐守哉 4、代 理 人   郵便番号 105住 所    
東京都港区西新橋」T目4番10号5、補正の対象 明細書の発明の詳細な説明の欄 6、補正の内容 明細11rをつぎのと61)訂τ[;する。
FIG. 1 is a block diagram showing the configuration of an information processing device according to an embodiment of the present invention, and FIG. 2 shows the storage contents stored in the main storage device (1) having the configuration shown in FIG. 1. FIG. 3 is a block diagram showing the configuration of a conventional information processing device, FIG. 4 is a flowchart showing the processing procedure for loading an initial program into the main storage device, and FIG.
The figure shows a main storage device (1) with the configuration shown in FIG. 3 above.
FIG. 2 is a diagram showing the contents stored in the memory. In the figure, (1) is the main memory, (3) is the CPU, (
4) is an instruction register, (5) is an arithmetic processing unit, (6) is a monitoring circuit, and (8) is a definition bit verification circuit. In each figure, the same reference numerals indicate the same or corresponding parts. Agent Patent Attorney 1) Hiroshi Sawa: ・1・l (2 other people) −°′ ;+qqinterpretation th B, 5 times and °゛・sotot regular times? Tol! 5 Figure 4 Procedural amendment (voluntary) 1985 7.2 hB 1. Indication of case Patent application No. 1988-267431 2.
Title of the invention Information processing device 3, Representative of the person making the amendment Moriya Shiki 4, Agent Postal code 105 Address
"Nishishinbashi, Minato-ku, Tokyo" Item T 4 No. 10 No. 5, Detailed Description of the Invention column 6 of the specification subject to amendment, Detailed Description of the Amendment 11r is revised as follows: 61) τ[;

Claims (1)

【特許請求の範囲】[Claims] 自番地ジャンプ命令パターンが書き込まれた後の記憶領
域に初期プログラムがロードされている記憶部から該初
期プログラムが演算制御部によって読み出されたときに
、該初期プログラムにエラーがあるか否かを検知するプ
ログラムエラー検知機能を備えた情報処理装置において
、前記記憶部には、前記初期プログラムを形成している
各々の命令毎にこれら各々の命令が定義プログラムであ
るか否かを識別するための識別データを前記初期プログ
ラムとともに予め記憶させておき、前記演算制御部には
、前記演算制御部によって前記初期プログラム及びプロ
グラム識別データが読み出されたときに、該識別データ
に基づいて前記各々の命令が定義プログラムであるか否
かを判定する定義プログラム判定手段を設けたことを特
徴とする情報処理装置。
When the initial program is read by the arithmetic control unit from the storage section where the initial program is loaded into the storage area after the own address jump instruction pattern is written, it is determined whether or not there is an error in the initial program. In the information processing apparatus equipped with a program error detection function, the storage unit includes a memory for identifying whether each instruction forming the initial program is a definition program. Identification data is stored in advance together with the initial program, and when the initial program and program identification data are read by the calculation control unit, the calculation control unit executes each of the instructions based on the identification data. 1. An information processing apparatus comprising: a definition program determination means for determining whether or not a definition program is a definition program.
JP60267431A 1985-11-29 1985-11-29 Information processor Pending JPS62127944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60267431A JPS62127944A (en) 1985-11-29 1985-11-29 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60267431A JPS62127944A (en) 1985-11-29 1985-11-29 Information processor

Publications (1)

Publication Number Publication Date
JPS62127944A true JPS62127944A (en) 1987-06-10

Family

ID=17444747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60267431A Pending JPS62127944A (en) 1985-11-29 1985-11-29 Information processor

Country Status (1)

Country Link
JP (1) JPS62127944A (en)

Similar Documents

Publication Publication Date Title
RU2137182C1 (en) Execution of data processing instruction
US4839895A (en) Early failure detection system for multiprocessor system
JPS6280733A (en) Information processor
JPS62127944A (en) Information processor
JP2000339189A (en) Method for detecting illegal memory access debugging device and storage medium
JPH0147818B2 (en)
JPS62175834A (en) Detecting circuit for runaway of central processing unit
JPH0333939A (en) Microprocessor
JPH0581059A (en) Multiprocessor system
JPH0335327A (en) Majority decision fault processor
JPS62166451A (en) History analyzing device for logical unit
JPH0371236A (en) Error detecting system
JPS6385831A (en) Control circuit for microprocessor
JPH03209523A (en) Detection system for error of instruction data
JPS62231340A (en) Computer
JPS59144246A (en) Data reception control system
JPH07152594A (en) Retry control system for control processor
JPH0314148A (en) Program breakdown detecting device
JPH0258648B2 (en)
JPS62241058A (en) Additional processor control system
JPH03225433A (en) Single-chip microcomputer
JPH02297650A (en) Receiver
JPS63150732A (en) Program running supervisory equipment
JPH01274260A (en) Adapter for controlling input/output
JPH036618A (en) Abnormality detecting circuit for stack pointer