JPH01130234A - Fault searching system - Google Patents

Fault searching system

Info

Publication number
JPH01130234A
JPH01130234A JP62288924A JP28892487A JPH01130234A JP H01130234 A JPH01130234 A JP H01130234A JP 62288924 A JP62288924 A JP 62288924A JP 28892487 A JP28892487 A JP 28892487A JP H01130234 A JPH01130234 A JP H01130234A
Authority
JP
Japan
Prior art keywords
subroutine
external
external subroutine
area
memory
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
JP62288924A
Other languages
Japanese (ja)
Inventor
Kenichi Akamatsu
赤松 賢一
Yuji Hirayama
平山 雄司
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.)
Fujitsu Dai Ichi Communications Software Ltd
Fujitsu Ltd
Original Assignee
Fujitsu Dai Ichi Communications Software Ltd
Fujitsu Ltd
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 Fujitsu Dai Ichi Communications Software Ltd, Fujitsu Ltd filed Critical Fujitsu Dai Ichi Communications Software Ltd
Priority to JP62288924A priority Critical patent/JPH01130234A/en
Publication of JPH01130234A publication Critical patent/JPH01130234A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To save the trouble for searching a fault by storing the input information immediately before a jump to an external subroutine, and the output information immediate after its return, in the first area of a memory and the second area of the memory, respectively. CONSTITUTION:Input information immediately before a jump to an external subroutine is stored in the first area 1 of a memory by a store means 3, and output information immediately after its return from the external subroutine is stored in the second area 2 of the memory. In such a state, a runaway related to the external subroutine is decided due to a fact that there is no storage in the area 2, and by looking at the contents of the area 1, an error of the input information is decided.

Description

【発明の詳細な説明】 〔概要〕 計算機にて、外部サブルーチンにジャンプする命令を持
つプログラム実行時、暴走を発生する外部サブルーチン
を探索する障害探索方式に関し、暴走が発生した時、ど
の外部サブルーチンが不良か又はどの外部サブルーチン
の入力情報が間違っているかが、手間がかからず早く検
索出来る障害探索方式の提供を目的とし、 外部サブルーチンにジャンプ直前の入力情報をメモリの
第1領域に格納し又外部サブルーチンからの戻り直後の
出力情報をメモリの第2 fief域に格納する格納手
段を設ける構成とする。
[Detailed Description of the Invention] [Summary] Regarding a fault search method that searches for an external subroutine that causes a runaway when a computer executes a program that has an instruction to jump to an external subroutine, when a runaway occurs, which external subroutine is The purpose of this system is to provide a failure search method that allows you to quickly and easily find out which external subroutine is defective or which external subroutine input information is incorrect.Input information immediately before jumping to an external subroutine is stored in the first area of memory. A storage means is provided for storing output information immediately after returning from an external subroutine in a second fief area of the memory.

〔産業上の利用分野〕[Industrial application field]

本発明は、計算機にて、外部サブルーチンにジャンプす
る命令を持つプログラム実行時、暴走を発生する外部サ
ブルーチンを探索する障害探索方式の改良に関する。
The present invention relates to an improvement in a fault search method for searching for an external subroutine that causes a runaway when a computer executes a program that has an instruction to jump to an external subroutine.

計算機は通常第4図に示す如く、少なくともプロセッサ
4.ROM5.・メモリ6にて構成され、プログラムは
ROM5に格納しておき、プログラムを実行する時は、
プロセッサ4がこれを読み出し、メモリ6の領域を使用
する等して実行する。
As shown in FIG. 4, a computer usually includes at least a processor 4. ROM5. - Consists of memory 6, the program is stored in ROM 5, and when executing the program,
The processor 4 reads this and executes it using an area of the memory 6, etc.

