Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2827979B2 - Assembler processing apparatus and assembler processing method - Google Patents
[go: Go Back, main page]

JP2827979B2 - Assembler processing apparatus and assembler processing method - Google Patents

Assembler processing apparatus and assembler processing method

Info

Publication number
JP2827979B2
JP2827979B2 JP21241095A JP21241095A JP2827979B2 JP 2827979 B2 JP2827979 B2 JP 2827979B2 JP 21241095 A JP21241095 A JP 21241095A JP 21241095 A JP21241095 A JP 21241095A JP 2827979 B2 JP2827979 B2 JP 2827979B2
Authority
JP
Japan
Prior art keywords
expression
file
read
node
assembler
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.)
Expired - Fee Related
Application number
JP21241095A
Other languages
Japanese (ja)
Other versions
JPH0944364A (en
Inventor
英司 社本
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP21241095A priority Critical patent/JP2827979B2/en
Publication of JPH0944364A publication Critical patent/JPH0944364A/en
Application granted granted Critical
Publication of JP2827979B2 publication Critical patent/JP2827979B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、入力したソースファイ
ルをオブジェクトファイルに変換して出力するアセンブ
ラ処理装置及びアセンブラ処理方法に関し、特に仮想メ
モリ管理がない動作環境におけるアセンブラ処理装置及
びアセンブラ処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an assembler processing apparatus and an assembler processing method for converting an input source file into an object file and outputting the converted object file, and more particularly to an assembler processing apparatus and an assembler processing method in an operating environment without virtual memory management. .

【0002】[0002]

【従来の技術】従来、ソースファイルを入力しオブジェ
クトファイルに変換して出力するアセンブラ処理装置
は、例えば図9のブロック図に示すように構成される。
同図に示す従来のアセンブラ処理装置は、仮想メモリ管
理がない動作環境において動作し、シンボルの前方参照
ができる1パスアセンブラである。そして、1パス目で
未解決だったオペランドに記述された式を後から解決す
るため、解析木を仮想メモリ空間に保存する。
2. Description of the Related Art Conventionally, an assembler processing device which inputs a source file, converts the source file into an object file, and outputs the converted object file is constructed, for example, as shown in a block diagram of FIG.
The conventional assembler processing device shown in FIG. 1 is a one-pass assembler that operates in an operating environment without virtual memory management and allows forward reference of symbols. Then, the parse tree is stored in the virtual memory space in order to later resolve the expression described in the operand that has not been resolved in the first pass.

【0003】図示のアセンブラ処理装置90は、まずソ
ースファイル入力部91がソースファイルを読み込む。
次に、構文解析部92が読み込んだソースファイルを構
文解析し、参照情報テーブル93及び式情報テーブル9
4を生成し、解析した内容を中間コード95として出力
する。
In an assembler processing apparatus 90 shown in the figure, a source file input unit 91 first reads a source file.
Next, the syntax analysis section 92 analyzes the syntax of the read source file, and obtains the reference information table 93 and the expression information table 9.
4 and outputs the analyzed content as an intermediate code 95.

【0004】参照情報テーブル93は、前方参照があっ
た際に作成される参照情報のテーブルである。式情報テ
ーブル94は、前方参照があった際のオペランドに記述
された式のテーブルである。中間コード95は、ソース
プログラムを機械語コードに変換したコードである。ま
た、構文解析部92は、式生成処理部96を用いて式情
報のノードを生成し、生成した式を式評価処理部97を
用いて評価する。
[0004] The reference information table 93 is a table of reference information created when a forward reference is made. The expression information table 94 is a table of expressions described in operands when a forward reference is made. The intermediate code 95 is a code obtained by converting a source program into a machine language code. Further, the syntax analysis unit 92 generates an expression information node using the expression generation processing unit 96, and evaluates the generated expression using the expression evaluation processing unit 97.

【0005】オペランド決定処理部98は、構文解析部
92による構文解析終了後、参照情報テーブル93及び
式情報テーブル94を用いて、前方参照によって未決定
であった中間コード95のオペランドを解決し、オブジ
ェクトコードを作成する。このようにして作成されたオ
ブジェクトファイルは、オブジェクトファイル出力部9
9から出力される。また、オペランド決定処理部98
は、生成した式を式評価処理97を用いて評価する。
After completion of the syntax analysis by the syntax analysis unit 92, the operand determination processing unit 98 resolves the operand of the intermediate code 95 that has not been determined by the forward reference, using the reference information table 93 and the expression information table 94. Create object code. The object file created in this way is output to the object file output unit 9.
9 is output. Further, the operand determination processing unit 98
Evaluates the generated expression using the expression evaluation process 97.

【0006】参照情報テーブル93、式情報テーブル9
4及び中間コード95の関係を図10に示す。入力され
たソースファイル中にn個の前方参照が記述されている
場合、参照情報テーブル93には参照情報エントリ93
a〜93nが作成される。また、式情報テーブル94に
は式情報エントリ94a〜94nが作成される。参照情
報エントリ93a〜93nの参照情報は、参照している
式情報の仮想アドレスと参照位置における中間コード9
5の位置とを持つ。
Reference information table 93, expression information table 9
FIG. 10 shows the relationship between No. 4 and the intermediate code 95. When n forward references are described in the input source file, the reference information table 93
a to 93n are created. In the formula information table 94, formula information entries 94a to 94n are created. The reference information of the reference information entries 93a to 93n is the virtual address of the referenced expression information and the intermediate code 9 at the reference position.
5 positions.

【0007】式情報エントリ94h(h:a≦h≦n)
の詳細な構成例を図11に示す。あるオペランドにk個
の項があるとする。式情報エントリ94hは、解析木で
構成されている。当該解析木を構成する各ノード941
a〜941kは、それぞれ仮想アドレスによって他のノ
ードを指す。
Formula information entry 94h (h: a ≦ h ≦ n)
FIG. 11 shows an example of the detailed configuration of FIG. Suppose an operand has k terms. The expression information entry 94h is composed of a parse tree. Each node 941 constituting the parse tree
Each of a to 941k indicates another node by a virtual address.

【0008】図12のフローチャートを参照して、従来
のアセンブラ処理装置90における構文解析部92の動
作について説明する。まず入力したソースファイルの構
文の解析を行う(ステップ1201)。ここで、構文解
析部92は、式生成処理部96を用いて式情報テーブル
94に式のノードを生成し、構文の解析を行う。
The operation of the syntax analysis unit 92 in the conventional assembler processing device 90 will be described with reference to the flowchart of FIG. First, the syntax of the input source file is analyzed (step 1201). Here, the syntax analysis unit 92 generates an expression node in the expression information table 94 using the expression generation processing unit 96, and analyzes the syntax.

【0009】次に、式評価処理部97を用いて生成した
式の評価を行う(ステップ1202)。評価した結果が
未解決なら参照情報生成処理を行う(ステップ120
3)。参照情報生成処理では、参照情報テーブル93に
参照情報エントリの生成を行う。参照情報生成処理が終
了した後、または式評価処理部97による評価結果が未
解決でない場合、終了判定処理を行う(ステップ120
4)。終了判定処理では、未処理の構文がまだあるか否
かの判定を行う。そして、未処理の構文がまだあればス
テップ1201に戻り、入力したソースファイルのすべ
てについて構文解析が済んでいれば構文解析を終了す
る。
Next, the generated expression is evaluated using the expression evaluation processing section 97 (step 1202). If the evaluation result is unresolved, reference information generation processing is performed (step 120).
3). In the reference information generation processing, a reference information entry is generated in the reference information table 93. After the reference information generation processing is completed, or when the evaluation result by the expression evaluation processing unit 97 is not unresolved, an end determination processing is performed (step 120).
4). In the end determination processing, it is determined whether or not there is an unprocessed syntax. If there is an unprocessed syntax, the process returns to step 1201. If the syntax analysis has been completed for all the input source files, the syntax analysis ends.

