JPH01315841A - Information processor - Google Patents

Information processor

Info

Publication number
JPH01315841A
JPH01315841A JP63149184A JP14918488A JPH01315841A JP H01315841 A JPH01315841 A JP H01315841A JP 63149184 A JP63149184 A JP 63149184A JP 14918488 A JP14918488 A JP 14918488A JP H01315841 A JPH01315841 A JP H01315841A
Authority
JP
Japan
Prior art keywords
program
word
status
fault
condition
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
JP63149184A
Other languages
Japanese (ja)
Inventor
Shinji Oga
大賀 伸二
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63149184A priority Critical patent/JPH01315841A/en
Publication of JPH01315841A publication Critical patent/JPH01315841A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To ensure the execution starting of a fault information picking-up program and to simply attain the analysis at the time of the fault occurrence by selecting and processing a special program condition displaying word to display the start of the fault information picking-up program as a special program. CONSTITUTION:A register 5 as a storing means stores a special program condition displaying word to display the start of a fault picking-up program as a certain special program, and simultaneously, the effect that the word is stored is held at a flip flop 6. A detecting means 7 detects whether the flip flop 6 is in the holding condition in accordance with the instruction from an external part or not. A selecting means 8, when the flop is in the holding condition as the result of detection, selects a special program condition displaying word from the register 5, and at the time of the non-holding condition, selects a program condition displaying word from a condition generating means 1 respectively and outputs it to an instruction processing means 3. Thus, the fault picking-up program is surely executed, the trouble information is picked up and the fault analysis can be easily executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置の障害情報採取に利用される。[Detailed description of the invention] [Industrial application field] INDUSTRIAL APPLICATION This invention is utilized for failure information collection of an information processing apparatus.

本発明は情報処理装置に関し、特に、障害情報の採取を
確実にし障害解析を簡単にした情報処理装置に関する。
The present invention relates to an information processing device, and particularly to an information processing device that securely collects failure information and simplifies failure analysis.

〔概要〕〔overview〕

本発明は、プログラムの実行状態を表示するプログラム
状態表示語の指示に従ってソフトウェア命令を逐次処理
する情報処理装置において、外部からの指示により、状
態発生回路で発生されるプログラム状態表示語の代わり
に、特定プログラムとして障害情報採取プログラムの開
始を表示する特定のプログラム状態表示5吾を選定し処
理を行うことができるようにすることにより、障害情報
採取プログラムの実行開始を確実にし、障害発生時の解
析を簡単にできるようにしたものである。
The present invention provides an information processing apparatus that sequentially processes software instructions in accordance with instructions of a program status indication word that indicates the execution status of a program. By making it possible to select and process a specific program status display that indicates the start of the failure information collection program as a specific program, the execution start of the failure information collection program is ensured and analysis when a failure occurs. It is designed to be easy to do.

〔従来の技術〕[Conventional technology]

一般にソフトウェアプログラムの誤りにより、情報処理
装置がストールすることがある。このときの原因を知る
ためには障害情報を採取するだめの特殊なプログラムを
実行させる必要があるが、従来、一つの方法として情報
処理装置操作者の指令で、主記憶中にあるプログラム状
態表示語の指示する特殊なプログラム、すなわち、障害
情報採取プログラムの実行を開始させることがあった。
Generally, an information processing device may stall due to an error in a software program. In order to know the cause of this problem, it is necessary to run a special program to collect failure information. Conventionally, one method has been to display the program status in main memory at the command of the information processing equipment operator. In some cases, the execution of a special program specified by the word, ie, a failure information collection program, was started.

第2図は従来の情報処理装置の一例の要部を示すブロッ
ク構成図であり、状態発生回路1、第一状態レジスタ2
、ソフトウェア命令処理部3および第一選択回路4を含
んでいる。
FIG. 2 is a block diagram showing the main parts of an example of a conventional information processing device, including a state generation circuit 1, a first state register 2, and a first state register 2.
, a software instruction processing section 3 and a first selection circuit 4.

