JPS63292326A - Editing output system for assemble list - Google Patents

Editing output system for assemble list

Info

Publication number
JPS63292326A
JPS63292326A JP62130138A JP13013887A JPS63292326A JP S63292326 A JPS63292326 A JP S63292326A JP 62130138 A JP62130138 A JP 62130138A JP 13013887 A JP13013887 A JP 13013887A JP S63292326 A JPS63292326 A JP S63292326A
Authority
JP
Japan
Prior art keywords
list
source program
assemble
editing
page
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
JP62130138A
Other languages
Japanese (ja)
Inventor
Kenichi Murakami
健一 村上
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 JP62130138A priority Critical patent/JPS63292326A/en
Publication of JPS63292326A publication Critical patent/JPS63292326A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To prevent omission in confirmation of correction positions by selecting a page including a statement as the correction object in an assemble list stored in a storage means. CONSTITUTION:A list output part 24 starts the operation each time when an assemble list 400 is generated in a page image list storage part 23 by a list editing part 22. That is, it is decided in accordance with information stored in a list output control information part 21 whether only pages including correction statements are outputted by output of all pages. It is decided whether correction statements are included in the page image stored in the page image list storage part 23 or not, and contents of the page image list storage part 23 including correction statements are outputted as a part (page) of the assemble list 400 if the page image includes correction statements, and the processing of the list output part 24 is terminated. Since the assemble list 400 is edited and outputted in this manner, and only pages including statements as the correction object in the assemble list 400 are edited and outputted, correction positions are confirmed without an omission.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理システムにおけるアセンブルリスト
の編集出力方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an editing and outputting method for an assemble list in an information processing system.

〔従来の技術〕[Conventional technology]

従来、ソースプログラムの修正箇所の確認は、修正前の
ソースプログラムに対応し修正箇所をメモしたアセンブ
ルリストと修正後のアセンブルリストとを比較照合する
方法を採っていた。
Conventionally, the corrected parts of a source program have been confirmed by comparing an assemble list that corresponds to the source program before the correction and notes the corrected parts with an assemble list after the correction.

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

上記のようなソースプログラムの修正箇所の確認方法は
、ソースプログラムが小さく修正箇所が少なければあま
り不便さを感じないが、ソースプログラムが大きく修正
箇所が多いと、修正後のアセンブルリストでの修正箇所
の頁位置および命令文の通し番号は修正前のアセンブル
リストと一致していないことが普通であり修正後のアセ
ンブルリストで修正箇所を見つけるのに手間がかかる。
The above method of checking the modified parts of a source program is not very inconvenient if the source program is small and there are few modified parts, but if the source program is large and has many modified parts, the modified parts will be displayed in the assemble list after modification. Usually, the page positions and serial numbers of the command statements do not match those of the assemble list before modification, and it takes time to find the modified part in the assemble list after modification.

また、端末装置から入力される1個の指令言語によって
、1個以上の命令文を同頁にも渡って変更する場合など
は、修正前のアセンブルリストにも修正箇所をメモして
置かないことがあるため、修正箇所の確認漏れなどとな
る欠点がある。
Also, when changing one or more command statements on the same page depending on one command language input from a terminal device, do not write down the modified parts in the assemble list before modification. Because of this, there are drawbacks such as failure to check the parts to be corrected.

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