【0010】次に、図13のフローチャートを参照し
て、オペランド決定処理部98の動作について説明す
る。オペランド決定処理部98は、参照情報テーブル9
3中の参照情報エントリを先頭から一つずつ処理する。
まず参照情報終了判定処理を行う(ステップ130
1)。参照情報終了判定処理では、参照位置に参照情報
がまだあるか否かの判定を行う。そして、まだ参照情報
があれば式評価処理を行う(ステップ1302)。すべ
ての参照情報について処理を終了した場合は、オペラン
ド決定処理部98による処理を終了する。
Next, the operation of the operand determination processing section 98 will be described with reference to the flowchart of FIG. Operand determination processing section 98 is configured to refer to reference information table 9
3 is processed one by one from the top.
First, reference information end determination processing is performed (step 130).
1). In the reference information end determination processing, it is determined whether or not reference information still exists at the reference position. If there is still reference information, expression evaluation processing is performed (step 1302). When the processing has been completed for all pieces of reference information, the processing by the operand determination processing unit 98 ends.

【0011】式評価処理では、参照中の参照情報が指し
ている式情報を評価する。そして、評価した結果が未解
決ならエラーとし(ステップ1303)、評価結果が未
解決でないなら参照情報解決処理を行なう(ステップ1
304)。参照情報解決処理では、式情報の評価結果を
そのアドレス値を参照情報が指している中間コードの位
置へ埋め込む。そして、参照位置変更処理を行なう(ス
テップ1305)。参照位置変更処理では、参照情報の
参照位置を次の参照情報の位置に変更し、ステップ13
01の参照情報終了判定処理に戻る。
In the expression evaluation processing, the expression information pointed to by the reference information being referred to is evaluated. If the evaluation result is unresolved, an error is determined (step 1303). If the evaluation result is not unresolved, reference information resolution processing is performed (step 1).
304). In the reference information resolution processing, the evaluation result of the expression information is embedded in the address value of the expression information at the position of the intermediate code pointed to by the reference information. Then, a reference position changing process is performed (step 1305). In the reference position change processing, the reference position of the reference information is changed to the position of the next reference information, and step 13
It returns to the reference information end determination processing of 01.

【0012】以上のように、式評価処理部96は構文解
析部92からもオペランド決定処理部98からも呼ばれ
る。次に、図14のフローチャートを参照して、式評価
処理部97による式評価処理の動作を説明する。
As described above, the expression evaluation processing unit 96 is called by both the syntax analysis unit 92 and the operand determination processing unit 98. Next, the operation of the expression evaluation processing by the expression evaluation processing unit 97 will be described with reference to the flowchart in FIG.

【0013】まず、仮想アドレスで与えられたノードが
メモリ上にあるかどうかをチェックする(ステップ14
01)。メモリ上にない場合、当該ノードをファイル上
からメモリ上にロードする(ステップ1402)。次
に、仮想アドレスをポインタに変換して(ステップ14
03)、当該ノードがどのタイプかチェックする(ステ
ップ1404)。そして、当該ノードのタイプに応じた
処理を行なう(ステップ1405〜1411)。
First, it is checked whether the node given by the virtual address exists in the memory (step 14).
01). If not, the node is loaded from the file to the memory (step 1402). Next, the virtual address is converted into a pointer (step 14).
03), the type of the node is checked (step 1404). Then, processing corresponding to the type of the node is performed (steps 1405 to 1411).

【0014】このような処理を行う式評価処理部97
は、再帰的に呼び出される。この場合、アセンブラソー
ス中のオペランドに書かれた式がj個の項を有するな
ら、j回呼び出されることになる。そして、式評価処理
部97が呼び出される度に、ノードがメモリ上にあるか
どうかをチェックし、仮想アドレスをポインタに変更す
ることが必要であった。
Expression evaluation processing unit 97 for performing such processing
Is called recursively. In this case, if the expression written in the operand in the assembler source has j terms, it will be called j times. Then, each time the expression evaluation processing unit 97 is called, it is necessary to check whether the node is on the memory and change the virtual address to a pointer.

【0015】すなわち、従来のアセンブラ処理装置にお
いて、仮想アドレスで与えられたノードがメモリ上にあ
るかどうかをチェックするのに要する時間をT1とし、
仮想アドレスをポインタに変更するのに要する時間をT
2とし、与えられたノードがメモリ上になくファイルか
らロードした際にかかる時間をT3とし、与えられたメ
モリがメモリ上になくファィルからロードした回数をi
回とすると、式処理の仮想メモリ処理にかかる時間をT
jは、 Tj=j×(T1+T2)+i×T3 であった。
That is, in the conventional assembler processing apparatus, the time required to check whether the node given by the virtual address is in the memory is T1,
The time required to change a virtual address to a pointer is T
2, the time taken when a given node is not in the memory and is loaded from a file is T3, and the number of times the given memory is not in the memory and loaded from a file is i
Time, the time required for the virtual memory processing of the expression processing is T
j was Tj = j × (T1 + T2) + i × T3.