ROM5に格納されている、外部サブルーチンにジャン
プする命令を持つプログラムを、プロセッサ4が実行時
、暴走が発生すると障害を発生する外部サブルーチンを
見つけ、更に、外部サブルーチンが不良か、該外部サブ
ルーチンにジャンプする直前のレジスタに記憶している
入力情報が不良かの判定を行うが、この障害探索は手間
がかからず早く出来ることが望ましい。
When the processor 4 executes a program that has an instruction to jump to an external subroutine stored in the ROM 5, it finds the external subroutine that will cause a failure if a runaway occurs, and then determines whether the external subroutine is defective or jumps to the external subroutine. It is determined whether the input information stored in the register immediately before the input is defective or not, but it is desirable that this fault search can be done quickly and without much effort.

〔従来の技術〕[Conventional technology]

第5図は1例の外部サブルーチンにジャンプする命令を
持つ主プログラム及び従来例の主プログラムを解析する
為のプログラムを示す図で、(A)は主プログラム、 
(B)は主プログラムを解析する為のプログラム、 (
C)はメモリ領域を示す。第6図は1例の、外部サブル
ーチンにジャンプする命令を複数持っているプログラム
を示す図である。
FIG. 5 is a diagram showing an example of a main program having an instruction to jump to an external subroutine and a program for analyzing a conventional main program; (A) shows the main program;
(B) is a program for analyzing the main program, (
C) indicates a memory area. FIG. 6 is a diagram showing an example of a program having multiple instructions for jumping to external subroutines.

外部サブルーチンにジャンプする命令関連が、例えば第
5図(A)に示す如く、メモリ5000番地−5002
番地に書き込んであり、内容は夫々、データ500をレ
ジスタR1に設定、データ1000をレジスタR2に設
定、ラベルDGMSGEDの外部サブルーチンにジャン
プし戻り先番地(次の番地5003番地)をレジスタR
7に設定、とする。
For example, as shown in FIG. 5(A), an instruction related to jumping to an external subroutine is stored at memory address 5000-5002.
The contents are respectively set data 500 to register R1, data 1000 to register R2, jump to an external subroutine with label DGMSGED, and write the return destination address (next address 5003) to register R.
Set it to 7.

又ラベルDGMSGEDの外部サブルーチンは、レジス
タR1の内容をメモリ領域AAAに格納2、レジスタR
2の内容をメモリ領域BBHに格納であったとする。
In addition, the external subroutine with label DGMSGED stores the contents of register R1 in memory area AAA2, and stores the contents of register R1 in memory area AAA.
Assume that the contents of 2 are stored in memory area BBH.

すると、このプログラムを実行する時は、レジスタR1
,R2に設定したデータ500.1000を入力情報と
し、5002番地の命令にてラベルDGMSGEDの外
部サブルーチンにジャンプし、この例のラベルDC,M
SGEDの外部サブルーチンは、レジスタR1の内容を
メモリ領域AAAに格納、レジスタR2の内容をメモリ
領域BBBに格納するコピー命令の為に、サブルーチン
を実行しても出力情報としてのレジスタR1,R2の内
容はd化せず、サブルーチンを実行完了す着と5003
番地に戻り、この番地の命令を実行する。
Then, when executing this program, register R1
, R2 is used as input information, and the command at address 5002 jumps to the external subroutine with label DGMSGED.
The SGED external subroutine is a copy instruction that stores the contents of register R1 in memory area AAA and the contents of register R2 in memory area BBB, so even if the subroutine is executed, the contents of registers R1 and R2 will not be outputted. 5003 when the subroutine is completed without converting to d.
Return to the address and execute the command at this address.

この時、プログラムに不良が有ると、暴走が発生ずるが
、この不良箇所を見つける為に、(B)に示す、主プロ
グラムを解析する為のプログラムを持っており、現在実
行中の命令をメモリ領域irに格納し、現在実行中の命
令のアドレスをメモリ領域pswに格納するようにして
いる。
At this time, if there is a defect in the program, a runaway will occur, but in order to find this defective part, we have a program to analyze the main program as shown in (B), and store the currently executing instruction in memory. The address of the instruction currently being executed is stored in the memory area psw.