上記従来技術の問題点を解決する本発明のアセンブルリ
ストの編集出力方式は、外部記憶装置に記憶されるソー
スプログラムの命令文毎に対応して変更・追加・削除を
表す修正区分欄を付加して有し、ソースプログラムの修
正時に修正対象となった命令文毎に持つ修正区分欄に変
更・追加・削除のうち該当する区分を書込む手段と、修
正されなかった命令文のそれぞれの修正区分欄をクリア
する手段と、修正後のソースプログラムに対するアセン
ブルリストに出力される命令文毎に対応する修正区分欄
の内容も一緒に編集する手段と、前記編集されたアセン
ブルリストを頁単位で記憶する手段と、前記頁単位に記
憶されたアセンブルリスト中で修正対象となった命令文
を含む頁だけを選択出力する手段とを備えるように構成
されている。
The assemble list editing and outputting method of the present invention that solves the above-mentioned problems of the prior art adds a modification classification field indicating changes, additions, and deletions to each instruction statement of a source program stored in an external storage device. means for writing the applicable classification among changes, additions, and deletions in the modification classification field for each instruction statement that is subject to modification when modifying the source program, and the modification classification for each instruction statement that was not modified. means for clearing the column; means for editing the contents of the correction classification column corresponding to each instruction statement output to the assemble list for the corrected source program; and storing the edited assemble list on a page-by-page basis. and means for selectively outputting only the page containing the instruction sentence to be corrected in the assemble list stored on a page-by-page basis.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図においてエディタサブシステム1は、アセンブラ
言語で記述されたソースプログラムが記憶されている外
部記憶の旧ソースプログラムファイル100を入力とし
て、端末装置200から入力されている指令言語(命令
文の変更・追加・削除)に従って旧ソースプログラムフ
ァイル100を修正し修正後の内容を外部記憶の新ソー
スプログラムファイル110に出力するエディタ制御部
10と、エディタ制御部10が旧ソースプログラムファ
イル100を入力する過程で命令文毎に持つ修正区分欄
(命令文の変更・追加・削除を表す)の内容をクリアす
る修正区分消去部11と、エディタ制御部10が旧ソー
スプログラムファイル100の修正後の内容を新ソース
プログラム110に出力する過程で端末装置200から
入力される指令言語を解釈して得た修正区分を修正され
た命令文欄に書き込む修正区分書込部12とから構成さ
れている。このように構成されたエディタサブシステム
1によって出力された新ソースプログラムファイル11
0内のソースプログラムは第3に示す概念図のように命
令文110−a毎に対応して修正区分l!11100−
bを持ち、その内容は、変更命令文に対しては“R”、
追加命令文に対しては“A”、削除命令文の直後の命令
文に対しては“D”、未修正の命令文に対しては空白と
なっている。
In FIG. 1, an editor subsystem 1 inputs an old source program file 100 in external storage in which a source program written in an assembler language is stored, and inputs a command language (change of instruction statement) input from a terminal device 200.・The editor control unit 10 modifies the old source program file 100 according to (additions and deletions) and outputs the modified contents to the new source program file 110 in external storage, and the process in which the editor control unit 10 inputs the old source program file 100. The modification classification erasing unit 11 clears the contents of the modification classification field (representing changes, additions, and deletions of command statements) that is provided for each instruction statement, and the editor control unit 10 clears the contents of the modification classification column (indicating changes, additions, and deletions of the instruction statement) for each instruction statement, and the editor control unit 10 clears the contents of the old source program file 100 after modification. It is comprised of a modification classification writing section 12 that writes a modification classification obtained by interpreting the command language input from the terminal device 200 in the modified command text field in the process of outputting it to the source program 110. New source program file 11 output by the editor subsystem 1 configured in this way
As shown in the conceptual diagram shown in the third diagram, the source program in 0 is modified according to each instruction statement 110-a. 11100-
b, and its contents are “R” for the change command statement,
It is marked "A" for an added command sentence, "D" for a command sentence immediately after a deleted command sentence, and blank for an unmodified command sentence.

アセンブラ2は、エディタサブシステム1によって出力
された新ソースプログラム110を入力としてオブジェ
クトプログラムを外部記憶のオブジェクトプログラムフ
ァイル300に出力するとともに新ソースプログラムフ
ァイル110に対するアセンブルリスト400を編集出
力するための制御を行うアセンブラ制御部20と、アセ
ンブルリスト400の編集出力に関連する情報(全頁の
出力か、修正文を含む頁だけの出力かなどのオプション
)が予め保持されているリスト出力制御情報部21と、
新ソースプログラムファイル110での命令文毎に持つ
修正区分欄の内容も表示する形式で編集し勝つその編集
結果を頁イメージリスト記憶部23に記憶するリスト編
集部22と、アセンブルリスト400を出力する過程の
頁ごとの内容(頁イメージ)が一時的にリスト編集部2
2によって編集しつつ記憶される頁イメージリスト記憶
部23と、イメージ記憶部23内にアセンブルリスト4
00の頁イメージが作成される度にリスト出力制御情報
部21に記憶されている情報に従ったアセンブルリスト
400を出力するリスト出力部24とから構成されてい
る。
The assembler 2 receives the new source program 110 output by the editor subsystem 1 as input, outputs the object program to an object program file 300 in external storage, and also controls for editing and outputting the assemble list 400 for the new source program file 110. an assembler control unit 20 to perform the editing, and a list output control information unit 21 in which information related to the editing output of the assemble list 400 (options such as whether to output all pages or output only pages containing modified text) is stored in advance. ,
A list editing section 22 edits the new source program file 110 in a format that also displays the contents of the modification classification field that is provided for each command statement, and stores the editing results in the page image list storage section 23, and outputs an assemble list 400. The contents of each page of the process (page image) are temporarily displayed in the list editing department 2.
2 and an assemble list 4 stored in the image storage section 23.
The list output section 24 outputs an assembly list 400 according to the information stored in the list output control information section 21 every time a page image of 00 is created.