プログラム状態表示語は、プログラム、すなわち、ソフ
トウェア命令を実行するときの情報処理装置の動作モー
ドおよびソフトウェア命令が格納されている主記憶の番
地を含んでいるが、ここでは説明の都合上、プログラム
状態表示語にはソフトウェア命令が格納されている図外
の主記憶の番地、すなわち、ツブトウエア命令格納番地
だけが含まれると仮定する。また、プログラムの開始を
示すプログラム状態表示語、実際には、ソフトウェア命
令格納番地は図外の主記憶に格納されているとする。
The program status display word includes the operating mode of the information processing device when executing the program, that is, the software instruction, and the address of the main memory where the software instruction is stored. It is assumed that the display word includes only a main memory address (not shown) where a software instruction is stored, that is, a software instruction storage address. Further, it is assumed that the program status display word indicating the start of the program, and actually the software instruction storage address, is stored in the main memory (not shown).

プログラムは以下に示すように実行される。まず、プロ
グラム実行開始時、最初のソフトウェア命令を示すソフ
トウェア命令格納番地が図外の主記憶から読み出されて
、入力線11に供給される。
The program is executed as shown below. First, at the start of program execution, a software instruction storage address indicating the first software instruction is read from a main memory (not shown) and supplied to the input line 11.

プログラム実行開始時には、第一選択回路4は入力線1
1を選択しており、ソフトウェア格納番地は出力21に
より第一状態レジスタ2に供給される。
At the start of program execution, the first selection circuit 4
1 is selected, and the software storage address is supplied to the first status register 2 via the output 21.

第一状態レジスタ2は、テロダラム実行開始時またはプ
ログラム内ソフトウェア命令の実行が終了するごとに、
第一選択回路4の出力21を°ロードする。
The first status register 2 is set to
The output 21 of the first selection circuit 4 is loaded.

第一状態レジスタ2の出力22は、ソフトウェア命令処
理部3に供給されており、ソフトウェア命令処理部3は
、第一状態レジスタ2内のソフトウェア命令格納番地の
指す最初のソフトウェア命令を処理する。第一状態レジ
スタ2の出力22は、さらに状態発生回路1にも供給さ
れており、状態発生回路1は次に実行すべきソフトウェ
ア命令を指すようにソフトウェア命令格納番地を更新す
る。
The output 22 of the first status register 2 is supplied to the software instruction processing unit 3, and the software instruction processing unit 3 processes the first software instruction pointed to by the software instruction storage address in the first status register 2. The output 22 of the first status register 2 is further supplied to the status generation circuit 1, and the status generation circuit 1 updates the software instruction storage address to point to the software instruction to be executed next.

状態発生回路1の出力23は、第一選択回路4に供給さ
れており、前述の通り第一選択回路4は、プログラム実
行開始時には人力線11を選択するが、プログラム実行
開始でないとき、すなわち、プログラム内のソフトウェ
ア命令を連続して実行しているときには、状態発生回路
1の出力23を選択する。従って、第一状態レジスタ2
には、常に、次に実行すべきソフトウェア命令のソフト
ウェア命令格納番地がロードされることになる。
The output 23 of the state generation circuit 1 is supplied to the first selection circuit 4, and as described above, the first selection circuit 4 selects the human power line 11 when the program execution starts, but when the program execution is not started, that is, When software instructions in a program are being executed continuously, the output 23 of the state generation circuit 1 is selected. Therefore, first status register 2
is always loaded with the software instruction storage address of the software instruction to be executed next.

ソフトウェア命令処理部3は、第一状態レジスタ2内の
ソフトウェア命令格納番地の指すソフトウェア命令を処
理するので、割込み等により実行中のプログラムが中断
されて新しいプログラムの実行が開始されるまでは、第
一状態レジスタ2内のソフトウェア命令格納番地がソフ
トウェア命令の実行が終了するごとに状態発生回路1に
よって更新され、順にソフトウェア命令がソフトウェア
命令処理部3で処理される。
Since the software instruction processing unit 3 processes the software instruction pointed to by the software instruction storage address in the first status register 2, the A software instruction storage address in one status register 2 is updated by the status generation circuit 1 every time the execution of a software instruction is completed, and the software instructions are sequentially processed by the software instruction processing section 3.

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