暴走が発生すると、プログラムの不良を見つける為に、
命令実行をストップし、再度主プログラムをスタートさ
せ、上記メモリ領域pswに格納される実行中の命令の
アドレスが、指示した番地と等しくなつたら命令実行を
ストップさせるプログラムを用い、第5図(A)の如く
外部サブルーチンにジャンプする命令が1個の場合なら
、外部サブルーチン実行後の戻り先の5003番地を指
示する。
When a runaway occurs, in order to find the fault in the program,
Using a program that stops instruction execution, restarts the main program, and stops instruction execution when the address of the instruction being executed stored in the memory area psw becomes equal to the specified address, ), if there is one instruction that jumps to an external subroutine, the address 5003 is specified as the return destination after execution of the external subroutine.

暴走が外部サブルーチン関連で発生していれば命令実行
は5003番地に帰ってこないので、外部サブルーチン
関連に不良があることが判る。
If the runaway has occurred in connection with an external subroutine, the instruction execution will not return to address 5003, indicating that there is a defect in connection with the external subroutine.

この場合、障害の原因としては、外部サブルーチンにジ
ャンプする直前の、レジスタR1,R2゜(通常はレジ
スタは10個位ある)に格納した入力情報が間違ってい
る場合と、外部サブルーチン自身が不良の場合とがある
In this case, the cause of the failure is that the input information stored in registers R1 and R2 (usually there are about 10 registers) immediately before jumping to the external subroutine is incorrect, or that the external subroutine itself is defective. There are cases.

そこで、再度命令実行をストップし、再度主プログラム
をスタートさせ、外部サブルーチンにジャンプする直前
の5001番地を指示し、ここで命令をストップさせ、
レジスタR1,R2に格納している内容を見る。   
   ゛ この内容が間違っていればこれが暴走の原因であり、間
違っていなければ、外部サブルーチン自身が不良である
ことが判る。
Therefore, stop the instruction execution again, start the main program again, specify address 5001 immediately before jumping to the external subroutine, and stop the instruction here.
Look at the contents stored in registers R1 and R2.
``If this content is incorrect, this is the cause of the runaway; if it is not incorrect, it turns out that the external subroutine itself is defective.

第6図に示す如く外部サブルーチンにジャンプする命令
が複数で例えばNo、1〜NO4と4個ある場合は、上
記の動作を、No、1よりNO64迄順次繰り返し、ど
の外部サブルーチンへの入力情報が間違っているか、ど
の外部サブルーチン自身が不良であるかを探索する。
As shown in FIG. 6, if there are multiple instructions to jump to external subroutines, for example, four, No. 1 to No. 4, the above operation is repeated sequentially from No. 1 to No. 64, and the input information to which external subroutine is determined. Find out what is wrong or which external subroutine itself is bad.

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

しかしながら、上記従来の障害探索方式では、暴走が発
生すると、外部サブルーチンにジャンプする命令の数に
よって多くなるが、命令実行を少なくとも3回繰り返し
て行うので、手間がかかり又時間がかかる問題点がある
。  。
However, in the conventional fault search method described above, when a runaway occurs, the instruction execution is repeated at least three times, which increases depending on the number of instructions that jump to external subroutines, so there is a problem that it is troublesome and time consuming. . .

本発明は、外部サブルーチンにジャンプする命令を持つ
プログラムを実行し、暴走が発生した時、どの外部サブ
ルーチンが不良か又はどの外部サブルーチンの入力情報
が間違っているかが、手間がかからず早く検索出来る障
害探索方式の提供を目的としている。
According to the present invention, when a program with a jump instruction to an external subroutine is executed and a runaway occurs, it is possible to quickly and easily find out which external subroutine is defective or which external subroutine has incorrect input information. The purpose is to provide a fault search method.

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

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

第1図に示す如く、計算機にて、外部サブルーチンにジ
ャンプする命令を持つプログラムを実行するに際し、 外部サブルーチンにジャンプ直前の入力情報をメモリの
第1領域1に格納し又外部サブルーチンからの戻り直後
の出力情報をメモリの第2領域2に格納する格納手段3
を設けた構成とする。
As shown in Figure 1, when a computer executes a program that has an instruction to jump to an external subroutine, input information immediately before jumping to the external subroutine is stored in the first area 1 of memory, and immediately after returning from the external subroutine. storage means 3 for storing the output information of in the second area 2 of the memory;
The configuration includes the following.