【0016】[0016]

【発明が解決しようとする課題】上述したように、従来
のアセンブラ処理装置によれば、ソースファイル中のオ
ペランドにかかれた式の項がj個なら式評価処理部がj
回呼ばれることになる。従って、仮想アドレスで与えら
れたノードがメモリ上にあるかどうかのチェックと仮想
アドレスをポインタに変更する処理がそれぞれj回実行
されることとなり、多大な処理時間を要するという欠点
があった。
As described above, according to the conventional assembler processing apparatus, if the number of expressions in the operands in the source file is j, the expression evaluation processing unit j
Will be called twice. Therefore, the process of checking whether the node given by the virtual address exists in the memory and the process of changing the virtual address to a pointer are each performed j times, and there is a disadvantage that a great deal of processing time is required.

【0017】本発明は、上記従来の欠点を解消し、処理
時間を短縮し処理効率の高いアセンブラ処理装置及びア
センブラ処理方法を提供することを目的とする。
An object of the present invention is to provide an assembler processing apparatus and an assembler processing method which solve the above-mentioned conventional drawbacks, shorten the processing time and have high processing efficiency.

【0018】[0018]

【課題を解決するための手段】上記の目的を達成するた
め、本発明は、仮想メモリ管理がない動作環境における
アセンブラ処理装置において、ソースファイルを読み込
む入力手段と、読み込んだソースファイルを構文解析す
る構文解析手段と、構文解析処理において解析木の式を
生成する式生成処理手段と、生成された式を必要に応じ
て格納するテンポラリファイルと、生成された式を評価
する式評価処理手段と、前方参照があった場合のオペラ
ンドの決定を行うオペランド決定処理手段と、生成した
オブジェクトファイルを出力する出力手段とを備え、前
記式生成処理手段が、解析木を蓄積するメモリバッファ
がオーバーフローとなった場合に生成中の解析木の式の
根に読み込み指示用のノードを挿入し、かつメモリバッ
ファの内容を前記テンポラリファイルに出力し、前記式
評価処理手段が、前記読み込み指示用のノードの内容に
したがってテンポラリファイルからの読み込みを行い、
前記メモリバッファに格納する構成としている。
In order to achieve the above object, the present invention provides an assembler processing apparatus in an operating environment without virtual memory management, an input means for reading a source file, and a syntax analysis of the read source file. Syntax analysis means, expression generation processing means for generating an expression of a parse tree in the syntax analysis processing, a temporary file for storing the generated expression as needed, and expression evaluation processing means for evaluating the generated expression, An operand determination processing unit for determining an operand when there is a forward reference; and an output unit for outputting a generated object file, wherein the expression generation processing unit overflows a memory buffer for storing a parse tree. In this case, insert a read instruction node at the root of the expression of the parse tree being generated, and And outputs it to the down temporary file, the expression evaluation processing means, performs a read from the temporary file in accordance with the contents of the node for the reading instruction,
The data is stored in the memory buffer.

【0019】また、他の態様では、前記読み込み指示用
のノードが、少なくとも、読み込むファイルの位置、読
み込むノードの数、メモリバッファに読み込む位置、解
析木の根へのポインタを有している。
In another aspect, the read instruction node has at least a position of a file to be read, the number of nodes to be read, a position to be read into a memory buffer, and a pointer to a root of an analysis tree.

【0020】また、他の態様では、前記式評価処理手段
が、前記読み込み指示用のノードによって指示されるノ
ードをすべて前記テンポラリファイルから読み込んで前
記メモリバッファに格納する構成としている。
In another aspect, the expression evaluation processing means reads all nodes designated by the read instruction node from the temporary file and stores the nodes in the memory buffer.

【0021】また、他の態様では、前記読み込み指示用
のノードが、前記メモリバッファ上に格納されている。
[0021] In another aspect, the read instruction node is stored in the memory buffer.

【0022】上記目的を達成する本発明のアセンブラ処
理方法では、仮想メモリ管理がない動作環境で、ソース
ファイルを読み込む工程と、読み込んだソースファイル
を構文解析する工程と、構文解析した結果に対して前方
参照があった場合のオペランドの決定を行う工程と、オ
ペランドを決定して生成されたオブジェクトファイルを
出力する工程とを備えたアセンブラ処理を行うアセンブ
ラ処理方法において、前記構文解析を行う工程が、解析
木を生成してメモリバッファに蓄積する工程と、メモリ
バッファがオーバーフローとなった場合に生成中の解析
木の式の根に読み込み指示用のノードを挿入し、かつメ
モリバッファの内容をテンポラリファイルに出力する工
程と、生成された式を評価する工程とを備え、前記式を
評価する工程が、前記読み込み指示用のノードの内容に
したがって前記テンポラリファイルからの読み込みを行
い、前記メモリバッファに格納する工程を備える構成と
している。
According to the assembler processing method of the present invention which achieves the above object, in an operating environment without virtual memory management, a step of reading a source file, a step of parsing the read source file, and a step of In the assembler processing method for performing assembler processing including the step of determining an operand when there is a forward reference and the step of determining an operand and outputting a generated object file, the step of performing the syntax analysis includes: Generating a parse tree and storing it in a memory buffer; inserting a read instruction node at the root of the parse tree formula being generated when the memory buffer overflows; and storing the contents of the memory buffer in a temporary file And the step of evaluating the generated expression, the step of evaluating the expression, Performs reading from the temporary file in accordance with the contents of the node for the serial reading instruction has a configuration including a step of storing in the memory buffer.

【0023】また、他の態様では、前記オペランドの決
定を行う工程が、生成された式を評価する工程を備え、
前記式を評価する工程が、前記読み込み指示用のノード
の内容にしたがって前記テンポラリファイルからの読み
込みを行い、前記メモリバッファに格納する工程を備え
る構成としている。
In another aspect, the step of determining the operand comprises the step of evaluating a generated expression.
The step of evaluating the expression includes a step of reading from the temporary file in accordance with the contents of the read instruction node and storing the read in the memory buffer.

【0024】[0024]

