JPS63289638A - Edition output system for assembling list - Google Patents

Edition output system for assembling list

Info

Publication number
JPS63289638A
JPS63289638A JP62125227A JP12522787A JPS63289638A JP S63289638 A JPS63289638 A JP S63289638A JP 62125227 A JP62125227 A JP 62125227A JP 12522787 A JP12522787 A JP 12522787A JP S63289638 A JPS63289638 A JP S63289638A
Authority
JP
Japan
Prior art keywords
source program
modification
time
list
date
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
JP62125227A
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 JP62125227A priority Critical patent/JPS63289638A/en
Publication of JPS63289638A publication Critical patent/JPS63289638A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To confirm the correcting positions of a source program without omission by means of a corrected assemble list by displaying a correcting section of an instruction sentence to be corrected and editing and correcting the page numbers of all pages as a list. CONSTITUTION:An editor subsystem 1 inputs a file 100 having a source program described by assembler language, corrects the file 100 based on command language outputted from a terminal equipment 200, outputs the corrected contents to a file 110, writes a correcting section obtained by interpreting the command language in a correcting section column for a corrected instruction sentence in the process, and writes a data read out from a timer device 300 in a correcting time column. An assembler 2 inputs the file 110, outputs an object program to a file 400 and edits and outputs an assemble list 500 displaying correcting sections and the page numbers of the whole pages including the corrected instruction sentence as a list. The assembling date in the file 120 is updated at the end of assembling and utilized for the discrimination of the instruction sentence to be corrected.

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 the modification, and it takes time to find the corrected part in the assemble list after the modification.

また、端末装置から入力される1個以上の命令文を何頁
にも渡って変更する場合などは、修正前のアセンブルリ
ストにも修正箇所をメモして置かないことがあるため、
修正箇所の確認潴れなどとなる欠点がある。
In addition, when changing one or more command statements input from a terminal device over several pages, the modified parts may not be noted down in the assemble list before modification.
There are drawbacks such as the need to confirm corrections.

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

上記従来技術の問題点を解決する本発明のアセンブルリ
ストの編集出力方式は、ソースプログラムが記憶される
外部記憶装置のソースプログラムファイルにこのソース
プログラムのアセンブルした日時を保持し且つソースプ
ログラムの命令文毎に対応して変更・追加・削除を表す
修正区分欄と修正した日時を表す修正日時制とを付加し
て有し、ソースプログラムの修正時に修正対象となった
命令文毎に持つ修正区文欄の内容と修正日時制の内容と
を書込む手段と、修正後のソースプログラムに対するア
セ/プルリストを編集出力する際に今回修正された命令
文の修正区分欄の内容も一緒に編集出力する手段と、ア
センブルリストの中で今回修正された命令文を含む頁を
選択する手段と、この選択によって選択された頁の頁番
号を逐次記憶して置く手段と、この記憶された頁番号を
アセンブルリストの一部として一覧表形式に編集出力す
る手段と、ソースプログラムファイルに保持される前記
アセンブルした日時を更新する手段とを備えるように構
成されている。
The assemble list editing and outputting method of the present invention that solves the above-mentioned problems of the prior art retains the date and time when the source program was assembled in the source program file of the external storage device in which the source program is stored, and also stores the instruction statement of the source program. A modification category column that indicates changes, additions, and deletions and a modification date/time system that indicates the date and time of modification are added for each instruction statement, and a modification section sentence that is included for each instruction statement that is subject to modification when the source program is modified. A means for writing the contents of the column and the contents of the modification date and time format, and when editing and outputting the assembly/pull list for the corrected source program, the contents of the modification classification column of the command statement that has been modified this time are also edited and output. means for selecting a page containing the currently modified command sentence in an assemble list; means for sequentially storing page numbers of pages selected by this selection; and means for assembling the stored page numbers. The program is configured to include means for editing and outputting a part of the list in the form of a list, and means for updating the assembled date and time held in the source program file.