前述した従来の情報処理装置では、障害情報採取プログ
ラムのプログラム状態表示語は主記憶中にあるため、実
行中のプログラムの誤りによってプログラム状態表示語
を破壊したときには、障害情報採取プログラムを実行さ
せることができず、障害の解析が困難になる欠点があっ
た。
In the conventional information processing device described above, the program status display word of the fault information collection program is stored in the main memory, so if the program status display word is destroyed due to an error in the program being executed, the fault information collection program cannot be executed. This had the disadvantage that failure analysis was difficult.

本発明の目的は、前記の欠点を除去することにより、プ
ログラム状態表示語の破壊を防止し、障害情報採取プロ
グラムを確実に実行させ障害情報を採取し、障害解析を
簡単に行うことができる情報処理装置を提供することに
ある。
An object of the present invention is to prevent the destruction of program status display words by eliminating the above-mentioned drawbacks, to reliably execute a fault information collection program, to collect fault information, and to provide information that allows easy fault analysis. The purpose of this invention is to provide a processing device.

〔問題点を解決するための手段〕 本発明は、プログラムの実行状態を表示するプログラム
状態表示語を発生する状態発生手段と、前記プログラム
状態表示語の指示に従ってソフトウェア命令を逐次処理
する命令処理手段とを備えた情報処理装置において、あ
る特定プログラムの開始を表示する特定のプログラム状
態表示語を格納する記憶手段と、この記憶手段に前記特
定のプログラム状態表示語が格納されていることの表示
を保持する保持手段と、外部からの指示に従い前記記憶
手段が保持状態にあるかどうかを検出する検出手段と、
検出の結果、保持状態にあるとき前記記憶手段からの特
定のプログラム状態表示語を選択し、非保持状態のとき
前記状態発生手段からのプログラム状態表示語を選択し
前記命令処理手段に対して出力する選択手段とを備えた
ことを特徴とする。
[Means for Solving the Problems] The present invention provides a state generation means for generating a program status indication word indicating the execution status of a program, and an instruction processing means for sequentially processing software instructions according to instructions of the program status indication word. an information processing device comprising: storage means for storing a specific program status indicator word indicating the start of a specific program; a holding means for holding, and a detection means for detecting whether the storage means is in a holding state according to an external instruction;
As a result of the detection, when it is in the holding state, it selects a specific program status display word from the storage means, and when it is in the non-holding state, it selects the program status display word from the state generation means and outputs it to the instruction processing means. The present invention is characterized by comprising a selection means for selecting.

〔作用〕[Effect]

記憶手段例えばレジスタは、ある特定プログラムとして
の障害採取プログラムの開始を表示する特定のプログラ
ム状態表示語を格納する。同時にこの格納されたことは
保持手段例えばフリップフロップに保持される。そして
、検出手段は外部からの指示に従い前記フリップフロッ
プが保持状態にあるかを検出する。選択手段は、検出の
結果保持状態にあるとき前記レジスタからの特定のプロ
グラム状態表示語を選択し、非保持状態のとき状態発生
手段からのプログラム状態表示語をそれぞれ選択し命令
処理手段に対して出力する。
The storage means, for example a register, stores a specific program status indicator word indicating the start of a fault collection program as a specific program. At the same time, this stored information is held in a holding means, for example a flip-flop. Then, the detection means detects whether the flip-flop is in the holding state according to an instruction from the outside. The selection means selects a specific program status display word from the register when the detection result is in a holding state, and selects a program state display word from the state generation means when the detection result is in a non-holding state, and sends the selected program state display word to the instruction processing means. Output.