【作 用】本発明によれば、式生成処理手段が、解析木
を蓄積するメモリバッファがオーバーフローとなった場
合に生成中の解析木の式の根に読み込み指示用のノード
を挿入し、かつメモリバッファの内容を前記テンポラリ
ファイルに出力し、前記式評価処理手段が、前記読み込
み指示用のノードの内容にしたがってテンポラリファイ
ルからの読み込みを行い、前記メモリバッファに格納す
るため、ノードの読み込みを行った後は、当該解析木の
式については、テンポラリファイルから読み出されて環
状ノードバッファに格納されていることが保証され、ノ
ードを読み込む度に仮想メモリを参照し、仮想アドレス
をポインタに変換する処理を行う必要はない。
According to the present invention, the expression generation processing means inserts a read instruction node into the root of an expression of a parse tree being generated when the memory buffer for storing the parse tree overflows, and The contents of the memory buffer are output to the temporary file, and the expression evaluation processing means reads from the temporary file in accordance with the contents of the read instruction node, and reads the node for storing in the memory buffer. After that, it is guaranteed that the expression of the parse tree is read from the temporary file and stored in the circular node buffer. Each time a node is read, the virtual memory is referred to and the virtual address is converted into a pointer. No action is required.

【0025】また、読み込み指示用ノードにしたがっ
て、指示された単位でテンポラリファイルからの読み込
みを行うため、各ノードごとにファイルからの読み込み
を行う場合に比してファイルへのアクセス回数が減少す
る。
In addition, since the temporary file is read in the designated unit according to the read instruction node, the number of times of access to the file is reduced as compared with the case where the read from the file is performed for each node.

【0026】[0026]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。図1は、本発明の1実施例によるアセンブ
ラ処理装置の構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an assembler processing apparatus according to one embodiment of the present invention.

【0027】図示のように、本実施例のアセンブラ処理
装置10は、ソースファイルを読み込むソースファイル
入力部11と、読み込んだソースファイルを構文解析す
る構文解析部12と、構文解析処理において解析木の式
を生成する式生成処理部16と、生成された式を必要に
応じて格納するテンポラリファイル17と、生成された
式を評価する式評価処理部18と、前方参照があった場
合のオペランドの決定を行うオペランド決定処理部19
と、生成したオブジェクトファイルを出力するオブジェ
クトファイル出力部20とを備える。
As shown in the figure, the assembler processing apparatus 10 of the present embodiment includes a source file input unit 11 for reading a source file, a syntax analysis unit 12 for parsing the read source file, and a parsing tree in the syntax analysis processing. An expression generation processing unit 16 for generating an expression, a temporary file 17 for storing the generated expression as needed, an expression evaluation processing unit 18 for evaluating the generated expression, and an operand Operand determination processing unit 19 for determining
And an object file output unit 20 for outputting the generated object file.

【0028】構文解析部12は、ソースファイル入力部
11で読み込んだソースファイルを構文解析し、参照情
報テーブル13及び式情報テーブル14を生成し、解析
した内容を中間コード15として出力する。ここで、参
照情報テーブル13は、前方参照があった際に作成され
る参照情報のテーブルである。式情報テーブル14は、
前方参照があった際のオペランドに記述された式のテー
ブルである。中間コード15は、ソースプログラムを機
械語コードに変換したコードである。また、構文解析部
12は、式生成処理部16を用いて式情報のノードを生
成し、生成した式を式評価処理部18を用いて評価す
る。
The syntax analysis section 12 analyzes the syntax of the source file read by the source file input section 11, generates a reference information table 13 and an expression information table 14, and outputs the analyzed contents as an intermediate code 15. Here, the reference information table 13 is a table of reference information created when a forward reference is made. The expression information table 14 is
It is a table of the expression described in the operand when there is a forward reference. The intermediate code 15 is a code obtained by converting a source program into a machine language code. Further, the syntax analysis unit 12 generates a node of the expression information using the expression generation processing unit 16, and evaluates the generated expression using the expression evaluation processing unit 18.

【0029】図2に参照情報テーブル13、式情報テー
ブル14及び中間コード15の関係を示す。入力された
ソースファイル中にn個の前方参照が記述されている場
合、参照情報テーブル13には、参照情報エントリ13
1a〜131nが作成される。また、式情報テーブル1
4には、式情報エントリ141a〜141nが作成され
る。作成された参照情報は、参照している式情報のポイ
ンタと参照位置における中間コード15の位置を持つ。
FIG. 2 shows the relationship among the reference information table 13, the expression information table 14, and the intermediate code 15. When n forward references are described in the input source file, the reference information table 13
1a to 131n are created. Expression information table 1
4, expression information entries 141a to 141n are created. The created reference information has a pointer to the expression information being referred to and the position of the intermediate code 15 at the reference position.

【0030】参照情報テーブル13と式情報テーブル1
4の詳細な構成例を図3に示す。図示のように、式情報
エントリ141は解析木で構成されており、各ノード1
43は、それぞれ他のノードをポインタによって指す。
読み込み指示用ノード142は、読み込むファイルの位
置、読み込むノードの数、メモリバッファに読み込む位
置、解析木の根へのポインタを持っている。また、図4
に示すように、読み込み指示用ノード141はメモリ上
の読み込み指示用バッファに生成され、ノードは環状ノ
ードバッファに生成される。読み込み指示用バッファと
環状ノードバッファは、原則として、共にメモリ上に配
置される。
Reference information table 13 and expression information table 1
4 shows a detailed configuration example of FIG. As illustrated, the expression information entry 141 is formed of a parse tree, and each node 1
Reference numeral 43 indicates another node by a pointer.
The read instruction node 142 has the position of the file to be read, the number of nodes to be read, the position to be read into the memory buffer, and a pointer to the root of the analysis tree. FIG.
As shown in the figure, the read instruction node 141 is generated in the read instruction buffer on the memory, and the node is generated in the circular node buffer. The read instruction buffer and the ring node buffer are, in principle, both arranged on the memory.

【0031】式生成処理部16は、構文解析部12の制
御により生成した解析木の式を前記読み込み指示用バッ
ファ及び環状ノードバッファにバッファリングする。バ
ッファリングにおいて、解析木の生成を行なうメモリバ
ッファがいっぱいになった場合、生成中の解析木の式の
根に読み込み指示用のノードを挿入し、メモリバッファ
の内容をテンポラリファイル17に出力する。
The expression generation processing unit 16 buffers the expression of the analysis tree generated under the control of the syntax analysis unit 12 in the read instruction buffer and the circular node buffer. In the buffering, when the memory buffer for generating the analysis tree becomes full, a read instruction node is inserted at the root of the expression of the analysis tree being generated, and the contents of the memory buffer are output to the temporary file 17.