〔実施例〕〔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の修正後の内容を新ソースプログラムフ
ァイル110に出力する過程で端末装置200から入力
される指令言語を解釈して得た修正区分を修正された命
令文の修正区分欄に書込むとともに時刻装置300から
読取った日時を同じく修正された命令文の修正日時制に
書込む修正情報書込部11とから構成されている。
In FIG. 1, the editor subsystem 1 receives as input an old source program file 100 in external storage in which a source program written in an assembler language is stored, and receives a command language (changing command statements, etc.) input from a terminal device 200. an editor control unit 10 that modifies the old source program file 100 according to additions, deletions, etc.) and outputs the modified contents to a new source program file 110 in an external storage device; In the process of outputting the contents of to the new source program file 110, the modification classification obtained by interpreting the command language input from the terminal device 200 is written in the modification classification field of the modified command statement and read from the time unit 300. and a modification information writing section 11 that writes the date and time into the modified date and time system of the similarly modified command sentence.

このように構成されたエディタサブシステム1によって
出力された新ソースプログラムファイル110内の今回
修正されたソースプログラムは第2図に示す概念図のよ
うに命令文110−aに対応する修正区分欄110−b
および修正日時制110−cを持ち、その修正区分欄1
10−bの内容は、変更命令文に対して“R′°、追加
命令文に対して”A″、削除命令文の直後の命令文に対
して°゛D′°が書込まれ、更に修正日時制110−c
の内容は、時刻装置300から読取った修正時の日時が
書込まれている。ただし、新ソースプログラムファイル
110内のアセンブル日時110−hの内容は、エディ
タサブシステム1によって変更されず、旧ソースプログ
ラムファイル100にあるアセンブル日時の内容と同じ
である。
The currently modified source program in the new source program file 110 output by the editor subsystem 1 configured in this way is displayed in the modification classification field 110 corresponding to the instruction statement 110-a, as shown in the conceptual diagram shown in FIG. -b
and modification date/time system 110-c, and its modification classification field 1
The contents of 10-b are: "R'° is written for the change command statement, "A" is written for the addition command statement, °゛D'° is written for the command statement immediately after the deletion command statement, and Modified date/time system 110-c
The date and time of the modification read from the time device 300 are written in the contents. However, the content of the assembly date and time 110-h in the new source program file 110 is not changed by the editor subsystem 1, and is the same as the content of the assembly date and time in the old source program file 100.