従って、前記特定のプログラム状態表示語は主記憶とは
別に格納されることになり、実行中のプログラムの誤り
によって、前記障害採取プログラムの開始を表示する特
定のプログラム状態表示語が破壊されることはなくなり
、前記障害採取プログラムを確実に実行させ障害情報を
採取し、障害解析を簡単に行うことが可能となる。
Therefore, the specific program status display word is stored separately from the main memory, and an error in the program being executed may destroy the specific program status display word that indicates the start of the failure collection program. Therefore, it becomes possible to reliably execute the fault collection program, collect fault information, and easily perform fault analysis.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照して説明する
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例の要部を示すブロック構成図
である。
FIG. 1 is a block diagram showing the main parts of an embodiment of the present invention.

本実施例は、プログラムの実行状態を表示するプログラ
ム状態表示語を発生する状態発生手段としての状態発生
回路1と、前記プログラム状態表示語の指示に従ってソ
フトウェア命令を逐次処理する命令処理手段としての第
一状態レジスタ2およびソフトウェア命令処理部3とを
備えた情報処理装置において、 ある特定プログラムとしての障害採取プログラムの開始
を表示する特定のプログラム状態表示語を格納する記憶
手段としての第二状態レジスタ5と、この第二状態レジ
スタ5に前記特定のプログラム状態表示語が格納されて
いることの表示を保持する保持手段としてのフリップフ
ロップ6と、外部からの指示に従いフリップフロップ6
が保持状態にあるかどうかを検出する検出手段としての
検出回路7と、検出の結果、保持状態にあるとき第二状
態レジスタ5からの特定のプログラム状態表示語を選択
し、非保持状態のとき状態発生回路1からのプログラム
状態表示語を選択し第一状態レジスタ2に対して出力す
る選択手段としての第二選択回路8とを備えている。な
お4は第一選択回路である。
This embodiment includes a state generating circuit 1 as a state generating means for generating a program status indicating word indicating the execution state of a program, and a state generating circuit 1 as an instruction processing means for sequentially processing software instructions according to instructions of the program status indicating word. In an information processing device comprising a status register 2 and a software instruction processing unit 3, a second status register 5 serves as a storage means for storing a specific program status display word that indicates the start of a fault collection program as a specific program. , a flip-flop 6 as a holding means for holding an indication that the specific program status display word is stored in the second status register 5;
A detection circuit 7 as a detecting means for detecting whether or not is in a holding state, and as a result of the detection, when it is in a holding state, it selects a specific program state display word from the second status register 5, and when it is in a non-holding state, it selects a specific program state display word. A second selection circuit 8 is provided as selection means for selecting a program status display word from the status generation circuit 1 and outputting it to the first status register 2. Note that 4 is a first selection circuit.

本発明の特徴は、第1図において、第二状態レジスタ5
、フリップフロップ6、検出回路7および第二選択回路
8を設けたことにある。
A feature of the present invention is that in FIG.
, a flip-flop 6, a detection circuit 7, and a second selection circuit 8 are provided.

次に、本実施例の動作について説明する。なお、以下の
説明は本実施例に特有の動作である障害情報採取プログ
ラムの処理を主体に行うけれども、その他の動作は第2
図に示した従来例と同様である。
Next, the operation of this embodiment will be explained. Note that although the following explanation will mainly focus on the processing of the failure information collection program, which is an operation unique to this embodiment, other operations will be explained in the second section.
This is similar to the conventional example shown in the figure.

まず、ソフトウェアの初期設定時、人力線12を介して
のソフトウェア命令により第二状態レジスタ5に障害情
報採取プログラムの最初のソフトウェア命令のソフトウ
ェア命令格納番地をロードし、さらに、人力線13を介
してフリップフロップ6に「1」をセットする。なお、
フリップフロップ6は情報処理装置がリセット状態のと
き、「0」となっている。また、検出回路7の人力線1
4は図外の情報処理装置操作盤の特定スイッチに接続さ
れており、操作者が操作盤上の特定スイッチを押下する
ことにより、「1」となる。検出回路7は人力線13お
よび14がともに「1」のとき、出力25を「1」とし
、入力線13または14が「0」のときは出力25を「
0」とする。
First, when initializing the software, the software instruction storage address of the first software instruction of the fault information collection program is loaded into the second status register 5 by a software command via the human power line 12, and then Set flip-flop 6 to "1". In addition,
The flip-flop 6 is at "0" when the information processing device is in the reset state. In addition, the human power line 1 of the detection circuit 7
4 is connected to a specific switch on the information processing device operation panel (not shown), and becomes "1" when the operator presses the specific switch on the operation panel. The detection circuit 7 sets the output 25 to "1" when both the human power lines 13 and 14 are "1", and sets the output 25 to "1" when the input line 13 or 14 is "0".
0".