【0032】式評価処理部18は、メモリバッファにバ
ッファリングされた式を読み出して評価を行う。また、
式がテンポラリファイル17に格納されている場合、読
み込み指示ノード解析処理によりテンポラリファイルか
らの読み込みを行う。
The expression evaluation processing section 18 reads and evaluates the expressions buffered in the memory buffer. Also,
When the expression is stored in the temporary file 17, reading from the temporary file is performed by a read instruction node analysis process.

【0033】オペランド決定処理部19は、構文解析部
12による構文解析終了後、参照情報テーブル13及び
式情報テーブル14を用いて、前方参照によって未決定
であった中間コード15のオペランドを解決して、オブ
ジェクトコードを作成する。そして、オブジェクトファ
イルを生成してオブジェクトファイル出力部20から出
力する。また、オペランド決定処理部19は、生成した
式を式評価処理部18を用いて評価する。
After completion of the syntax analysis by the syntax analysis unit 12, the operand determination processing unit 19 resolves the operand of the intermediate code 15 which has not been determined by the forward reference using the reference information table 13 and the expression information table 14. , Create object code. Then, an object file is generated and output from the object file output unit 20. The operand determination processing unit 19 evaluates the generated expression using the expression evaluation processing unit 18.

【0034】次に、図5ないし図8のフローチャートを
参照して本実施例の動作について説明する。図5は、構
文解析部12による構文解析処理の動作を示すフローチ
ャートである。まず、入力したソースファイルの構文の
解析を行う(ステップ501)。ここで、構文解析部9
2は、式生成処理部96を用いて解析木の式のノードを
生成し、構文の解析を行う。生成した式のノードはバッ
ファリング処理により式情報テーブル14に挿入する。
Next, the operation of this embodiment will be described with reference to the flowcharts of FIGS. FIG. 5 is a flowchart showing the operation of the syntax analysis processing by the syntax analysis unit 12. First, the syntax of the input source file is analyzed (step 501). Here, the parsing unit 9
2 generates an expression tree expression node using the expression generation processing unit 96 and analyzes the syntax. The node of the generated formula is inserted into the formula information table 14 by a buffering process.

【0035】次に、式評価処理部18を用いて生成した
式の評価を行う(ステップ502)。評価した結果が未
解決なら参照情報生成処理を行う(ステップ503)。
参照情報生成処理では、参照情報テーブル13に参照情
報エントリの生成を行う。参照情報生成処理が終了した
後、または式評価処理部18による評価結果が未解決で
ない場合、終了判定処理を行う(ステップ504)。終
了判定処理では、未処理の構文がまだあるか否かの判定
を行う。そして、未処理の構文がまだあればステップ5
01に戻り、入力したソースファイルのすべてについて
構文解析が済んでいれば構文解析を終了する。
Next, the generated expression is evaluated using the expression evaluation processing section 18 (step 502). If the evaluation result is unresolved, reference information generation processing is performed (step 503).
In the reference information generation processing, a reference information entry is generated in the reference information table 13. After the reference information generation processing ends, or when the evaluation result by the expression evaluation processing unit 18 is not unresolved, an end determination processing is performed (step 504). In the end determination processing, it is determined whether or not there is an unprocessed syntax. And if there are any unprocessed syntaxes, step 5
Returning to 01, if all the input source files have been analyzed, the analysis is terminated.

【0036】図6は、式生成処理部16によるバッファ
リング処理の動作を示すフローチャートである。まず、
生成した解析木の式のノードをメモりバッファに格納す
るため、環状ノードバッファのオーバーフローチェック
を行なう(ステップ601)。そして、オーバーフロー
していなければ、そのままノードを環状ノードバッファ
に格納するノード挿入処理を行う(ステップ604)。
FIG. 6 is a flowchart showing the operation of buffering processing by the expression generation processing unit 16. First,
In order to store the nodes of the generated analytic tree equation in the memory buffer, an overflow check of the circular node buffer is performed (step 601). If overflow has not occurred, the node insertion processing for storing the node in the circular node buffer as it is is performed (step 604).

【0037】一方、環状ノードバッファがオーバーフロ
ーしている場合、読み込み指示用ノード142を生成す
る(ステップ602)。読み込み指示用ノード生成処理
では、読み込み指示用ノード142を読み込むファイル
の位置としてテンポラリファイル17の参照位置を、読
み込むノードの数として生成中の解析木を除く環状ノー
ドバッファに入っているノードの数を、メモリバッファ
に読み込む位置として環状ノードバッファに入っている
先頭のノードの位置をそれぞれ設定し、読み込み指示用
バッファに生成する。
On the other hand, if the ring node buffer overflows, a read instruction node 142 is generated (step 602). In the read instruction node generation process, the reference position of the temporary file 17 is set as the position of the file to read the read instruction node 142, and the number of nodes in the ring node buffer excluding the parse tree being generated is set as the number of nodes to be read. The position of the first node in the ring node buffer is set as the position to be read into the memory buffer, and is generated in the read instruction buffer.

【0038】次に、生成中の解析木を除き、環状ノード
バッファに入っているノードを全てテンポラリファイル
17に出力する(ステップ603)。そして、式生成処
理部16より与えられたオーバフロー以降のノードを環
状ノードバッファに追加し(ステップ604)、処理を
終了する。
Next, all the nodes in the circular node buffer are output to the temporary file 17 except for the parse tree being generated (step 603). Then, the nodes after the overflow given by the expression generation processing unit 16 are added to the circular node buffer (step 604), and the processing is terminated.

【0039】図7は、オペランド決定処理部19による
オペランド決定処理の動作を示すフローチャートであ
る。オペランド決定処理部19は、参照情報テーブル1
3中の参照情報エントリを先頭から一つずつ処理する。
まず参照情報終了判定処理を行う(ステップ701)。
参照情報終了判定処理では、参照位置に参照情報がまだ
あるか否かの判定を行う。そして、まだ参照情報があれ
ば式評価処理を行う(ステップ702)。すべての参照
情報について処理を終了した場合は、オペランド決定処
理部19による処理を終了する。
FIG. 7 is a flowchart showing the operation of the operand determination processing by the operand determination processing unit 19. Operand determination processing section 19 refers to reference information table 1
3 is processed one by one from the top.
First, reference information end determination processing is performed (step 701).
In the reference information end determination processing, it is determined whether or not reference information still exists at the reference position. Then, if there is still reference information, expression evaluation processing is performed (step 702). When the processing has been completed for all pieces of reference information, the processing by the operand determination processing unit 19 ends.