〔作用〕[Effect]

本発明によれば、格納手段3にて、外部サブルーチンに
ジャンプ直前の入力情報〔使用可能なレジスタ全てに格
納しである内容〕をメモリの第1・領域lに格納し、又
外部サブルーチンからの戻り直後の出力情報(外部サブ
ルーチンにて使用可能なレジスタ全てに格納しである内
容)をメモリの第2領域2に格納するようにしている。
According to the present invention, the storage means 3 stores the input information immediately before jumping to the external subroutine (the contents stored in all available registers) in the first area l of the memory, and also stores the input information from the external subroutine (contents stored in all available registers) The output information immediately after the return (contents stored in all registers available in the external subroutine) is stored in the second area 2 of the memory.

このようにすれば、外部サブルーチン関連で暴走が発生
すると、第2領域2には何も記憶されないので、外部サ
ブルーチン関連で暴走が発生したことが判り、第1領域
1の内容を見ることで入力情報が間違っているかどうか
が判り、これにより入力情報かまたは外部サブルーチン
が不良かが判る。
In this way, if a runaway occurs related to an external subroutine, nothing will be stored in the second area 2, so you can know that a runaway has occurred related to an external subroutine, and by looking at the contents of the first area 1, input It is determined whether the information is incorrect, and this indicates whether the input information or the external subroutine is defective.

尚外部サブルーチンにジャンプする命令が複数ある場合
は、この命令が来る度にメモリの第1゜第2領域1.2
の内容は書き替えられるが、第1゜第2領域1.2の内
容を見れば、例えば、第1領域には、N002の外部サ
ブルーチンへの入力情報が有り、第2領域2にはNo、
1の外部サブルーチンの出力情報が記憶されていれば、
No、2の外部サブルーチンにより暴走が発生しており
、この場合第1領域の内容が間違っていれば、N022
の外部サブルーチンへの入°力情報が間違っていて暴走
していることが判る。
If there are multiple instructions that jump to external subroutines, each time this instruction comes, the first and second areas 1 and 2 of the memory are
However, if you look at the contents of the 1st and 2nd areas 1.2, for example, the 1st area contains input information to the external subroutine of N002, and the 2nd area 2 contains No.
If the output information of external subroutine 1 is stored,
A runaway has occurred due to the external subroutine No. 2, and in this case, if the contents of the first area are incorrect, No. 22
It turns out that the input information to the external subroutine is wrong and the program is out of control.

従って、との゛外部サブルーチンが不良か又はどの外部
サブルーチンの入力情報が間違っているかが判る。
Therefore, it can be determined that the external subroutine is defective or the input information of which external subroutine is incorrect.

即ち、特にプログラム実行をストップさせることもせず
に障害探索が出来るので、手間もかからず早く障害探索
が出来る。
That is, since the fault search can be performed without particularly stopping program execution, the fault search can be performed quickly and without much effort.

〔実施例〕〔Example〕

第2図は本発明の実施例の障害探索のプログラムのフロ
ーチャートであり、(A)にメモリ領域を示す。
FIG. 2 is a flowchart of a fault search program according to an embodiment of the present invention, and (A) shows a memory area.

本発明の場合は、外部サブルーチンにジャンプする命令
を含むプログラムを実行させる時は、第2図のプログラ
ムもスタートさせる。
In the case of the present invention, when a program including an instruction to jump to an external subroutine is executed, the program shown in FIG. 2 is also started.

以下第2図のプログラムに従って、第5図(A)の主プ
ログラムの場合を対象にしてまず説明する。
In the following, the main program shown in FIG. 5(A) will be explained in accordance with the program shown in FIG. 2.