第2図は、リスト出力部24の処理概要の流れ図である
。リスト出力部24は、リスト編集部22によってアセ
ンブルリスト400の頁イメージリスト記憶部23内に
作成される度に作動開始する。まづ、ステップ241に
おいて、リスト出力制御情報部21に記憶されている情
報から全頁出力か修正命令文を含む頁だけの出力かを判
定され、全頁出力であればステップ243の動作へ、修
正命令文を含む頁だけの出力であればステップ242の
判定を行う。ステップ241において、頁イメージリス
ト記憶部23内に記憶されている頁イメージに修正命令
文(修正区分欄の内容が空白以外の命令文)を含んでい
るかが判定され、修正命令文を含んでいなければ頁イメ
ージリスト記憶部23の内容は出力されないままリスト
出力部24の処理は終了する(次の頁イメージ編集に動
作が進む)。また反対に、修正命令文を含んでいれば次
のステップ243の動作を行う。ステップ242におい
て修正命令文を含んでいる頁イメージリスト記憶部23
の内容をアセンブルリスト400の一部(頁)として出
力し、リスト出力部24の処理を終了する。そして、次
の頁イメージ編集に動作が進む。
FIG. 2 is a flowchart outlining the processing of the list output unit 24. The list output section 24 starts operating every time the list editing section 22 creates an assemble list 400 in the page image list storage section 23 . First, in step 241, it is determined from the information stored in the list output control information unit 21 whether all pages are to be output or only the pages containing the correction command sentences are to be output, and if all pages are to be output, the process proceeds to step 243; If only the page containing the modified command sentence is to be output, a determination is made in step 242. In step 241, it is determined whether the page image stored in the page image list storage unit 23 includes a modification command sentence (command sentence whose contents in the modification classification field are other than blank), and whether the page image stored in the page image list storage unit 23 contains a modification command sentence is determined. If not, the processing of the list output section 24 ends without outputting the contents of the page image list storage section 23 (the operation proceeds to the next page image editing). On the other hand, if the modified instruction sentence is included, the next step 243 is performed. In step 242, the page image list storage unit 23 containing the correction instruction sentence
The content of is output as a part (page) of the assemble list 400, and the processing of the list output unit 24 is ended. The operation then proceeds to the next page image editing.

このように構成されたアセンブラ2によって編集出力さ
れたアセンブルリストでは、修正区分により、変更命令
文に対しては“R”、追加命令文に対しては“A”、削
除命令文の直後の命令文に対しては“D”がそれぞれ表
示されており、また、修正文を含む頁だけを選択して出
力できる。
In the assemble list edited and output by the assembler 2 configured in this way, according to the modification classification, "R" is used for change commands, "A" is used for addition commands, and the command immediately after the deletion command is "D" is displayed for each sentence, and only the pages containing the corrected sentences can be selected and output.

尚、本発明の方式は、高級言語で記述されたソースプロ
グラムを翻訳するコンパイラにも適用できる。
Note that the method of the present invention can also be applied to a compiler that translates a source program written in a high-level language.

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

以上説明したように本発明は、アセンブルリストを編集
出力するようにし、またアセンブルリストの中で修正対
象となった命令文を含む頁だけを編集出力できるため、 ■修正区分の表示によって、修正箇所が漏れることなく
確認できる。
As explained above, according to the present invention, the assemble list can be edited and output, and only the pages that include the instruction statement to be modified in the assemble list can be edited and output. can be confirmed without leaking.

■アセンブルリスト出力用紙が削減される。■Assemble list output paper is reduced.

■全アセンブルリスト出力に比ベラインプリンタへの出
力時間が短縮される。
■Output time to a Verine printer is reduced compared to outputting all assemble lists.

という効果がある。There is an effect.

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