【0040】式評価処理では、参照中の参照情報が指し
ている式情報を評価する。そして、評価した結果が未解
決ならエラーとし(ステップ703)、評価結果が未解
決でないなら参照情報解決処理を行なう(ステップ70
4)。参照情報解決処理では、式情報の評価結果をその
アドレス値を参照情報が指している中間コードの位置へ
埋め込む。そして、参照位置変更処理を行なう(ステッ
プ705)。参照位置変更処理では、参照情報の参照位
置を次の参照情報の位置に変更し、ステップ701の参
照情報終了判定処理に戻る。
In the expression evaluation processing, the expression information pointed to by the reference information being referred to is evaluated. If the evaluation result is unresolved, it is determined that an error has occurred (step 703). If the evaluation result is not unresolved, reference information resolution processing is performed (step 70).
4). In the reference information resolution processing, the evaluation result of the expression information is embedded in the address value of the expression information at the position of the intermediate code pointed to by the reference information. Then, a reference position changing process is performed (step 705). In the reference position change processing, the reference position of the reference information is changed to the position of the next reference information, and the process returns to the reference information end determination processing of step 701.

【0041】次に、図8のフローチャートを参照して、
式評価処理部18による式評価処理の動作を説明する。
図示のように、式評価処理部18は、まず当該ノードが
どのタイプかチェックする(ステップ801)。そし
て、当該ノードのタイプに応じた処理を行なう(ステッ
プ802〜810)。
Next, referring to the flowchart of FIG.
The operation of the expression evaluation processing by the expression evaluation processing unit 18 will be described.
As shown in the figure, the expression evaluation processing unit 18 first checks which type the node is (step 801). Then, processing corresponding to the type of the node is performed (steps 802 to 810).

【0042】式評価処理部18における処理の内容は、
原則として従来のものと同様であるが、従来の式評価処
理にはない処理として、読み込み指示用ノード解析処理
が追加されている。この処理では、読み込み指示用ノー
ドに記述されている内容にしたがい、テンポラリファイ
ル17上で指示されている読み込むファイルの位置から
指示されているノードの数分だけ指示されている読み込
み位置の環状ノードバッファに読み込みを行なう。
The contents of the processing in the expression evaluation processing unit 18 are as follows.
In principle, it is the same as the conventional one, but a read instruction node analysis process is added as a process not in the conventional expression evaluation process. In this processing, according to the content described in the read instruction node, the circular node buffer of the read position designated by the number of designated nodes from the position of the designated file to be read on the temporary file 17. To read.

【0043】したがって、この処理によってノードの読
み込みを行った後は、当該解析木の式については、テン
ポラリファイル17から読み出されて環状ノードバッフ
ァに格納されていることが保証されるため、ノードを読
み込む度に仮想メモリを参照し、仮想アドレスをポイン
タに変換する処理を行う必要はない。
Therefore, after the node is read by this processing, it is guaranteed that the expression of the parse tree is read from the temporary file 17 and stored in the circular node buffer. It is not necessary to refer to the virtual memory every time the data is read, and perform the process of converting the virtual address into a pointer.

【0044】また、読み込み指示用ノードにしたがっ
て、指示された単位でテンポラリファイル17からの読
み込みを行うため、各ノードごとにファイルからの読み
込みを行う場合に比してファイルへのアクセス回数も減
少する。すなわち、従来のアセンブラ処理装置におい
て、与えられたノードがメモリ上になくファイルからロ
ードした際にかかる時間をT3とし、与えられたメモリ
がメモリ上になくファィルからロードした回数をi回と
した場合に、ファイルへのアクセスに要する時間の合計
はi×T3である。一方、本実施例において、読み込み
指示用ノード解析処理が呼ばれ、ファイルにアクセスす
る回数はiより少ないので、読み込み指示用ノード解析
処理の時間に要する時間をTnとすれば、 Tn<j×T3 が成り立つ。
In addition, since the temporary file 17 is read in the specified unit in accordance with the read instruction node, the number of times of access to the file is reduced as compared with the case where the read from the file is performed for each node. . That is, in the conventional assembler processing apparatus, the time taken when a given node is not in the memory and loaded from a file is T3, and the number of times the given memory is not in the memory and loaded from a file is i The total time required to access the file is i × T3. On the other hand, in the present embodiment, the read instruction node analysis process is called, and the number of times of accessing the file is smaller than i. Therefore, if the time required for the read instruction node analysis process is Tn, then Tn <j × T3 Holds.

【0045】以上好ましい実施例をあげて本発明を説明
したが、本発明は必ずしも上記実施例に限定されるもの
ではない。
Although the present invention has been described with reference to the preferred embodiments, the present invention is not necessarily limited to the above embodiments.

【0046】[0046]

【発明の効果】以上説明したように、本発明によれば、
ノードを読み込む度に仮想メモリを参照し、仮想アドレ
スをポインタに変換する処理を行う必要がないため、具
体的には、従来のアセンブラ処理において、ソースファ
イルのオペランドに書かれた式の項をj個とし、仮想ア
ドレスで与えられたノードがメモリ上にあるかどうかを
チェックするのに要する時間をT1とし、仮想アドレス
をポインタに変更するのに要する時間をT2とした場合
に、これらの処理に要する時間の合計であるj×(T1
+T2)の時間を短縮することができる。
As described above, according to the present invention,
Since it is not necessary to refer to the virtual memory every time a node is read and to convert the virtual address into a pointer, specifically, in the conventional assembler processing, the term of the expression written in the operand of the source file is replaced by j If the time required to check whether the node given by the virtual address is in the memory is T1 and the time required to change the virtual address to a pointer is T2, J × (T1
+ T2) can be shortened.