アセンブラ2は、エディタサブシステム1によって出力
された新ソースプログラムファイル110を入力として
オブジェクトプログラムを外部記憶のオブジェクトプロ
グラムファイル400に出力するとともに新ソースプロ
グラムファイル110内の今回修正された命令文に対応
する修正区分欄110−bの内容も表示する形式でアセ
ンブルリスト500を編集出力するアセンブラ制御部2
0と、アセンブル開始時に前回のアセンブル日時が保持
されている新ソースプログラムファイル110内のアセ
ンブル日時110−hの内容を読取り前回アセンブル日
時記憶部22に格納し且つアセンブル終了時に時刻装置
300から読取った日時で新ソースプログラムファイル
110内のアセンブル日時110−hを更新する(更新
後のソースプログラムファイルを新ソースプログラムフ
ァイル120として図示)アセンブル日時更新部21と
、アセンブルリスト500が編集出力される過程でアセ
ンブルリストの頁番号を逐次保持するリスト頁カウンタ
23と、アセンブルリスト500の中で今回修正された
命令文が存在する頁の頁番号を記憶しておく修正頁番号
記憶部25と、命令文毎に対応する修正日時制110−
c内の日時と前回アセンブル日時22内の日時とを比較
し修正命令文(修正日時制110−c内の日時が前回ア
センブル日時22内の日時より新しい日時の命令文)で
あればこのときリスト頁カウンタ23が示す頁番号を修
正頁番号記憶部25に(同一頁番号に対し1個)を記憶
する修正頁選択部24と、アセンブルリスドラ00出力
後に修正頁番号記憶部25の内容を修正頁番号リスト5
10として一覧表形式で編集出力する修正頁番号リスト
出力部26とから構成されている。このように構成され
たアセンブラ2によって、修正命令文(修正日時@11
0−c内の日時が前回アセンブル日時22内の日時より
新しい日時の命令文)の修正区分(変更命令文に対して
“R″、追加命令文に対して“A”′、削除命令文の直
後の命令文に対して“D”)が表示されたアセンブルリ
ストと、修正命令文を含む全頁の頁番号の一覧表とが編
集出力される。そして、ソースプログラムファイル内の
アセンブル日時は、アセンブル終了時に更新されるため
、このあと修正される命令文の判別に利用できる。
The assembler 2 inputs the new source program file 110 output by the editor subsystem 1 and outputs an object program to the object program file 400 in external storage, and also corresponds to the currently modified instruction statement in the new source program file 110. An assembler control unit 2 that edits and outputs the assemble list 500 in a format that also displays the contents of the modification classification column 110-b.
0 and the contents of the assemble date and time 110-h in the new source program file 110, which holds the previous assemble date and time at the start of assembling, are read and stored in the previous assemble date and time storage section 22, and read from the time device 300 at the end of assembling. The assemble date and time update unit 21 updates the assemble date and time 110-h in the new source program file 110 with the date and time (the updated source program file is illustrated as the new source program file 120), and in the process of editing and outputting the assemble list 500. A list page counter 23 that sequentially holds the page numbers of the assemble list, a modified page number storage unit 25 that stores the page number of the page in which the currently modified command statement exists in the assemble list 500, and Modified date and time system corresponding to 110-
Compare the date and time in c with the date and time in the previous assemble date and time 22, and if the correction command sentence (the date and time in the correction date and time system 110-c is a command sentence with a newer date and time than the date and time in the previous assemble date and time 22), then list A modified page selection section 24 stores the page number indicated by the page counter 23 in the modified page number storage section 25 (one page number for the same page number), and a modified page selection section 24 stores the page number indicated by the page counter 23 in the modified page number storage section 25 (one page number for the same page number). number list 5
10, and a modified page number list output section 26 which edits and outputs in a list format. By using the assembler 2 configured in this way, the modification command statement (modification date and time @11
Modification classification of command statements whose date and time in 0-c is newer than the date and time in the previous assembly date and time 22) ("R" for change commands, "A" for addition commands, "A" for deletion commands) An assemble list in which "D") is displayed for the immediately following command statement and a list of page numbers of all pages including the modified command statement are edited and output. Since the assembly date and time in the source program file is updated at the end of assembly, it can be used to determine which command statement will be modified later.

尚、本発明の方式は、高級言語で記述されたソースプロ
グラムを翻訳するコンパイラにも適用できる。
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, in the present invention, when editing and outputting an assemble list, the modification classification such as change, addition, deletion, etc. is displayed for the instruction statement to be modified, and the Since the page numbers of all pages containing the command statement to be modified are edited and output as a list, it is possible to confirm the corrected parts of the source program without omitting them in the corrected assemble list.

【図面の簡単な説明】 第1図は本発明の一実施例を示すブロック図、第2図は
ソースプログラムのアセンブル日時および命令文と修正
区分、修正日時との対応を示す概念図である。 1・・・エディタサブシステム、2・・・アセンブラ、
100・・・旧ソースプログラムファイル、110゜1
20・・・新ソースプログラムファイル、200・・・
端末装置、300・・・時刻装置、400・・・オブジ
ェクトプログラムファイル、500・・・アセンブルリ
スト、510・・・修正頁番号リスト。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a conceptual diagram showing the correspondence between the assemble date and time of a source program and the instruction statement, modification classification, and modification date and time. 1...Editor subsystem, 2...Assembler,
100... Old source program file, 110゜1
20...New source program file, 200...
Terminal device, 300... Time device, 400... Object program file, 500... Assemble list, 510... Modified page number list.

Claims (1)