第1図は本発明の一実施例を示すブロック図、第2図は
リスト出力部24の処理概要の流れ図。 第3図はソースプログラムの命令文の修正区分との対応
を示す概念図である。 図において、1・・・エディタサブシステム、2・・・
アセンブラ、10・・・エディタ制御部、11・・・修
正区分消去部、12修正区分書込部、20・・・アセン
ブラ制御部、21・・・リスト出力制御情報部、22・
・・リスト編集部、23・・・頁イメージリスト記憶部
、24・・・リスト出力部、100・・・旧ソースプロ
グラムファイル、110・・・新ソースプログラムファ
イル、200・・・端末装置、300・・・オブジェク
トプログラムファイル、400・・・アセンブルリス(
こ。 # 2 聞 芽 3WJ
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flowchart outlining the processing of the list output unit 24. FIG. 3 is a conceptual diagram showing the correspondence between the instruction statements of the source program and the modification categories. In the figure, 1... editor subsystem, 2...
Assembler, 10... Editor control section, 11... Modified section erasing section, 12 Modified section writing section, 20... Assembler control section, 21... List output control information section, 22.
... List editing section, 23... Page image list storage section, 24... List output section, 100... Old source program file, 110... New source program file, 200... Terminal device, 300 ...object program file, 400...assembly list (
child. #2 Monme 3WJ

Claims (1)

【特許請求の範囲】[Claims] 端末装置から入力される指令言語に従って外部記憶装置
に記憶されているアセンブラ言語で記述されたソースプ
ログラムを修正するエディタサブシステムおよび該エデ
ィタサブシステムによる修正後の前記ソースプログラム
に対応するオブジェクトプログラムを生成するとともに
前記ソースプログラムと前記オブジェクトプログラムと
の対応を示すアセンブルリストを編集出力するアセンブ
ルリストの編集出力方式において、前記外部記憶装置に
記憶される前記ソースプログラムの命令文毎に対応して
変更・追加・削除の修正区分を表す修正区分欄を持ち、
前記エディタサブシステムによる前記ソースプラグラム
の修正時に当該修正時の修正対象となった命令文毎に対
応する前記修正区分欄に変更・追加・削除のうち該当す
る区分を書込む手段と、前記修正時に修正されなかつた
命令文毎に対応する前記修正区分欄の内容をクリアする
手段と、前記エディタサブシステムによる修正後の前記
ソースプログラムに対する前記アセンブルリストを編集
出力するとともに当該修正時の修正対象となった命令文
毎に対応する前記修正区分欄の内容も編集出力する手段
と、前記編集出力手段により編集された前記アセンブル
リストを頁単位に記憶する手段と、前記記憶手段に記憶
された前記アセンブルリストの中で修正対象となった命
令文を含む頁を選択する手段とを含むことを特徴とする
アセンブルリストの編集出力方式。
An editor subsystem that modifies a source program written in assembler language stored in an external storage device according to a command language input from a terminal device, and generates an object program corresponding to the source program modified by the editor subsystem. At the same time, in the assemble list editing and outputting method of editing and outputting an assemble list showing the correspondence between the source program and the object program, changes and outputs are made corresponding to each instruction statement of the source program stored in the external storage device. It has a correction category column that shows the correction category of additions and deletions,
means for writing a corresponding classification among changes, additions, and deletions into the modification classification column corresponding to each instruction statement that is a target of modification at the time of modification of the source program by the editor subsystem; means for clearing the contents of the modification category column corresponding to each unmodified instruction statement; and means for editing and outputting the assemble list for the source program after modification by the editor subsystem, as well as for editing and outputting the assemble list for the source program modified by the editor subsystem. means for editing and outputting the contents of the correction category column corresponding to each command statement; means for storing the assemble list edited by the edit output means on a page-by-page basis; and the assemble list stored in the storage means. 1. A method for editing and outputting an assemble list, comprising: means for selecting a page including a command sentence to be modified in the page.
JP62130138A 1987-05-26 1987-05-26 Editing output system for assemble list Pending JPS63292326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62130138A JPS63292326A (en) 1987-05-26 1987-05-26 Editing output system for assemble list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62130138A JPS63292326A (en) 1987-05-26 1987-05-26 Editing output system for assemble list

Publications (1)

Publication Number Publication Date
JPS63292326A true JPS63292326A (en) 1988-11-29

Family

ID=15026867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62130138A Pending JPS63292326A (en) 1987-05-26 1987-05-26 Editing output system for assemble list

Country Status (1)

Country Link
JP (1) JPS63292326A (en)

Similar Documents

Publication Publication Date Title
US5261103A (en) Method of and system for compiling source program
JPS63292326A (en) Editing output system for assemble list
JPS63289641A (en) Edition output system for assembling list
JPS63289642A (en) Edition output system for assembling list
JP3131432B2 (en) Machine translation method and machine translation device
JPH0157812B2 (en)
JPS63289643A (en) Edition output system for assembling list
JP2518157B2 (en) Method and device for generating revision history of program
JPS5969831A (en) Device for documentation
JPS63238638A (en) Editing and outputting system for assembly list
JPH03137727A (en) Editor with program explanation file generator function
JPS62217320A (en) List compilation processing system
JPS63289639A (en) Edition output system for assembling list
JPH05324289A (en) Device for automatically generating programming specification
JPS63289640A (en) Edition output system for assembling list
JPS61234434A (en) Program editing system
JPH01149162A (en) System for controlling syllable hyphen display and non-display
JPH04318662A (en) Selective outputting system for text data
JPH03171252A (en) Character processor
JPS62171068A (en) Document preparing device
JPH02238566A (en) Mechanical translating device
JPH08161376A (en) Drawing file editing system
JPH1031585A (en) Automatic programming generating system by inputting specification
JPH036660A (en) Shaping/editing system for english word document
JPH0315968A (en) Text editing device