【0047】また、読み込み指示用ノードにしたがっ
て、指示された単位でテンポラリファイルからの読み込
みを行うことにより、各ノードごとにファイルからの読
み込みを行う場合に比してファイルへのアクセス回数が
減少するため、アセンブラ処理時間をより一層短縮する
ことができる。具体的には、従来のアセンブラ処理装置
において、与えられたノードがメモリ上になくファイル
からロードした際にかかる時間をT3とし、与えられた
メモリがメモリ上になくファィルからロードした回数を
i回とした場合に、ファイルへのアクセスに要する時間
の合計はi×T3である。これに対し、本実施例におい
て、読み込み指示用ノード解析処理が呼ばれ、ファイル
にアクセスする回数はiより少ないので、読み込み指示
用ノード解析処理の時間に要する時間をTnとすれば、 Tn<j×T3 が成り立つ。したがって、従来のアセンブラ処理におけ
る処理時間の合計が Tj=j×(T1+T2)+j×T3 であることから、 Tj−Tn>j×(T1+T2) で示される時間だけ短縮することができる。
Further, by reading from the temporary file in designated units in accordance with the read instruction node, the number of times of access to the file is reduced as compared with the case of reading from the file for each node. Therefore, the assembler processing time can be further reduced. Specifically, in the conventional assembler processing apparatus, the time required when a given node is not in the memory and is loaded from a file is T3, and the number of times the given memory is not in the memory and loaded from a file is i times. In this case, the total time required for accessing the file is i × T3. On the other hand, in the present embodiment, the read instruction node analysis process is called, and the number of times of accessing the file is smaller than i. Therefore, assuming that the time required for the read instruction node analysis process is Tn, Tn <j × T3 holds. Therefore, since the total processing time in the conventional assembler processing is Tj = j × (T1 + T2) + j × T3, it is possible to reduce the time represented by Tj−Tn> j × (T1 + T2).

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

【図1】 本発明の1実施例にかかるアセンブラ処理装
置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an assembler processing apparatus according to one embodiment of the present invention.

【図2】 本実施例の参照情報テーブルと式情報テーブ
ルと中間コードとの関係を示す図である。
FIG. 2 is a diagram showing a relationship among a reference information table, an expression information table, and an intermediate code according to the embodiment.

【図3】 本実施例の参照情報テーブルと式情報テーブ
ルの構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a configuration of a reference information table and a formula information table according to the present embodiment.

【図4】 本実施例のメモリバッファの構成を示すブロ
ック図である。
FIG. 4 is a block diagram illustrating a configuration of a memory buffer according to the present embodiment.

【図5】 本実施例の構文解析部の動作を示すフローチ
ャートである。
FIG. 5 is a flowchart illustrating an operation of a syntax analysis unit according to the embodiment.

【図6】 本実施例のバッファリング処理の動作を示す
フローチャートである。
FIG. 6 is a flowchart illustrating an operation of a buffering process according to the present embodiment.

【図7】 本実施例のオペランド決定処理部の動作を示
すフローチャートである。
FIG. 7 is a flowchart illustrating an operation of an operand determination processing unit according to the embodiment;

【図8】 本実施例の式評価処理部の動作を示すフロー
チャートである。
FIG. 8 is a flowchart illustrating the operation of the expression evaluation processing unit according to the present embodiment.

【図9】 従来のアセンブラ処理装置の構成を示すブロ
ック図である。
FIG. 9 is a block diagram illustrating a configuration of a conventional assembler processing device.

【図10】 従来のアセンブラ処理装置における参照情
報テーブルと式情報テーブルと中間コードとの関係を示
す図である。
FIG. 10 is a diagram showing a relationship among a reference information table, an expression information table, and an intermediate code in a conventional assembler processing apparatus.

【図11】 従来のアセンブラ処理装置における参照情
報テーブルと式情報テーブルの構成を示すブロック図で
ある。
FIG. 11 is a block diagram showing a configuration of a reference information table and a formula information table in a conventional assembler processing apparatus.

【図12】 従来のアセンブラ処理装置の構文解析部の
動作を示すフローチャートである。
FIG. 12 is a flowchart illustrating an operation of a syntax analysis unit of a conventional assembler processing device.

【図13】 従来のアセンブラ処理装置のオペランド決
定処理部の動作を示すフローチャートである。
FIG. 13 is a flowchart illustrating an operation of an operand determination processing unit of a conventional assembler processing device.

【図14】 従来のアセンブラ処理装置の式評価処理部
の動作を示すフローチャートである。
FIG. 14 is a flowchart showing the operation of a formula evaluation processing unit of a conventional assembler processing device.

【符号の説明】[Explanation of symbols]