第二選択回路8には第二状態レジスタ5の出力26およ
び第一選択回路4の出力21が供給されており、第二選
択回路8は検出回路7の出力25が「0」のときには第
一選択回路4の出力21を選択し、検出回路7の出力2
5が「1」のときには第二状態レジスタ5の出力26を
選択する。
The second selection circuit 8 is supplied with the output 26 of the second status register 5 and the output 21 of the first selection circuit 4, and when the output 25 of the detection circuit 7 is "0", the second selection circuit 8 is connected to the first selection circuit 8. Output 21 of selection circuit 4 is selected and output 2 of detection circuit 7 is selected.
5 is "1", the output 26 of the second status register 5 is selected.

従って、検出回路7の出力が「0」のときには、第二選
択回路8は第一選択回路4の出力21を選択するので、
前述の第2図に示した従来例と同じ動作を行う。第一状
態レジスタ2は従来例の説明で述べたプログラム実行開
始時、プログラム内ソフトウェア命令の実行が終了する
ごとに加えて、検出回路7の出力25が「1」のときに
も第二選択回路8の出力27の内容をロードする。検出
回路7の出力25が「1」のときには、第二選択回路8
は第二状態レジスタ5を選択するので、ソフトウェア初
期設定時にソフトウェア命令により設定された障害情報
採取プログラムの最初のソフトウェア命令のソフトウェ
ア命令格納番地が第一状態レジスタ2にロードされる。
Therefore, when the output of the detection circuit 7 is "0", the second selection circuit 8 selects the output 21 of the first selection circuit 4.
The same operation as the conventional example shown in FIG. 2 described above is performed. The first status register 2 is connected to the second selection circuit when the program starts executing as described in the conventional example, and every time the execution of a software instruction in the program ends, and also when the output 25 of the detection circuit 7 is "1". Load the contents of output 27 of 8. When the output 25 of the detection circuit 7 is "1", the second selection circuit 8
selects the second status register 5, so the software instruction storage address of the first software instruction of the fault information collection program set by the software instruction at the time of software initialization is loaded into the first status register 2.

従って、情報処理装置の障害発生時、操作者が情報処理
装置操作盤上の特定スイッチを押下すれば、実行中のプ
ログラムは中断され、障害情報採取プログラムの実行が
開始されることになる。
Therefore, when a failure occurs in the information processing apparatus, if the operator presses a specific switch on the information processing apparatus operation panel, the program being executed is interrupted and the execution of the failure information collection program is started.

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

以上説明したように、本発明は、少量のハードウェアの
追加により、実行中プログラムの誤りによる障害情報採
取プログラムの最初のソフトウェア命令のプログラム状
態表示語の破壊を防止して、障害情報採取プログラムの
実行を確実に開始させることができ、障害発生時の解析
を簡単にできる効果がある。
As described above, the present invention prevents the program status display word of the first software instruction of the fault information collection program from being destroyed due to an error in the running program by adding a small amount of hardware, and thereby prevents the failure information collection program from being destroyed. This has the effect of being able to start execution reliably and simplifying analysis when a failure occurs.

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

