JPH0370042A - Return code analyzer - Google Patents

Return code analyzer

Info

Publication number
JPH0370042A
JPH0370042A JP1204826A JP20482689A JPH0370042A JP H0370042 A JPH0370042 A JP H0370042A JP 1204826 A JP1204826 A JP 1204826A JP 20482689 A JP20482689 A JP 20482689A JP H0370042 A JPH0370042 A JP H0370042A
Authority
JP
Japan
Prior art keywords
return code
meaning
code
processing analysis
section
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
JP1204826A
Other languages
Japanese (ja)
Inventor
Sumio Izawa
井沢 燈雄
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 JP1204826A priority Critical patent/JPH0370042A/en
Publication of JPH0370042A publication Critical patent/JPH0370042A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To dispense with work such as to check a return code by referring to a manual when a program is developed by analyzing and displaying the meaning of the return code. CONSTITUTION:A return code analyzer 1 is comprised of a data display part 2, an instruction input part 3, a processing analysis part 4, and a file input part 5. When the return code is inputted from the input part 3, the return code is sent to the processing analysis part 4, and the processing analysis part 4 issues an instruction to read out the meaning of the return code from a file to the readout part 5. Also, the processing analysis part 4 issues the instruction to display the meaning of a read out return code to the data display means 2, thereby, the data display means 2 displays the meaning of the return code on a display part 6. In such a way, the development of the program can be efficiently performed.

Description

【発明の詳細な説明】 [産業上の利用分野〕 本発明は、戻りコードを解析して表示するようにした戻
りコード解析装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a return code analysis device that analyzes and displays return codes.

[従来の技術] 従来、プログラムを開発する場合、プログラムの翻訳、
結合あるいは実行時においては、プログラムのエラーの
原因などを通知するために戻りコードが用いられる。こ
の戻りコードは、例えば16進8桁のコードが用いられ
、基本ソフトウェア(オペレーティングシステム以下O
8という)やコンパイラからプログラム開発者に通知さ
れる。
[Conventional technology] Conventionally, when developing a program, translation of the program,
During connection or execution, return codes are used to notify the cause of program errors. This return code is, for example, an 8-digit hexadecimal code, and the basic software (operating system and below)
8) and the compiler notify the program developer.

そして、戻りコードを通知されたプログラム開発者は、
マニュアルを参照して戻りコードの意味を調べていた。
The program developer who was notified of the return code then
I checked the manual to find out the meaning of the return code.

[発明が解決しようとする課題] しかしながら、一つのプログラムが完成(デパック完了
)するまでは、編集、翻訳、結合、実行の手順を繰り返
すが、前述のようにその都度O8からの戻りコードをマ
ニュアルで調べると、その手数が煩雑であるばかりでな
く、調べる時間も長くなってしまう。また、戻りコード
を調べるために、プログラムの作成作業を一時中断しな
ければならず、プログラムの作成効率が低下する。
[Problem to be solved by the invention] However, until one program is completed (depacking is completed), the steps of editing, translation, combination, and execution are repeated, but as mentioned above, each time the return code from O8 is manually input. If you search by Furthermore, the program creation process must be temporarily interrupted to check the return code, which reduces the efficiency of program creation.

更に、大人数でプログラムを開発する場合、人数分のマ
ニュアルを用意する訳にもいかず、必要なときに即マニ
ュアルを参照できない問題があった。
Furthermore, when a program is developed by a large number of people, it is impossible to prepare a manual for each person, and there is a problem that the manual cannot be immediately referred to when needed.

本発明は、このような事情に鑑みなされたちので、その
目的は戻りコードの意味を表示し、もってプログラムの
開発を効率的に行なえるようにした戻りコード解析装置
を提供することにある。
The present invention was developed in view of the above circumstances, and an object of the present invention is to provide a return code analysis device that displays the meaning of a return code and thereby enables efficient program development.

[課題を解決するための手段] 本発明は上記課題を解決するための、入力部から人力さ
れた戻りコードを受けて、そのコードの意味をファイル
から読み出すよう読出手段に指示する処理解析手段と、
この処理解析手段の指示に基いて、前記読出手段によっ
て読み出された戻りコードの意味を表示部に表示させる
データ表示手段とを有することを特徴とする。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention includes processing analysis means that receives a manually input return code from an input section and instructs a reading means to read the meaning of the code from a file. ,
The present invention is characterized by comprising data display means for displaying the meaning of the return code read by the reading means on a display unit based on instructions from the processing analysis means.