従来と同じ(、ステップ1にて、現在実行中の命令をメ
モリ領域irに格納し、ステップ2にて現在実行中の命
令のアドレスをメモリ領域pswに格納する。
Same as the conventional method (in step 1, the currently executed instruction is stored in the memory area ir, and in step 2, the address of the currently executed instruction is stored in the memory area psw).

次に、ステップ3にて、外部サブルーチンにジャンプし
ろとの命令かを判定し、そうであれば、ステップ4にて
、レジスタR7のリターンアドレスをメモリ領域r7に
格納し、ステップ5にて、外部サブルーチンにジャンプ
する直前の入力情報(使用可能なレジスタ全ての内容)
を、メモリ領域Aに格納してステップ1に帰り、ステッ
プ1゜2にて上記と同じことを実行し、ステップ3にて
、外部サブルーチンにジャンプしろとの命令かを判定す
る。
Next, in step 3, it is determined whether the instruction is to jump to an external subroutine, and if so, in step 4, the return address of register R7 is stored in memory area r7, and in step 5, the instruction is to jump to an external subroutine. Input information just before jumping to the subroutine (contents of all available registers)
is stored in the memory area A, the process returns to step 1, the same thing as above is executed in steps 1 and 2, and it is determined in step 3 whether the instruction is to jump to an external subroutine.

この時、そうでなければ(通常はそうでない)、ステッ
プ6に進み、現在実行中の命令のアドレスとメモリ領域
r7に格納したリターンアドレスと等しいかを見、等し
くない場合はステップ1に帰り上記のことを繰り返し、
等しければステップ7に進み、外部サブルーチンよりリ
ターン時の出力情報(外部サブルーチンにて使用可能な
レジスタ全ての内容)をメモリ領域Bに格納させる。
At this time, if not (usually not), proceed to step 6, check whether the address of the currently executing instruction is equal to the return address stored in memory area r7, and if not, return to step 1, described above. Repeat that,
If they are equal, the process advances to step 7, and the output information (contents of all registers usable by the external subroutine) upon return from the external subroutine is stored in memory area B.

このようにすれば、暴走が発生すると、メモリ領域Bに
は何も格納されないので、外部サブルーチン関連の暴走
であることが判り、又メモリ領域Aの内容を見ることで
、入力情報が間違っているかが判り、間違っていれば入
力情報が原因であり、間違っていなければ外部サブルー
チンが不良であることが判る。
In this way, when a runaway occurs, nothing will be stored in memory area B, so you can know that the runaway is related to an external subroutine, and by looking at the contents of memory area A, you can check whether the input information is incorrect. If it is incorrect, it is determined that the input information is the cause, and if it is not incorrect, it is determined that the external subroutine is defective.

第6図に示す如く、外部サブルーチンにジャンプする命
令が複数有る場合は、メモリ領域A、 Bに書き込まれ
る内容は、外部サブルーチンにジャンプする命令が来る
度に書き替えられるが、メモリ領域A、Bを見ていれば
、例えば、メモリ領域Aには、No、2の外部サブルー
チンへの入力情報が有り、メモリ領域BにはNO,1の
外部サブルーチンの出力情報が記憶されていれば、N0
02の外部サブルーチンにより暴走が発生しており、こ
の場合メモリ領域Aの内容が間違っていれば、No、2
の外部サブルーチンへの入力情報が間違っていて暴走し
ていることが判る。
As shown in Figure 6, when there are multiple instructions to jump to an external subroutine, the contents written to memory areas A and B are rewritten each time an instruction to jump to an external subroutine arrives; For example, if memory area A contains input information to an external subroutine No. 2, and memory area B stores output information from an external subroutine No. 1, then N0
If a runaway has occurred due to the external subroutine of 02, and the contents of memory area A are incorrect in this case, No. 2
It turns out that the input information to the external subroutine is wrong and the program is out of control.

従って、どの外部サブルーチンが不良か又はどの外部サ
ブルーチンの入力情報が間違っているかが判る。
Therefore, it can be determined which external subroutine is defective or whose input information is incorrect.

第3図は本発明の他の実施例の障害探索のプログラムの
フローチャートで(A)にメモリ領域を示しである。
FIG. 3 is a flowchart of a fault search program according to another embodiment of the present invention, and (A) shows the memory area.

第3図のプログラムは、第6図に示す如く外部サブルー
チンにジャンプする命令が複数有る場合に適用するもの
で、第2図の場合と異なるのは、ステップ5,6.8で
、ステップ7は、第2図のステップ6に等しい。
The program shown in FIG. 3 is applied when there are multiple instructions to jump to an external subroutine as shown in FIG. 6.The program shown in FIG. , equivalent to step 6 in FIG.

従って異なる点につき説明する。Therefore, the different points will be explained.

この場合は、外部サブルーチンにジャンプしろとの命令
が来て、ステップ4にて、レジスタR7のリターンアド
レスをメモリ領域r7に格納する度に、カウンタを1つ
カウントアンプし、ステップ6にて、外部サブルーチン
にジャンプする直前の入力情報を、メモリ領域Aにカウ
ント値を加えたアドレスの領域A+1.A+2.  ・
・・に格納するようにした点と、現在実行中の命令のア
ドレスが、メモリ領域r7に格納しているリターンアド
レスと等しい時は、ステップ8にて、外部サブルーチン
よりリターン時の出力情報を、メモリ領域Bにカウント
値を加えたアドレスの領域B+1゜8+2.・・・に格
納するようにした点である。
In this case, each time a command to jump to an external subroutine is received and the return address of register R7 is stored in memory area r7 in step 4, the counter is incremented by one, and in step 6 the external subroutine is The input information immediately before jumping to the subroutine is stored in the memory area A plus the count value, which is the address area A+1. A+2.・
... and when the address of the currently executing instruction is equal to the return address stored in memory area r7, in step 8, the output information at the time of return is sent from the external subroutine. Area B + 1° 8 + 2 at the address of memory area B plus the count value. The point is that it is stored in...

このようにすると、(A)に示す如(、外部サブルーチ
ンにジャンプしろとの命令毎に順次、直前の入力情報は
、メモリ領域A、A+1.A+2゜・・・に、又リター
ン直後の出力情報は、メモリ領域B、B+1.B+2.
  ・・・に格納される。
In this way, as shown in (A), for each command to jump to an external subroutine, the previous input information will be stored in the memory area A, A+1, A+2°, etc., and the output information immediately after return. are memory areas B, B+1.B+2.
... is stored in...

従って、暴走を発生している外部サブルーチン対応の出
力情報格納領域例えばB+3には何も書き込まれないの
で、N004の命令の所の外部サブルーチン関連の所が
不良であることが判り、メモリ領域A+3の入力情報を
見ることで入力情報が間違って−いるかがわかるので、
どの外部サブルーチンが不良か又はどの外部サブルーチ
ンの入力情報が間違っているかが判る。
Therefore, since nothing is written to the output information storage area corresponding to the external subroutine that is causing the runaway, for example, B+3, it is found that the part related to the external subroutine at the instruction N004 is defective, and the memory area A+3 is found to be defective. By looking at the input information, you can see if the input information is incorrect.
It can be determined which external subroutine is defective or whose input information is incorrect.

第6図の場合は、No、1とN004の命令は、入力情
報は異なるも同じ外部サブルーチンを使うようにしてい
るので、第2図の方法では、どの外部サブルーチンが不
良か又はどの外部サブルーチンの入力情報が間違ってい
るかが検索しにくいも第3図の場合では夫々側々のメモ
リ領域に記憶されているので明確に検索出来る。
In the case of Figure 6, instructions No. 1 and No. 004 use the same external subroutine even though the input information is different, so the method in Figure 2 can determine which external subroutine is defective. Although it is difficult to search to see if the input information is incorrect, in the case of FIG. 3, the information is stored in memory areas on both sides, so it can be searched clearly.

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

以上詳細に説明せる如く本発明によれば、外部サブルー
チンにジャンプする命令を持つプログラムを実行し、暴
走が発生した時、どの外部サブルーチンが不良か又はど
の外部サブルーチンの入力情報が間違っているかが、手
間がかからず早く検索出来る効果がある。
As explained in detail above, according to the present invention, when a program with a jump instruction to an external subroutine is executed and a runaway occurs, it is possible to determine which external subroutine is defective or the input information of which external subroutine is incorrect. This has the effect of allowing you to search quickly and without much effort.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例の障害探索のプログラムのフロ
ーチャート、 第3図は本発明の他の実施例の障害探索のプログラムの
フローチャート、 第4図は1例の計算機のブロック図、 第5図は1例の外部サブルーチンにジャンプする命令を
持つ主プログラム及び従来例の主プログラムを解析する
為のプログラムを示す図、第6図は1例の、外部サブル
ーチンにジャンプする命令を複数持っているプログラム
を示す図である。 図において、 1はメモリの第1 fii域、 2はメモリの第2領域、 3は格納手段、 4はプロセッサ、 5はROM。 1例の計算機のブロック図 第4図
FIG. 1 is a principle block diagram of the present invention. FIG. 2 is a flowchart of a fault search program according to an embodiment of the present invention. FIG. 3 is a flowchart of a fault search program according to another embodiment of the present invention. is a block diagram of an example computer; FIG. 5 is a diagram showing an example main program with an instruction to jump to an external subroutine and a program for analyzing a conventional main program; FIG. 6 is an example computer block diagram. FIG. 2 is a diagram showing a program having multiple instructions for jumping to external subroutines. In the figure, 1 is a first fii area of the memory, 2 is a second area of the memory, 3 is a storage means, 4 is a processor, and 5 is a ROM. Figure 4: Block diagram of an example computer

Claims (1)

【特許請求の範囲】 計算機にて、外部サブルーチンにジャンプする命令を持
つプログラムを実行するに際し、 外部サブルーチンにジャンプ直前の入力情報をメモリの
第1領域(1)に格納し又外部サブルーチンからの戻り
直後の出力情報をメモリの第2領域(2)に格納する格
納手段(3)を設けたことを特徴とする障害探索方式。
[Claims] When a computer executes a program having an instruction to jump to an external subroutine, input information immediately before jumping to the external subroutine is stored in a first area (1) of the memory, and when returning from the external subroutine, input information is stored in the first area (1) of the memory. A fault search method characterized in that a storage means (3) is provided for storing immediately after output information in a second area (2) of a memory.
JP62288924A 1987-11-16 1987-11-16 Fault searching system Pending JPH01130234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62288924A JPH01130234A (en) 1987-11-16 1987-11-16 Fault searching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62288924A JPH01130234A (en) 1987-11-16 1987-11-16 Fault searching system

Publications (1)

Publication Number Publication Date
JPH01130234A true JPH01130234A (en) 1989-05-23

Family

ID=17736562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62288924A Pending JPH01130234A (en) 1987-11-16 1987-11-16 Fault searching system

Country Status (1)

Country Link
JP (1) JPH01130234A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7878082B2 (en) 2004-05-13 2011-02-01 Nippon Thompson Co., Ltd. Sliding device for use in confined spaces

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7878082B2 (en) 2004-05-13 2011-02-01 Nippon Thompson Co., Ltd. Sliding device for use in confined spaces

Similar Documents

Publication Publication Date Title
JPH01130234A (en) Fault searching system
JP2552738B2 (en) Data processing device
JP2731047B2 (en) Program operand check method
JP2671160B2 (en) Exception handling method
JPS62262146A (en) Processor
JPS62293434A (en) Branch destination forecasting controlling system
JPH04256031A (en) Exceptional processing method in programming language
JPH04181331A (en) Instruction retry system
JP3012618B1 (en) Debugging method of inspected program and its debugging method
JP2658699B2 (en) Method of managing device under test of input / output device test program
JPS6042968B2 (en) information processing equipment
JPH06161516A (en) Checking method for sequence program
JPH04369727A (en) Arithmetic unit
JPS61221943A (en) Arithmetic processor
JPH0468446A (en) Debugging supporting device
JPS61279949A (en) Program debug system
JPS59189452A (en) Queue structure for data processor
JPH0740226B2 (en) Branch instruction control method
JPH0695868A (en) Software management system
JPS62237533A (en) Data processor
JP2001051872A (en) Program debugging device and recording medium where program is recorded
JPH05143422A (en) Updated journal managing system
JPH06332508A (en) Programmable controller
JPH0227693B2 (en)
JPH04134535A (en) Exception information sampling mechanism for multitask program