10 アセンブラ処理装置 11 ソースファイル入力部 12 構文解析部 13 参照情報テーブル 14 式情報テーブル 15 中間コード 16 式生成処理部 17 テンポラリファイル 18 式評価処理部 19 オペランド決定処理部 20 オブジェクトファイル出力部 DESCRIPTION OF SYMBOLS 10 Assembler processing apparatus 11 Source file input part 12 Syntax analysis part 13 Reference information table 14 Expression information table 15 Intermediate code 16 Expression generation processing part 17 Temporary file 18 Expression evaluation processing part 19 Operand determination processing part 20 Object file output part

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 仮想メモリ管理がない動作環境における
アセンブラ処理装置において、 ソースファイルを読み込む入力手段と、読み込んだソー
スファイルを構文解析する構文解析手段と、構文解析処
理において解析木の式を生成する式生成処理手段と、生
成された式を必要に応じて格納するテンポラリファイル
と、生成された式を評価する式評価処理手段と、前方参
照があった場合のオペランドの決定を行うオペランド決
定処理手段と、生成したオブジェクトファイルを出力す
る出力手段とを備え、 前記式生成処理手段が、解析木を蓄積するメモリバッフ
ァがオーバーフローとなった場合に生成中の解析木の式
の根に読み込み指示用のノードを挿入し、かつメモリバ
ッファの内容を前記テンポラリファイルに出力し、 前記式評価処理手段が、前記読み込み指示用のノードの
内容にしたがってテンポラリファイルからの読み込みを
行い、前記メモリバッファに格納することを特徴とする
アセンブラ処理装置。
In an assembler processing apparatus in an operating environment without virtual memory management, input means for reading a source file, syntax analysis means for parsing the read source file, and generating an expression of a parse tree in the syntax analysis processing Expression generation processing means, a temporary file for storing the generated expressions as needed, expression evaluation processing means for evaluating the generated expressions, and operand determination processing means for determining the operand when there is a forward reference And an output unit for outputting the generated object file, wherein the expression generation processing unit includes a read instruction for reading at the root of the expression of the analytic tree being generated when the memory buffer for storing the analytic tree overflows. Inserting a node, and outputting the contents of the memory buffer to the temporary file; An assembler processing apparatus for reading from a temporary file according to the contents of the read instruction node and storing the read data in the memory buffer.
【請求項2】 前記読み込み指示用のノードが、少なく
とも、読み込むファイルの位置、読み込むノードの数、
メモリバッファに読み込む位置、解析木の根へのポイン
タを有していることを特徴とする請求項1に記載のアセ
ンブラ処理装置。
2. The read instruction node includes at least a position of a file to be read, the number of nodes to be read,
2. The assembler processing apparatus according to claim 1, wherein the assembler processing apparatus has a position to be read into a memory buffer and a pointer to a root of an analysis tree.
【請求項3】 前記式評価処理手段が、前記読み込み指
示用のノードによって指示されるノードをすべて前記テ
ンポラリファイルから読み込んで前記メモリバッファに
格納することを特徴とする請求項2に記載のアセンブラ
処理装置。
3. The assembler process according to claim 2, wherein said expression evaluation processing means reads all nodes specified by said read instruction node from said temporary file and stores them in said memory buffer. apparatus.
【請求項4】 前記読み込み指示用のノードが、前記メ
モリバッファ上に格納されていることを特徴とする請求
項1ないし請求項3に記載のアセンブラ処理装置。
4. The assembler processing apparatus according to claim 1, wherein said read instruction node is stored in said memory buffer.
【請求項5】 仮想メモリ管理がない動作環境で、ソー
スファイルを読み込む工程と、読み込んだソースファイ
ルを構文解析する工程と、構文解析した結果に対して前
方参照があった場合のオペランドの決定を行う工程と、
オペランドを決定して生成されたオブジェクトファイル
を出力する工程とを備えたアセンブラ処理を行うアセン
ブラ処理方法おいて、 前記構文解析を行う工程が、 解析木を生成してメモリバッファに蓄積する工程と、 メモリバッファがオーバーフローとなった場合に生成中
の解析木の式の根に読み込み指示用のノードを挿入し、
かつメモリバッファの内容をテンポラリファイルに出力
する工程と、 生成された式を評価する工程とを備え、 前記式を評価する工程が、前記読み込み指示用のノード
の内容にしたがって前記テンポラリファイルからの読み
込みを行い、前記メモリバッファに格納する工程を備え
ることを特徴とするアセンブラ処理方法。
5. A step of reading a source file in an operating environment without virtual memory management, a step of parsing the read source file, and a step of determining an operand when a forward reference is made to a result of the parsing. Performing the steps;
Determining an operand and outputting a generated object file.In the assembler processing method for performing assembler processing, the step of performing the syntax analysis includes the steps of: generating a parse tree and storing the parse tree in a memory buffer; When the memory buffer overflows, insert a read instruction node at the root of the expression of the parse tree being generated,
And outputting the contents of the memory buffer to a temporary file; and evaluating the generated expression. The step of evaluating the expression includes reading from the temporary file according to the contents of the read instruction node. And storing the result in the memory buffer.
【請求項6】 前記オペランドの決定を行う工程が、生
成された式を評価する工程を備え、 前記式を評価する工程が、前記読み込み指示用のノード
の内容にしたがって前記テンポラリファイルからの読み
込みを行い、前記メモリバッファに格納する工程を備え
ることを特徴とする請求項5に記載のアセンブラ処理方
法。
6. The step of determining the operands includes the step of evaluating a generated expression, wherein the step of evaluating the expression includes reading from the temporary file according to contents of the read instruction node. 6. The assembler processing method according to claim 5, further comprising the step of: storing the data in the memory buffer.
JP21241095A 1995-07-28 1995-07-28 Assembler processing apparatus and assembler processing method Expired - Fee Related JP2827979B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21241095A JP2827979B2 (en) 1995-07-28 1995-07-28 Assembler processing apparatus and assembler processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21241095A JP2827979B2 (en) 1995-07-28 1995-07-28 Assembler processing apparatus and assembler processing method

Publications (2)

Publication Number Publication Date
JPH0944364A JPH0944364A (en) 1997-02-14
JP2827979B2 true JP2827979B2 (en) 1998-11-25

Family

ID=16622131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21241095A Expired - Fee Related JP2827979B2 (en) 1995-07-28 1995-07-28 Assembler processing apparatus and assembler processing method

Country Status (1)

Country Link
JP (1) JP2827979B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700440A (en) * 2023-02-17 2023-09-05 工业互联网创新中心(上海)有限公司 A method and device for parsing industrial internet logos

Also Published As

Publication number Publication date
JPH0944364A (en) 1997-02-14

Similar Documents

Publication Publication Date Title
US20090249307A1 (en) Program analysis apparatus, program analysis method, and program storage medium
JP3327818B2 (en) Program conversion device and recording medium
US20080178149A1 (en) Inferencing types of variables in a dynamically typed language
US5606697A (en) Compiler system for language processing program
JP3424520B2 (en) Program conversion device and debug device
JP2010211816A (en) Program code conversion method
JP2006505844A (en) Method and apparatus for performing verification of program code conversion
JP7587152B2 (en) COMMAND CONVERSION SUPPORT PROGRAM, COMMAND CONVERSION SUPPORT METHOD, AND INFORMATION PROCESSING APPARATUS
GB2308470A (en) Bit-width reduction of processor instructions
JP2827979B2 (en) Assembler processing apparatus and assembler processing method
JP2879099B1 (en) Abstract syntax tree processing method, computer readable recording medium recording abstract syntax tree processing program, computer readable recording medium recording abstract syntax tree data, and abstract syntax tree processing device
US6314564B1 (en) Method for resolving arbitrarily complex expressions at link-time
KR0125605B1 (en) Method and apparatus for converting architecture of a program and method and apparatus for verifying operation of a program using the method and apparatus
US8645758B2 (en) Determining page faulting behavior of a memory operation
JP7059757B2 (en) API processing method, terminal, API processing program
US7127711B2 (en) Forming an executable program
US6086632A (en) Register optimizing compiler using commutative operations
US7024664B2 (en) Symbolic assembly language
JPS5922140A (en) Interactive compilation method
JPH02176938A (en) Machine language instruction optimizing system
JP3323147B2 (en) Compiling device, compiling method, and recording medium recording compiler program
KR100277479B1 (en) How to compile a separate fill
JP2000132405A (en) Inline expansion processing apparatus and method
JPH07110758A (en) Compiling/linking system for program
JP2004362056A (en) Compiling device and link device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees