JPS59160238A - Supporting device for implementation of program correcting information - Google Patents

Supporting device for implementation of program correcting information

Info

Publication number
JPS59160238A
JPS59160238A JP58034784A JP3478483A JPS59160238A JP S59160238 A JPS59160238 A JP S59160238A JP 58034784 A JP58034784 A JP 58034784A JP 3478483 A JP3478483 A JP 3478483A JP S59160238 A JPS59160238 A JP S59160238A
Authority
JP
Japan
Prior art keywords
correcting information
program
computer system
information
correction information
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
JP58034784A
Other languages
Japanese (ja)
Inventor
Yukihisa Murata
幸久 村田
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 JP58034784A priority Critical patent/JPS59160238A/en
Publication of JPS59160238A publication Critical patent/JPS59160238A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To implement efficiently program correcting information by using an assembler language for correcting information, and executing a grammatical check of the correcting information, and an automatic management and an automatic assignment of a correcting information storing area. CONSTITUTION:A correcting information implementer 28 uses a keyboard and a display device of a terminal 21, implements correcting information, executing a grammatical check, etc. of the correcting information conversationally to a computer system 24, and inputs it to the computer system 24. Also, an applied test, etc. are also displayed on the display device so that they can be confirmed. The implemented correcting information is converted to a document by a hard copy device and outputted. A supporting program 23 offers four functions to the correcting information implementer 28. They are an editing function, an applied test function, an application function and a printing function. By a series of these procedures, the implementer 28 can implement the correcting information.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、連係編集済みのプログラムに対する修正情
報を効率良く、かつ高い信頼性で作成できるよう支援す
るプログラム修正情報作成支援装置ζ二関するものであ
る。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a program modification information creation support device ζ2 that supports the creation of modification information for a link-edited program efficiently and with high reliability. be.

〔従来技術〕[Prior art]

従来この種の処理を行うには、修正情報作成者が、修正
情報を適用プログラムに対するデータとして用意し、ジ
ョブ制御ステートメント中に組込んでバッチジョブ(b
atch job )として計算機システム(二よって
実行していた。従って、この種の処理を行うためのシス
テム構成は通常の計算機システムと修正情報を含んだジ
ョブ制御ステートメントとになる〇 第1図はジョブ制御ステートメントの一例を示す説明図
でおる。図において、(1)は修正情報適用プログラム
名が5PZAPであることを示し、(2)はうイブラリ
の指定を行い、(3)は出力装置の指定を行う。適用プ
ログラム5PZAPは第1図に符号任0)で示す部分を
修正情報として入力し、これを計算機システムで実行す
るのであるが、Uυでは修正対象のプログラム名がPR
O1であることが示されており、aりはPROIという
プログラムの相対アドレス0124番地(アドレスは1
6進数で示す。PROIの先頭アドレスは定まっている
ので相対アドレスを与えると記憶装置から当該アドレス
のデータを読出すことができる)の内容が16進数で1
815であるかどうかをチェックすることを指示する。
Conventionally, to perform this type of processing, the correction information creator prepares the correction information as data for the application program, incorporates it into the job control statement, and executes the batch job (b
atch job) was executed by a computer system (2). Therefore, the system configuration for performing this type of processing is a normal computer system and a job control statement that includes modification information. Figure 1 shows the job control This is an explanatory diagram showing an example of a statement. In the diagram, (1) indicates that the modification information application program name is 5PZAP, (2) specifies the library to be crawled, and (3) specifies the output device. In the application program 5PZAP, the part indicated by the symbol 0) in Figure 1 is input as correction information and executed on the computer system, but in Uυ, the name of the program to be corrected is PR.
It is shown that it is O1, and a is the relative address 0124 of the program called PROI (address is 1
Shown in hexadecimal. Since the start address of PROI is fixed, if you give a relative address, you can read the data at that address from the storage device).
815.

1つのアドレス位置には1′バイトのデータが記憶され
ており、1バイトのデータでは2桁の16進数を構成す
るので、1815のように4桁の16進数を読出すC二
は相対アドレス0124番地とこれに続く相対アビレフ
0125番地の2バイトのデータを読出しこれが181
5であるかどうかをチェックすることを意味する。もし
1815でなければ此処で処理が打切られるが、181
5である場合は次の処理に進む@符号α鴎で示した次の
処理は相対アドレス0124番地と0125番地の内容
に16進数で1825を書込むことを指示している。し
たがって(I3、ulが実行されると相対アドレス01
24番地と0125番地の内容は1815から1825
1−修正される。
One address location stores 1' byte of data, and 1 byte of data constitutes a 2-digit hexadecimal number, so C2, which reads a 4-digit hexadecimal number such as 1815, is a relative address of 0124. Read the 2-byte data of the address and the following relative Abiref address 0125 and this is 181
This means checking whether it is 5 or not. If it is not 1815, processing will be terminated here, but 181
If the value is 5, proceed to the next process. The next process indicated by the @ sign α 純 instructs to write 1825 in hexadecimal to the contents of relative addresses 0124 and 0125. Therefore, when (I3, ul is executed, the relative address 01
The contents of addresses 24 and 0125 are 1815 to 1825.
1 - Modified.

符号■以下の処理は修正情報格納域を利用した修正例で
あって、α4は相対アドレス0128 、0129゜0
12A 、 012Bの4バイトの内容が4770 、
 B124であるか否かをチェックすることを指示し、
Q51はこの位iへ47FO、C240を書込むことを
指示する。
The process below is an example of modification using the modification information storage area, and α4 is relative address 0128, 0129°0.
The contents of 4 bytes of 12A and 012B are 4770,
Instructing to check whether it is B124,
Q51 instructs to write 47FO, C240 to this location i.

これが実行されると相対アドレス0128〜012Bの
内容を読出すと修正情報格納域に無条件分岐すべきこと
を指示される結果になる。
When this is executed, reading the contents of relative addresses 0128-012B results in an instruction to unconditionally branch to the modification information storage area.

符号161の相対アドレス1242は修正情報格納域内
のアドレスであるが、符号(161の指示する処理は相
対アドレス1242 、1243 、1244 、12
45の4バイトが未使用であることを確認することを意
味し、符号(17)は相対アドレス1246 、124
7 、1248 、1249の4バイトに16進数で4
770 、 B124を香込むことを指示する。符号叫
以下も同様である。
The relative address 1242 of the code 161 is an address within the correction information storage area, but the process indicated by the code (161) is the relative address 1242, 1243, 1244, 12
It means to confirm that 4 bytes of 45 are unused, and the code (17) is relative address 1246, 124
4 bytes of 7, 1248, 1249 in hexadecimal
770, instructs to perfume with B124. The same goes for the code and the following.

以上のように、従来の装置では、修正情報作成者がジョ
ブ制御ステートメントを作成する場合、修正情報の内容
を機械語で記述しなければならず、かつ修正情報格納域
を使用するにあたりその使用状況を管理しその割付けを
行なわねばならぬので、修正情報作成(二かかる手間も
多く、信頼性も低いという欠点があった。  − 〔発明の概粟〕 この発明は上記のような従来のものの欠点を除去するた
めになされたもので、修正情報をアセンブラ言語を使用
して入力することを可能にし、操作向においても修正情
報の文法よのチェック、適用テスト等を修正情報作成者
と計算機システムとの間で会話的に行え、るようC二し
、カップログラム内にある修正情報格納領域の自動管理
、自動割付けを可能にして、効率的に修正情報が作成で
きるプログラム修正情報作成支援装置を提供するもので
ある。
As described above, in conventional devices, when a correction information creator creates a job control statement, he must write the contents of the correction information in machine language, and when using the correction information storage area, he must write the contents of the correction information in machine language. Since it is necessary to manage and allocate the correction information, it takes a lot of time and effort to create correction information, and has the drawbacks of low reliability. This was done in order to eliminate the correction information, and allows correction information to be entered using assembler language, and allows the user to check the grammar of the correction information, perform application tests, etc. between the correction information creator and the computer system. Provides a program correction information creation support device that allows for efficient creation of correction information by enabling automatic management and automatic allocation of correction information storage areas within a program. It is something to do.

〔発明の実施例〕[Embodiments of the invention]

以下、図面についてこの発明の詳細な説明する。第2図
はこの発明の一実施例を示す構成図で、(21)は表示
装置とキーボードとを備えた端末、(22)はハードコ
ピー装置、(23)は支援Yログラム、(24)は計算
機システムでCPU (25)と、記憶装置としてのメ
モリ(26)及びファイル(27)を含む。また(28
)は修正情報作成者である。
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 2 is a block diagram showing an embodiment of the present invention, in which (21) is a terminal equipped with a display device and a keyboard, (22) is a hard copy device, (23) is a support Y program, and (24) is a terminal equipped with a display device and a keyboard. The computer system includes a CPU (25), memory (26) as a storage device, and files (27). Also (28
) is the creator of the revised information.

修正情報作成者(28)は端末(21)のキーボードと
表示装置とを用いて、計算機システム(24)との間で
会話的に修正情報の文法上のチェック等を行いながら修
正情報を作成して計算機システム(24)に入力するこ
とができ、ま声その適用テスト等をも表示装置に表示し
て確認することができる。構成した修正情報はハードコ
ピー装置により文書化して出力される。       
 、 支援プログラム(23)は修正情報作成者(28)に4
つの機能を提供する。それは修正情報の編集機能、適用
テスト機能、適用機能、プリント機能である。
The revised information creator (28) uses the keyboard and display device of the terminal (21) to create revised information while interactively checking the grammar of the revised information with the computer system (24). can be inputted into the computer system (24), and the application test etc. can also be displayed on the display device for confirmation. The configured modification information is output as a document using a hard copy device.
, the support program (23) is 4 to the correction information creator (28).
provides two functions. These are a correction information editing function, an application test function, an application function, and a print function.

作成者(28)は編集、テスト、適用、プリント等一連
の手順を行って修正情報を作成することができる。
The creator (28) can create modified information by performing a series of procedures such as editing, testing, applying, and printing.

第3図は修正情報の一例を示す説明図であって、符号(
31)はSgLECT文ζ二よって第1図の(11)と
同じく適用対象プログラムを指定している。(32)の
MACRO文ではこの修正情報で参照されるマクロはマ
クロライブラリUTS中のマクロABCであることを示
している。(33) 、 (34)の5ETBASE文
ではアドレス作成のための情報を格納するベースレジス
タにどのような情報を書込むかを指定する。(33)で
はベースレジスタにPROIというシンボルが持つアド
レス+6をセットし、(34)ではベースレジスタにP
H10というシンボルが持つアドレス+10をセットす
ることを指示している。
FIG. 3 is an explanatory diagram showing an example of modification information, and is indicated by the symbol (
31) specifies the applicable program using the SgLECT statement ζ2 in the same way as (11) in FIG. The MACRO statement in (32) indicates that the macro referenced by this correction information is macro ABC in the macro library UTS. The 5ETBASE statements (33) and (34) specify what information is to be written to the base register that stores information for creating addresses. In (33), set the address +6 of the symbol PROI in the base register, and in (34) set the address of the symbol PROI in the base register.
It instructs to set the address of the symbol H10 +10.

(35) 、 (36)のSETARgA文では修正情
報格納域とそれを使用するための記号を関連付けている
。ここでPATCH1、PATCH2というシンボルは
修正情報格納域の制御語であり、格納域内の次に利用で
きるアドレスと空き領域のサイズを管理している。
The SETARgA statements (35) and (36) associate the modification information storage area with the symbol for using it. Here, the symbols PATCH1 and PATCH2 are control words for the modification information storage area, and manage the next available address and the size of the free area within the storage area.

第4図は修正情報格納域の管理を示す図で、図に式す例
ではPATCHI 、 PATCI−42+二対し、そ
れぞれ修正情報格納域A (51)と8 (52)とを
有し、(53)で示す位置には格納域A (51)内の
空き領域の先頭番地の情報(ポインタ)と格納域A (
51)の残りのサイズが記憶されており、(54)で示
す位置には格納域B (52)内の空き領域へのポイン
タと格納域B(52)の残りのサイズが記憶されている
。したがって、たとえば格納域A (51)へ新(二N
バイトのデータが格納されたとすると、プログラム制御
(−よって(53)のポインタの数値にはNが加算され
Aの残りのサイズからはNが減算され、このようC二し
て・修正情報格納域A (51) 、 B (52)が
自動管理され、第1図(17) 、 (18)に示すよ
うに修正データを格納すべき相対アドレスを修正情報作
成者(28)が決定する必要はなくなる〇 第3図の符号(37)以降で/で始まっている文は/ア
ドレス/変更内容(以前の内容)/という形式になって
アセンブラ言語で記述されている。以前の内容はチェッ
クしない場合不要であるo@。
FIG. 4 is a diagram showing the management of modification information storage areas. In the example shown in the figure, PATCHI and PATCI-42+2 have modification information storage areas A (51) and 8 (52), respectively, and (53). ) is the information (pointer) of the start address of the free area in storage area A (51) and storage area A (51).
The remaining size of storage area B (51) is stored, and a pointer to the free area in storage area B (52) and the remaining size of storage area B (52) are stored in the position shown by (54). Therefore, for example, a new (2N
Assuming that a byte of data is stored, program control (- Therefore, N is added to the value of the pointer in (53) and N is subtracted from the remaining size of A, and in this way, C2 is used as the modification information storage area. A (51) and B (52) are automatically managed, and there is no need for the correction information creator (28) to determine the relative address where the correction data should be stored, as shown in FIG. 1 (17) and (18). 〇The sentences starting with / starting from code (37) in Figure 3 are written in assembler language in the format /address/changed content (previous content)/.The previous content is unnecessary if not checked. It is o@.

チはそれぞれ第4図(53) 、 (54)のポインタ
を示し、すなわち、修正情報格納域内で次に利用可能な
領域のアドレスを示している。
4 (53) and (54), respectively, indicating the address of the next available area within the modification information storage area.

(40)で条件設定を行っている。すなわちPROIと
いうシンボルが持つアドレス+300 (16進)番地
の内容が0かどうかをチェックし、もしOでなければ(
44)までの処理は行われない。
Conditions are set in (40). In other words, check whether the contents of the address +300 (hexadecimal) address of the symbol PROI is 0, and if it is not O (
The processes up to 44) are not performed.

(45)は修正情報内で内部的じ用いるシンボルの定義
文である。(46)では(45)で定義したシンボルを
用いている。
(45) is a definition statement of a symbol used internally within the modification information. (46) uses the symbol defined in (45).

第5図は支援プログラム(23)の適用機能を示す流れ
図で、(61)〜(68)及び(601)〜(605)
はそれぞれのステップを示す。ステップ(61)では第
3図5ELECT文(31)で定められるプログラムを
読込み、(62)ではMACRO文(32)で定められ
るマクロUTS(ABC)を読込み、(63)ではベー
スレジスタテーブルの設定を行っている。(64)では
修正情報格納域を設定する。これは第4図(53) 、
 (54)に初期値を設定することである0ステツプ(
66)で修正内容の作成を行うが、この際最も小さな偏
位となるようにベースレジスタを選択する時にステップ
(63)で設定したベースレジスタテーブルを利用する
。ステップ(64)で設定された修正情報格納域と記号
はステップ(65)等のアドレス計算時に使用される。
FIG. 5 is a flowchart showing the application functions of the support program (23), including (61) to (68) and (601) to (605).
indicates each step. Step (61) reads the program defined by the ELECT statement (31) in Figure 3, step (62) reads the macro UTS (ABC) defined by the MACRO statement (32), and (63) sets the base register table. Is going. In (64), a modification information storage area is set. This is shown in Figure 4 (53),
The 0 step (54) is to set the initial value to
In step 66), the correction contents are created, and at this time, the base register table set in step (63) is used to select the base register so as to have the smallest deviation. The correction information storage area and symbol set in step (64) are used during address calculation in step (65) and the like.

なお、上記実施例ではベースレジスタを使用してアドレ
ス計算を行うプログラムについて説明したが、ベースレ
ジスタを使用しないプログラムについては、アドレス計
算方法の変更を加え、ベースレジスタ関連の機能を削除
することで実現できる。
Although the above example describes a program that uses the base register to calculate addresses, programs that do not use the base register can be realized by changing the address calculation method and removing functions related to the base register. can.

〔発明の効果〕 □ 以上のようにこの発明によれば、プログラムの修正情報
作成を効率良く行えるので、修正情報作成のための費用
を削減することができ、しかも信頼性の高いものが得ら
れる効果がある。
[Effects of the Invention] □ As described above, according to the present invention, program modification information can be created efficiently, the cost for creating modification information can be reduced, and highly reliable products can be obtained. effective.

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

第1図は従来の装置において用いるジョブ制御ステート
メントの説明図、第2図はこの発明の一実施例を示す構
成図、第3図はこの発明の装置によって作成した修正情
報の説明図、第4図は修正情報格納域の管理を示す図、
第5図は支援プログラムの適用機能を示す流れ図である
。 (21)・・・端末、(22)・・・ハードコピー装置
、(23)・・・支援プログラム、(24)・・・計算
機システム、(32)。 (33) 、 (34) 、 (40) 、 (45)
・・・アセンブラ言語レベルでの入力例、(35) 、
 (36)・・・修正情報格納域の自動割付は手段、(
53) 、 (54)・・・修正情報格納域内の空き領
域へのポインタと残りのサイズ。 代理人  葛 野 信 − 寸0ψト替
FIG. 1 is an explanatory diagram of a job control statement used in a conventional device, FIG. 2 is a configuration diagram showing an embodiment of the present invention, FIG. 3 is an explanatory diagram of correction information created by the device of the present invention, and FIG. The figure shows the management of the correction information storage area.
FIG. 5 is a flowchart showing the application function of the support program. (21)...Terminal, (22)...Hard copy device, (23)...Support program, (24)...Computer system, (32). (33), (34), (40), (45)
...Input example at the assembler language level, (35),
(36)...The automatic allocation of the modification information storage area is the means (
53), (54)... Pointer to free space in the modification information storage area and remaining size. Agent Makoto Kuzuno - 0ψ exchange

Claims (1)

【特許請求の範囲】[Claims] CPUと記憶装置とを有する計算機システムと、キーボ
ードと表示装置とを備え、上記計算機システムとその使
用者との間の会話的入出力処理を行うことができる端末
と、上記記憶装置内C二格納され、修正の対象となる連
係編集済みのプログラムと、上記記憶装置内に格納され
、上記端末から上記計算機システムにアセンブラ言語レ
ベルで入力された修正情報に対し、編集、適用テスト、
適用及びプリント処理を制御する支援プログラムと、上
記記憶装置内に設けられる修正情報格納域の1つ又は2
つ以上の領域と、それぞれの修正情報格納域内の空き領
域へのポインタと当該領域の残りのサイズを記憶し、当
該修正情報格納域への書込みに際し自動割付けを行い、
かつ上記のポインタと残りのサイズの記憶を自動更新す
る手段と、上記支援プログラムの制御により作成した修
正情報を文書化するためのハードコピー装置とを備えた
プログラム修正情報作成支援装置。
A computer system having a CPU and a storage device, a terminal having a keyboard and a display device and capable of performing interactive input/output processing between the computer system and its user, and a C2 storage in the storage device. Editing, application testing,
A support program that controls application and print processing, and one or two of the correction information storage areas provided in the storage device.
1 or more areas, a pointer to a free area in each modification information storage area, and the remaining size of the area, and performs automatic allocation when writing to the modification information storage area,
and a means for automatically updating the storage of the pointer and remaining size, and a hard copy device for documenting the correction information created under the control of the support program.
JP58034784A 1983-03-03 1983-03-03 Supporting device for implementation of program correcting information Pending JPS59160238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58034784A JPS59160238A (en) 1983-03-03 1983-03-03 Supporting device for implementation of program correcting information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58034784A JPS59160238A (en) 1983-03-03 1983-03-03 Supporting device for implementation of program correcting information

Publications (1)

Publication Number Publication Date
JPS59160238A true JPS59160238A (en) 1984-09-10

Family

ID=12423900

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58034784A Pending JPS59160238A (en) 1983-03-03 1983-03-03 Supporting device for implementation of program correcting information

Country Status (1)

Country Link
JP (1) JPS59160238A (en)

Similar Documents

Publication Publication Date Title
JP4319082B2 (en) Programming system
CN110941471A (en) Method and device for internationalizing basic data of software system
JPS59160238A (en) Supporting device for implementation of program correcting information
JP2000163109A (en) Ladder programming device and its method
JPH113105A (en) Programming device for programmable controller
JP4362777B2 (en) Programming device, symbol automatic registration method, program, and recording medium
JP2604066B2 (en) Text file correction storage method
CN117669502A (en) Method, device and equipment for removing notes and printing sentences in webpage
Cowling et al. MICROSIM as a teaching aid
JPS6310239A (en) Patch production system for high-level language
JPH05282011A (en) Automatic allocating and granting device for pc address
CN114880986A (en) Method for quickly generating global configuration component
JP2001022817A (en) Automatic generation device of logic circuit
JPH11184680A (en) File editing method, method and device for developing program using the same, and storage medium
JPH02162420A (en) Fetching process system for option program
Rottmann MIKADO-a system for computer aided microprogram design
JPH05127890A (en) Option data setting device
JPS60134335A (en) Printing method of source program
JPH01205335A (en) Machine language patching system by screen image correction
JPH11110202A (en) Automatic job control language preparation method
JPH09185499A (en) Method and device for generating interactive program
JPS63187369A (en) System for supporting development of picture display program by batch job
JPH07230377A (en) Software resource management system
JPH07200478A (en) Automatic generation device for computer alarm format
JPS6277656A (en) Program debugging system