第1図は本発明の一実施例の要部を示すブロック構成図
。 第2図は従来例の要部を示すブロック構成図。 1・・・状態発生回路、2・・・第一状態レジスタ、3
・・・ソフトウェア命令処理部、4・・・第一選択回路
、5・・・第二状態レジスタ、6・・・フリップフロッ
プ、7・・・検出回路、8・・・第二選択回路、11〜
14・・・入力線、21〜27・・・出力。
FIG. 1 is a block diagram showing the main parts of an embodiment of the present invention. FIG. 2 is a block diagram showing the main parts of a conventional example. DESCRIPTION OF SYMBOLS 1... State generation circuit, 2... First state register, 3
... Software instruction processing unit, 4... First selection circuit, 5... Second status register, 6... Flip-flop, 7... Detection circuit, 8... Second selection circuit, 11 ~
14...Input line, 21-27...Output.

Claims (1)

【特許請求の範囲】 1、プログラムの実行状態を表示するプログラム状態表
示語を発生する状態発生手段(1)と、前記プログラム
状態表示語の指示に従ってソフトウェア命令を逐次処理
する命令処理手段(2、3)と を備えた情報処理装置において、 ある特定プログラムの開始を表示する特定のプログラム
状態表示語を格納する記憶手段(5)と、この記憶手段
に前記特定のプログラム状態表示語が格納されているこ
との表示を保持する保持手段(6)と、 外部からの指示に従い前記記憶手段が保持状態にあるか
どうかを検出する検出手段(7)と、検出の結果、保持
状態にあるとき前記記憶手段からの特定のプログラム状
態表示語を選択し、非保持状態のとき前記状態発生手段
からのプログラム状態表示語を選択し前記命令処理手段
に対して出力する選択手段(8)と を備えたことを特徴とする情報処理装置。
[Scope of Claims] 1. Status generating means (1) for generating a program status indicating word indicating the execution status of a program; and instruction processing means (2) for sequentially processing software instructions according to instructions of the program status indicating word. 3), a storage means (5) for storing a specific program status indicator word indicating the start of a specific program; and a storage means (5) in which the specific program status indicator word is stored. a holding means (6) for holding an indication that the storage means is in the holding state; a detection means (7) for detecting whether or not the storage means is in the holding state according to an external instruction; Selection means (8) for selecting a specific program status indicating word from the means, and selecting a program status indicating word from the status generating means when in a non-holding state, and outputting the selected program status indicating word to the instruction processing means. An information processing device characterized by:
JP63149184A 1988-06-15 1988-06-15 Information processor Pending JPH01315841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63149184A JPH01315841A (en) 1988-06-15 1988-06-15 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63149184A JPH01315841A (en) 1988-06-15 1988-06-15 Information processor

Publications (1)

Publication Number Publication Date
JPH01315841A true JPH01315841A (en) 1989-12-20

Family

ID=15469634

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63149184A Pending JPH01315841A (en) 1988-06-15 1988-06-15 Information processor

Country Status (1)

Country Link
JP (1) JPH01315841A (en)

Similar Documents

Publication Publication Date Title
RU96107418A (en) PERFORMING THE DATA PROCESSING INSTRUCTIONS
US5095426A (en) Data processing system for effectively handling exceptions during execution of two different types of instructions
JPH01315841A (en) Information processor
JP2708471B2 (en) Processing device control method
JPS61131129A (en) Initial diagnostic system
JP2572386B2 (en) Fault diagnosis device
JP2506591B2 (en) Auxiliary processor
JPS5822765B2 (en) Program loading method in electronic computer system
JPH0452493B2 (en)
JPS62107354A (en) Microprogram control device
JPH01258146A (en) System fault retriever
JPH03251934A (en) Computer equipment
JPS58121459A (en) Service processor of electronic computer
JPS5855529B2 (en) Error processing method of data processing equipment
JPH04145542A (en) Information processor
JPS63109545A (en) Self-diagnostic system for hardware
JPS62208136A (en) Sequential control circuit test system
JPS62216054A (en) Information collecting system in infinite loop trouble mode of cpu
JPS5935241A (en) Interruption control system
JPH09160800A (en) emulator
JPH02254546A (en) Micro sequence circuit
JPH05100913A (en) Error factor searching system
JPH0454548A (en) Memory check system for computer system
JPS63116239A (en) Stack control system for processor
JPH0226249B2 (en)