[作用コ 本発明では、入力部から戻りコードを入力すると、この
戻りコードは処理解析手段へ送られ、処理解析手段は戻
りコードの意味をファイルから読み出すよう読出手段に
指示する。また、処理解析手段は、読み出された戻りコ
ードの意味を表示するようにデータ表示手段に指示し、
これによりデータ表示手段は、戻りコードの意味を表示
部に表示させる。
[Operations] In the present invention, when a return code is input from the input section, this return code is sent to the processing analysis means, and the processing analysis means instructs the reading means to read the meaning of the return code from the file. The processing analysis means also instructs the data display means to display the meaning of the read return code,
Thereby, the data display means displays the meaning of the return code on the display section.

[実施例] 以下、本発明の実施例を図面を参照して詳細に説明する
。第1図は本発明の戻りコード解析装置の一実施例を示
すブロック図である。
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the return code analysis device of the present invention.

第1図において、本発明の戻りコード解析装置1は、デ
ータ表示部2、指示入力部3、処理解析部4、ファイル
入力部5から構成される。データ表示部2は、画面表示
部6に接続されており、データ表示部2の指示に基いて
画面表示部6で戻りコードの二一モニック、16進コー
ド、10進コード、戻りコードの意味などが表示される
。指示入力部3は、キーボード7から入力される戻りコ
ードを処理解析部4へ伝える入力回路である。
In FIG. 1, a return code analysis device 1 of the present invention is comprised of a data display section 2, an instruction input section 3, a process analysis section 4, and a file input section 5. The data display section 2 is connected to a screen display section 6, and based on instructions from the data display section 2, the screen display section 6 displays information such as the return code's 21 monic, hexadecimal code, decimal code, and the meaning of the return code. is displayed. The instruction input unit 3 is an input circuit that transmits a return code input from the keyboard 7 to the processing analysis unit 4.

処理解析部4は、各部の動作を制御する制御回路であっ
て、指示人力部3から入力された戻りコードの意味を調
べるべく、ファイル入力部5に指示する。また、調べら
れた戻りコードの意味を表示するようデータ表示部2に
指示する制御を行う。
The processing analysis section 4 is a control circuit that controls the operation of each section, and instructs the file input section 5 to check the meaning of the return code input from the instruction manual section 3. It also performs control to instruct the data display unit 2 to display the meaning of the checked return code.

ファイル入力部5は、処理解析部4の指示に従って、戻
りコードの意味を複数の開発用ファイル8゜9、・・・
nの中から読み出すデータ読出回路である。
The file input section 5 inputs the meaning of the return code into a plurality of development files 8.9, . . . according to instructions from the processing analysis section 4.
This is a data reading circuit that reads out data from n.

各開発用ファイルは、第2図に示すように、戻りコード
に対応して作成されている。本実施例では、例えば開発
用ファイル8は戻りコードAI、READYに対応し、
開発用ファイル9は戻りコードA1、TRKOVに対応
している。そして、各開発用ファイルには、第3図に示
すように、それぞれの戻りコードに対応して16進コー
ド、10進コード。
Each development file is created in correspondence with the return code, as shown in FIG. In this embodiment, for example, the development file 8 corresponds to the return code AI, READY,
Development file 9 corresponds to return code A1 and TRKOV. Each development file contains a hexadecimal code and a decimal code corresponding to each return code, as shown in Figure 3.

戻りコードの意味を説明するデータが格納されている。Contains data that describes the meaning of the return code.

次に、前記実施例の動作を説明する。Next, the operation of the above embodiment will be explained.

まず、プログラムを開発しているユーザがニモニックで
rALREADY Jという戻りコードの意味を知りた
い場合、キーボード7からその戻りコートの文字列が入
力される。入力された戻りコードは、指示人力部3を介
して処理解析部4へ送られる。戻りコードrALREA
DY Jは、第2図に示す如く、開発用ファイル8に格
納されているので、処理解析部4は開発用ファイル8の
データを読み出すようファイル入力部5に指示する。こ
れにより、ファイル入力部5は、第3図に示す如く、戻
りコードrALREへDY Jの意味を説明する「既に
サービスは行われていた」というデータを読み出す。処
理解析部4は、この読み出されたデータを表示するよう
データ表示部2に指示し、これにより前記データが画面
表示部6て表示される。
First, when a user who is developing a program wants to know the meaning of the mnemonic return code rALREADY J, the character string of the return code is input from the keyboard 7. The input return code is sent to the processing analysis section 4 via the instruction manual section 3. Return code rALREA
Since DY J is stored in the development file 8 as shown in FIG. 2, the processing analysis section 4 instructs the file input section 5 to read the data of the development file 8. As a result, the file input unit 5 reads out the data "The service has already been performed" which explains the meaning of DY J in the return code rALRE, as shown in FIG. The processing analysis section 4 instructs the data display section 2 to display the read data, and thereby the data is displayed on the screen display section 6.

同様に、プログラムを開発しているユーザが16進数で
r 1227Jという戻りコードの意味を知りたい場合
は、キーボード7からその戻りコードの文字列が人力さ
れる。この入力された戻りコードは、同様に指示入力部
3を介して処理解析部4に送られる。処理解析部4は、
第4図に示すような16進コードと二−モニックの対応
表を用いて、人力された16進コードを二一モニックに
変換する。次いで、処理解析部4は変換された二一モニ
ックに基いてファイル入力部5に開発用ファイル9から
戻りコードrALTRKOV Jのデータを読み出すよ
う指示する。こりにより、ファイル入力部5は、第3図
に示す如く、戻りコードrALTRKOV Jの意味を
説明する「使用できる代替トラックはもうない」のデー
タを読み出す。処理解析部4は、この読み出されたデー
タを表示するようデータ表示部2に指示し、これによっ
て前記データが画面表示部6で表示される。
Similarly, if a user developing a program wants to know the meaning of a return code r1227J in hexadecimal, the character string of the return code is entered manually from the keyboard 7. This input return code is similarly sent to the processing analysis section 4 via the instruction input section 3. The processing analysis unit 4
Using a correspondence table between hexadecimal codes and binary monics as shown in FIG. 4, the manually generated hexadecimal codes are converted into binary monics. Next, the processing analysis unit 4 instructs the file input unit 5 to read the data of the return code rALTRKOV J from the development file 9 based on the converted twenty-one monic. As a result, the file input unit 5 reads out the data "There are no more available alternative tracks" which explains the meaning of the return code rALTRKOV J, as shown in FIG. The processing analysis section 4 instructs the data display section 2 to display the read data, and thereby the data is displayed on the screen display section 6.

更に、プログラムを開発しているユーザが10進数でr
 8227Jという戻りコードの意味を知りたい場合は
、前記と同様にキーボード7からその戻りコードが人力
される。人力された戻りコードは、指示入力部3を介し
て処理解析部4へ送られる。
Furthermore, if the user who is developing the program writes r in decimal
If the user wants to know the meaning of the return code 8227J, the return code is entered manually from the keyboard 7 in the same manner as described above. The manually entered return code is sent to the processing analysis section 4 via the instruction input section 3.

処理解析部4は、まず10進コードを16進コードに変
換し、次に変換された16進コードを前記と同様に第4
図の変換表を用いて二一モニックに変換する。この変換
結果に基いて、処理解析部4はファイル入力部5に開発
用ファイル10から戻りコードr ARGERRJのデ
ータを読み出すよう指示する。これにより、ファイル入
力部5は、第3図に示すように、戻りコードr ARG
El?RJの意味を説明する。「引数エラー」を読み出
す。この読み出されたデータは、前記と同様に処理解析
部4の指示により画面表示部6で表示される。
The processing analysis unit 4 first converts the decimal code into a hexadecimal code, and then converts the converted hexadecimal code into a fourth code as described above.
Convert to 21 monic using the conversion table shown in the figure. Based on this conversion result, the processing analysis section 4 instructs the file input section 5 to read the data of the return code rARGERRJ from the development file 10. As a result, the file input unit 5 receives the return code r ARG as shown in FIG.
El? Explain the meaning of RJ. Reads "argument error". This read data is displayed on the screen display section 6 according to instructions from the processing analysis section 4, as described above.

[発明の効果コ 以上説明したように本発明によれば、戻りコードの意味
を解析して表示するようにしたので、プログラムを開発
する場合、プログラムの翻訳、結合、実行時にその都度
戻りコードをマニュアルを参照して意味を調べるという
煩雑な作業をなくすことができる。従って、戻りコード
のマニュアルが不要であるばかりでなく、戻りコードを
簡単かつ短時間で知ることができる。また、戻りコード
の意味調べを簡単に行えるため、プログラムの作成に専
念でき、作業の効率を向上できる効果がある。
[Effects of the Invention] As explained above, according to the present invention, the meaning of the return code is analyzed and displayed, so when developing a program, the return code can be read each time the program is translated, combined, or executed. This eliminates the tedious task of referring to a manual to find out the meaning. Therefore, not only is there no need for a return code manual, but the return code can be known easily and in a short time. In addition, since it is easy to check the meaning of return codes, you can concentrate on creating programs, which has the effect of improving work efficiency.

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

第1図は本発明の戻りコード解析装置の一実施例を示す
ブロック図、第2図は開発用ファイルと戻りコードの対
応を示す説明図、第3図は戻りコードと16進コード、
10進コード、及び戻りコードの意味との対応関係を示
す説明図、第4図は戻りコードの16進コードと二−モ
ニックとの対応を示す説明図である。 1・・・戻りコード解析装置、2・・・データ表示部、
3・・・指示人力部、4・・・処理解析部、5・・・フ
ァイル入力部、6・・・画面表示部、7・・・キーボー
ド、8゜9、・・・n・・・開発用ファイル。 第3図
Fig. 1 is a block diagram showing an embodiment of the return code analysis device of the present invention, Fig. 2 is an explanatory diagram showing the correspondence between development files and return codes, Fig. 3 is a return code and hexadecimal code,
FIG. 4 is an explanatory diagram showing the correspondence between the decimal code and the meaning of the return code, and FIG. 4 is an explanatory diagram showing the correspondence between the hexadecimal code of the return code and the monic. 1... Return code analysis device, 2... Data display section,
3...Instruction human resources department, 4...Processing analysis department, 5...File input section, 6...Screen display section, 7...Keyboard, 8゜9,...n...Development file for. Figure 3

Claims (1)

【特許請求の範囲】 入力部から入力された戻りコードを受けて、そのコード
の意味をファイルから読み出すよう読出手段に指示する
処理解析手段と、 この処理解析手段の指示に基いて、前記読出手段によっ
て読み出された戻りコードの意味を表示部に表示させる
データ表示手段とを有することを特徴とする戻りコード
解析装置。
[Scope of Claims] Processing analysis means that receives a return code input from an input section and instructs reading means to read the meaning of the code from the file; and based on the instruction of the processing analysis means, said reading means 1. A return code analysis device comprising: data display means for displaying the meaning of the return code read out on a display unit.
JP1204826A 1989-08-09 1989-08-09 Return code analyzer Pending JPH0370042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1204826A JPH0370042A (en) 1989-08-09 1989-08-09 Return code analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1204826A JPH0370042A (en) 1989-08-09 1989-08-09 Return code analyzer

Publications (1)

Publication Number Publication Date
JPH0370042A true JPH0370042A (en) 1991-03-26

Family

ID=16497026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1204826A Pending JPH0370042A (en) 1989-08-09 1989-08-09 Return code analyzer

Country Status (1)

Country Link
JP (1) JPH0370042A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08177019A (en) * 1994-12-22 1996-07-09 Metro Denki Kogyo Kk Light-emitting curb

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08177019A (en) * 1994-12-22 1996-07-09 Metro Denki Kogyo Kk Light-emitting curb

Similar Documents

Publication Publication Date Title
JPH05298052A (en) Window system and event processing method
JPH0370042A (en) Return code analyzer
JPH0766342B2 (en) Program test equipment
JPH1055339A (en) On-line business processing system
JPS63131229A (en) Process procedure preparing and processing system
JP2720768B2 (en) Program customization equipment
JP3114884B2 (en) Fuzzy inference processing compilation system
JP2945753B2 (en) Information processing device
JPH1195991A (en) Customize method for screen processing program and recording medium therefor
JPS60167042A (en) Program editing device
JPH0388026A (en) Data processor
JPH03144832A (en) Symbolic debugging device for precompiler language program
JPH01273144A (en) Software development supporting device
JPS62293314A (en) Robot controller
JPH11272500A (en) Debug method and debug device for the same and program storage medium
JPH04165533A (en) Data information offering device
JPH02207343A (en) Debugging device
JPH0546434A (en) Program debugging system
JPS62235651A (en) Test data origination device
JPH04338841A (en) Debugger device
JPH01223567A (en) Document preparing device
JPH07244550A (en) Key sequence setting device
JPH01147624A (en) Language processing system
JPS62175819A (en) Automatic data input device
JPS6116343A (en) Debugging processing system using display