【特許請求の範囲】[Claims] 端末装置から入力される指令言語に従って外部記憶装置
に記憶されているアセンブラ言語で記述されたソースプ
ログラムを修正するエディタサブシステムおよび、該エ
ディタサブシステムによる修正後の前記ソースプログラ
ムに対応するオブジェクトプログラムを生成するととも
に該オブジェクトプログラムと前記ソースプログラムと
の対応を示すアセンブルリストを編集出力するアセンブ
ルリストの編集出力方式において、前記ソースプログラ
ムが記憶される外部記憶装置のソースプログラムファイ
ルに前記ソースプログラムのアセンブルした日時を保持
し且つ前記ソースプログラムの命令文毎に対応して変更
・追加・削除を表す修正区分欄と修正した日時を表す修
正日時欄とを持ち、前記エディタサブシステムによる前
記ソースプログラムの修正時に当該修正時の修正対象と
なった命令文毎に対応する前記修正区分欄に区分内容お
よび前記修正日時欄に修正日時を書込む手段と、前記エ
ディタサブシステムによる修正後の前記ソースプログラ
ムに対する前記アセンブルリストを編集出力するととも
に当該修正時を修正対象となった命令文の前記修正区分
欄の内容も編集出力する手段と、前記編集出力手段によ
り編集出力された前記アセンブルリストの中で前記修正
時の修正対象となった命令文を含む頁を選択する手段と
、該選択手段によって選択された頁の頁番号を逐次記憶
して置く手段と、該記憶された頁番号を前記アセンブル
リストの一部として一覧表形式に編集出力する手段と、
前記ソースプログラムに保持される前記アセンブルした
日時を更新する手段とを含むことを特徴とするアセンブ
ルリストの編集出力方式。
An editor subsystem that modifies a source program written in an assembler language stored in an external storage device according to a command language input from a terminal device, and an object program that corresponds to the source program after being modified by the editor subsystem. In the assemble list editing and outputting method of generating and editing and outputting an assemble list showing the correspondence between the object program and the source program, the source program is assembled into a source program file of an external storage device in which the source program is stored. It holds the date and time, and has a modification classification column indicating changes, additions, and deletions corresponding to each instruction statement of the source program, and a modification date and time column indicating the date and time of modification, and when the source program is modified by the editor subsystem. means for writing classification contents in the modification classification column and modification date and time in the modification date and time column corresponding to each instruction statement to be modified at the time of the modification, and the assembling of the source program after modification by the editor subsystem. means for editing and outputting the list and also editing and outputting the contents of the modification category column of the command statement to be modified at the time of the modification; means for selecting a page containing a command statement to be modified; means for sequentially storing page numbers of pages selected by the selection means; and storing the stored page numbers as part of the assemble list. A means for editing and outputting in a list format,
An assembly list editing/output method comprising: means for updating the assembly date and time held in the source program.
JP62125227A 1987-05-21 1987-05-21 Edition output system for assembling list Pending JPS63289638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62125227A JPS63289638A (en) 1987-05-21 1987-05-21 Edition output system for assembling list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62125227A JPS63289638A (en) 1987-05-21 1987-05-21 Edition output system for assembling list

Publications (1)

Publication Number Publication Date
JPS63289638A true JPS63289638A (en) 1988-11-28

Family

ID=14904975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62125227A Pending JPS63289638A (en) 1987-05-21 1987-05-21 Edition output system for assembling list

Country Status (1)

Country Link
JP (1) JPS63289638A (en)

Similar Documents

Publication Publication Date Title
US6119136A (en) Manuscript text composition system featuring a parameter table for specifying template parameters and characters
JPS63172330A (en) Halftone application system for document processor
JPS63289638A (en) Edition output system for assembling list
JPS6020284A (en) Electronic translation device
JPS6175435A (en) Association system between syntax checker and text editor
JPS63289639A (en) Edition output system for assembling list
JPS63289640A (en) Edition output system for assembling list
JPS63289642A (en) Edition output system for assembling list
JPS63238638A (en) Editing and outputting system for assembly list
JPS63288357A (en) Data editing system
JPS63289643A (en) Edition output system for assembling list
JP2518157B2 (en) Method and device for generating revision history of program
JPS63289641A (en) Edition output system for assembling list
JPH0128974B2 (en)
JPS5969831A (en) Device for documentation
JPS63292326A (en) Editing output system for assemble list
JPS63238627A (en) Editing and outputting system for assemble list
JPH06187345A (en) Document preservation system for word processor
JP2982180B2 (en) Writing device
JPH0267684A (en) Calibration supporting system and dictionary retrieving system
JPH0484261A (en) Error notation retrieval system
JPS63265360A (en) Sentence conversion processor
JPH03229359A (en) Japanese sentence correcting device
JPS6345603A (en) Program storing system for programmable controller
JPH02110773A (en) List data reference processing system