JPH0520089A - Assembly system - Google Patents

Assembly system

Info

Publication number
JPH0520089A
JPH0520089A JP1772691A JP1772691A JPH0520089A JP H0520089 A JPH0520089 A JP H0520089A JP 1772691 A JP1772691 A JP 1772691A JP 1772691 A JP1772691 A JP 1772691A JP H0520089 A JPH0520089 A JP H0520089A
Authority
JP
Japan
Prior art keywords
register
real
virtual
registers
virtual register
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
JP1772691A
Other languages
Japanese (ja)
Inventor
Hideaki Kogure
秀明 小暮
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1772691A priority Critical patent/JPH0520089A/en
Publication of JPH0520089A publication Critical patent/JPH0520089A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To prevent a bug from being generated and to shorten the time required for programming by lighting the burden on an operator in assembly processing. CONSTITUTION:On the memory of a processor, real register tables T0 and T1 showing the use states of actual registers used for the assembly processing and virtual register tables T100-T102 showing the use states of virtual registers for the real registers are set and when the register is specified with an assembler instruction, the processor retrieves the virtual register tables T100-T102 to confirm the use states of the real registers according to the information described in the virtual register tables T100-T102; and the processor assigns the real registers to be used and saves and reloads register values which are already set in the real registers.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業業上の利用分野】この発明は、アセンブリ方式に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an assembly system.

【0002】[0002]

【従来の技術】アセンブリ処理を実行する従来の処理装
置では、アセンブリ処理時に使用し得るレジスタ(例え
ば、アセンブラ命令中のオペランドとして使用できるレ
ジスタ)が実レジスタのみであり、コーディング作業時
には、オペレータ自身が逐次レジスタの割り当てや退避
を指示しなければならなかった。
2. Description of the Related Art In a conventional processing device that executes assembly processing, only registers that can be used during assembly processing (for example, registers that can be used as operands in assembler instructions) are real registers. I had to instruct to allocate and save serial registers.

【0003】[0003]

【発明が解決しようとする課題】しかし、レジスタの割
り当てや退避の指示は、複雑な作業であり、しかも、常
にレジスタの使用状況を正確に把握しておかねばならな
いため、これをオペレータ自身が行わなければならない
従来においては、オペレータにかかる負担が大きく、プ
ログラミングに要する時間が長引くとともに、バグ発生
の大きな要因となっていた。
However, the instruction of register allocation and save is a complicated task, and moreover, the use status of the register must be accurately grasped at all times. In the past, which had to be done, the burden on the operator was large, the time required for programming was prolonged, and this was a major factor in the occurrence of bugs.

【0004】本発明は、前記事情に鑑みてなされたもの
で、アセンブリ処理時におけるレジスタ割り当てや退避
といった作業を自動化して、オペレータにかかる負担を
軽減して、バグの発生を防止するとともに、プログラミ
ングに要する時間を短縮することのできるアセンブリ方
式を提供することを目的とする。
The present invention has been made in view of the above circumstances, and automates the work such as register allocation and saving during assembly processing to reduce the burden on the operator, prevent the occurrence of bugs, and perform programming. It is an object of the present invention to provide an assembly method that can reduce the time required for the assembly.

【0005】[0005]

【課題を解決するための手段】本発明に係るアセンブリ
方式では、アセンブリ処理を実行する処理装置のメモリ
には、当該処理装置内のアセンブリ処理に使用すべき実
レジスタの使用状況を表す実レジスタテーブルと、前記
実レジスタに対する仮想レジスタの使用状況を表す仮想
レジスタテーブルとを設定しておく。
In the assembly method according to the present invention, a real register table showing the usage status of real registers to be used for assembly processing in the processing device is stored in the memory of the processing device that executes the assembly processing. And a virtual register table indicating the use status of the virtual register with respect to the real register.

【0006】しかも、前記仮想レジスタテーブルには、
対応する実レジスタを書き込む実レジスタ情報欄と、退
避領域のアドレス値を書き込む退避アドレス情報欄とを
装備し、また、前記実レジスタテーブルには、対応する
仮想レジスタを書き込む仮想レジスタ情報欄と、その実
レジスタの使用頻度を書き込む使用頻度情報欄とを装備
しておく。
Moreover, in the virtual register table,
The real register information column for writing the corresponding real register and the save address information column for writing the address value of the save area are provided, and in the real register table, the virtual register information column for writing the corresponding virtual register and its real It is equipped with a usage frequency information column for writing the usage frequency of the register.

【0007】そして、アセンブラ命令でレジスタが指定
された場合には、仮想レジスタテーブルを前記処理装置
に検索させて、仮想レジスタテーブルに記述されている
情報に基づいて実レジスタの使用状況を確認させ、使用
する実レジスタの割り当てや、実レジスタに既設定のレ
ジスタ値の退避や復旧といった処理を前記処理装置に実
行させる。
When a register is designated by an assembler instruction, the processing unit is caused to retrieve the virtual register table, and the usage status of the real register is confirmed based on the information described in the virtual register table. The processing device is caused to execute processing such as allocation of a real register to be used, saving and restoration of register values already set in the real register.

【0008】[0008]

【作用】本発明に係るアセンブリ方式では、アセンブラ
命令でレジスタが指定された場合には、処理装置のメモ
リに設定しておいた仮想レジスタテーブルを前記処理装
置に検索させて、仮想レジスタテーブルに記述されてい
る情報に基づいて実レジスタの使用状況を確認させ、使
用する実レジスタの割り当てや、実レジスタに既設定の
レジスタ値の退避や復旧といった処理を前記処理装置に
実行させるため、アセンブリ処理時にオペレータ自身が
レジスタ割り当てやレジスタ値の退避や復旧といった作
業を行う必要がなく、アセンブリ処理時にオペレータに
かかる負担を軽減して、バグの発生を防止するととも
に、プログラミングに要する時間を短縮することができ
る。
In the assembly method according to the present invention, when a register is specified by the assembler instruction, the virtual register table set in the memory of the processor is searched by the processor and is written in the virtual register table. In order to confirm the usage status of the real register based on the information that is stored, to allocate the real register to be used, and to save and restore the register value already set in the real register in the processing device, the assembly process is performed. The operator does not need to perform work such as register allocation and saving / restoring register values, which reduces the burden on the operator during assembly processing, prevents bugs from occurring, and shortens programming time. ..

【0009】[0009]

【実施例】本発明に係るアセンブリ方式では、予め、ア
センブリ処理用の処理装置に、アセンブリ処理時に使用
することのできる仮想レジスタを設定しておいて、アセ
ンブリ処理時には、図1に示す手順で、仮想レジスタを
利用して実レジスタの割り当てや、レジスタ値の退避や
復旧といった処理を処理装置に実行させるものである。
前記処理装置のメモリ上には、処理装置内の各実レジス
タの使用状況を表すための実レジスタテーブルと、設定
した各仮想レジスタの使用状況を表すための仮想レジス
タテーブルとを作成して、それぞれのレジスタテーブル
内の記述によって、各実レジスタと仮想レジスタとを対
応付けする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In the assembly method according to the present invention, a virtual register that can be used during assembly processing is set in advance in a processing apparatus for assembly processing, and during assembly processing, the procedure shown in FIG. The virtual register is used to cause the processing device to execute processing such as allocation of real registers and saving and restoring of register values.
On the memory of the processing device, a real register table for representing the usage status of each real register in the processing device and a virtual register table for representing the usage status of each set virtual register are created, respectively. Each real register is associated with a virtual register according to the description in the register table of.

【0010】図2は、処理装置のメモリに作成された仮
想レジスタテーブルと実レジスタテーブルとの関係を示
したものである。図中の符号T100,T101,T1
02は仮想レジスタテーブルで、それぞれ仮想レジスタ
R100,R101,R102に対するものである。ま
た、符号T0,T1は実レジスタテーブルで、それぞれ
実レジスタR0,R1に対するものである。
FIG. 2 shows the relationship between the virtual register table and the real register table created in the memory of the processor. Reference numerals T100, T101, T1 in the figure
Reference numeral 02 is a virtual register table for virtual registers R100, R101, and R102, respectively. Further, reference numerals T0 and T1 are real register tables, which correspond to the real registers R0 and R1, respectively.

【0011】図示のように、仮想レジスタテーブルT1
00,T101,T102には、次の仮想レジスタテー
ブルを指示する次テーブル情報欄J1と、このテーブル
の仮想レジスタの番号が表示される仮想レジスタ番号欄
J2と、退避領域MAにおけるレジスタ値の格納場所が
書き込まれる退避アドレス情報欄J3と、対応する実レ
ジスタの番号が書き込まれる実レジスタ情報欄J4とを
装備している。なお、この一実施例では、作成した仮想
レジスタテーブル内の先頭のものおよび最終のものは、
それぞれ先頭ポインタP1,P2で指示しており、仮想
レジスタテーブルを検索する必要が生じた場合には、前
記先頭ポインタP1で指示されたものから検索を開始
し、以後、前記次テーブル情報欄J1の情報に基づいて
最終のテーブルまで順に検索するものとしている。
As shown, the virtual register table T1
00, T101, and T102, the next table information column J1 that indicates the next virtual register table, the virtual register number column J2 that displays the number of the virtual register of this table, and the storage location of the register value in the save area MA Equipped with a save address information column J3 in which is written, and a real register information column J4 in which the corresponding real register number is written. In this embodiment, the first and last ones in the created virtual register table are
When the pointers are designated by the head pointers P1 and P2, respectively, and when it becomes necessary to search the virtual register table, the search is started from the pointer designated by the head pointer P1, and thereafter, the next table information column J1 is searched. It is assumed that the final table is searched in order based on the information.

【0012】一方、実レジスタテーブルT0,T1に
は、このテーブルの実レジスタの番号が表示される実レ
ジスタ番号欄j1と、この実レジスタの使用頻度が書き
込まれる使用頻度情報欄j2と、その実レジスタに割り
当てられた仮想レジスタの番号が書き込まれる仮想レジ
スタ情報欄j3とを装備している。
On the other hand, in the real register tables T0 and T1, the real register number column j1 in which the numbers of the real registers in this table are displayed, the use frequency information column j2 in which the use frequency of this real register is written, and its real register are shown. And a virtual register information column j3 in which the number of the virtual register assigned to is written.

【0013】次に、前記一実施例のアセンブリ方式の特
徴である実レジスタの割り当て処理を、図1に基づいて
説明する。
Next, the real register allocating process, which is a feature of the assembly method of the first embodiment, will be described with reference to FIG.

【0014】この実レジスタの割り当て処理は、アセン
ブラ命令でレジスタが指定された場合に処理装置が実行
する処理で、アセンブラ命令でレジスタが指定された
ら、まず、メモリに登録済みの仮想レジスタテーブルを
検索して登録済みであるか否かを判断し、未登録であれ
ば、新規に仮想レジスタテーブルを作成し登録する(ス
テップS1,S2,S3)。
This real register allocation process is a process executed by the processor when a register is specified by the assembler instruction. When the register is specified by the assembler instruction, first, the virtual register table registered in the memory is searched. Then, it is determined whether or not it has been registered. If not registered, a new virtual register table is created and registered (steps S1, S2, S3).

【0015】なお、この一実施例の場合、仮想レジスタ
テーブルの検索方法は、前述したように、先頭ポインタ
P1で指示されたものから検索を開始し、以後、前記次
テーブル情報欄J1の情報に基づいて最終のテーブルま
で順にチェックしていく方法であるが、アセンブリに使
用するレジスタ数が多く、登録する仮想レジスタテーブ
ルの数が多数に及ぶ場合には、ハッシュ表等を使った効
率的な検索を行うこととする。
In the case of this embodiment, the virtual register table search method starts from the one pointed by the head pointer P1 as described above, and thereafter the information in the next table information column J1 It is a method to check the final table in order based on the above, but if the number of registers used for assembly is large and the number of virtual register tables to be registered is large, an efficient search using a hash table, etc. Will be done.

【0016】次いで、検索によって得た仮想レジスタテ
ーブルに、対応する実レジスタが登録されているか否か
を判断し(ステップS4)する。そして、仮想レジスタ
テーブルに実レジスタが登録されていない場合には、実
レジスタテーブルを検索して使用する実レジスタを選定
する(ステップS5)。なお、ステップS5において選
定する実レジスタは、アセンブラ命令で指定されたレジ
スタが実レジスタのときにはその指定されたものとする
が、アセンブラ命令で指定されたレジスタが仮想レジス
タのときには、存在する各実レジスタテーブルの記述に
基づいて、空いているもの(または、使用頻度が最も低
いもの)とする。
Then, it is judged whether or not the corresponding real register is registered in the virtual register table obtained by the search (step S4). If the real register is not registered in the virtual register table, the real register table is searched to select the real register to be used (step S5). The real register selected in step S5 is assumed to be the register specified by the assembler instruction when it is a real register. However, when the register specified by the assembler instruction is a virtual register, each existing real register exists. Based on the description in the table, it is vacant (or least frequently used).

【0017】次いで、使用する実レジスタを選定したな
ら、その実レジスタテーブルに仮想レジスタが登録され
ているか否かを判断し、登録されているなら指定された
仮想レジスタであるか否かを確認する(ステップS
6)。
Next, when the real register to be used is selected, it is judged whether or not the virtual register is registered in the real register table, and if it is registered, it is confirmed whether or not it is the designated virtual register ( Step S
6).

【0018】そして、指定以外の仮想レジスタが登録さ
れている場合には、まず、その実レジスタを解放する
(ステップS7)。ここに、解放とは、その実レジスタ
から退避領域MAにストア命令を出力して、その実レジ
スタテーブルに登録されている仮想レジスタのレジスタ
値を退避領域MAの所定のアドレスにストアさせた後
に、その実レジスタテーブルに登録されていた仮想レジ
スタをはずすことをいう。そして、解放した場合には、
その実レジスタテーブル上の使用頻度情報欄j2の値を
0に初期化する。なお、仮想レジスタを退避領域MAに
退避させる場合のアドレスは、仮想レジスタテーブルの
退避アドレス情報欄J3によるが、この情報欄にアドレ
ス値が未登録のときには、そのアドレス値を決定してか
ら、解放処理を行う。
When a virtual register other than the designated one is registered, the real register is first released (step S7). Here, release means that a store instruction is output from the real register to the save area MA to store the register value of the virtual register registered in the real register table at a predetermined address of the save area MA, and then the real register. It means removing the virtual register registered in the table. And when released,
The value of the usage frequency information column j2 on the real register table is initialized to 0. The address when the virtual register is saved in the save area MA depends on the save address information column J3 of the virtual register table. When the address value is not registered in this information column, the address value is determined and then released. Perform processing.

【0019】前述のステップS6で、選定した実レジス
タのテーブルに登録されている仮想レジスタが指定のも
のであったとき、その仮想レジスタのテーブルの記述を
確認する。そして、その仮想レジスタテーブルに実レジ
スタが登録されておらず、退避アドレスが登録されてい
れば、その退避アドレスに基づいて退避領域から選定し
た実レジスタにロード命令を出力してレジスタ値の復旧
を行い(ステップS8)、選定した実レジスタを割り当
てるレジスタとして仮想レジスタテーブルに登録して一
連の割り当て処理を終了する。
In step S6, when the virtual register registered in the selected real register table is the designated one, the description of the virtual register table is confirmed. If the real register is not registered in the virtual register table and the save address is registered, a load instruction is output to the real register selected from the save area based on the save address to restore the register value. Then, the selected real register is registered as a register to be allocated in the virtual register table, and a series of allocation processing is completed.

【0020】なお、前記ステップS9における処理で
は、実レジスタを仮想レジスタテーブル上へ登録する一
方で、登録した実レジスタの実レジスタテーブル上の使
用頻度情報欄j2の値を一つインクリメントする。
In the processing in step S9, while registering the real register on the virtual register table, the value of the usage frequency information column j2 on the real register table of the registered real register is incremented by one.

【0021】図3は、前記一実施例による実レジスタの
割り当て処理を、プログラムの具体例とともに示したマ
ップ図である。なお、この具体例では、処理装置上の使
用可能な実レジスタはR0,R1で、メモリに設定した
仮想レジスタは、R100,101としている。また、
図3において、左側の欄はプログラムの命令を示し、右
側の欄は一実施例によって割り当てた実レジスタの動作
を示している。命令は、からまでの五つで、は実
レジスタR0を指定してのフレームポインタ値0番地へ
のロード命令、は仮想レジスタR100を指定しての
フレームポインタ値4番地へのロード命令、は仮想レ
ジスタR100を指定してのフレームポインタ値8番地
へのストア(退避)命令、は仮想レジスタR101を
指定してのフレームポインタ値12番地へのロード命
令、は実レジスタR0を指定してのフレームポインタ
値0番地へのストア命令である。
FIG. 3 is a map diagram showing the real register allocation processing according to the above embodiment together with a concrete example of a program. In this specific example, real registers usable on the processing device are R0 and R1, and virtual registers set in the memory are R100 and 101. Also,
In FIG. 3, the left column shows the program instruction, and the right column shows the operation of the real register allocated according to one embodiment. There are five instructions from to, where is a load instruction to the frame pointer value 0 by designating the real register R0, is a load instruction to the frame pointer value 4 at the virtual register R100, and is a virtual A store (save) instruction to the frame pointer value 8 with the register R100 specified, a load instruction to the frame pointer value 12 with the virtual register R101 specified, and a frame pointer to the real register R0 specified It is a store instruction to the value 0.

【0022】この一実施例では、前述の図1の処理によ
って、の命令に対しては実レジスタR0を割り当てて
フレームポインタ値0番地へのロードを行い、の命令
に対しては実レジスタR1を割り当ててフレームポイン
タ値4番地へのロードを行い、の命令に対しては実レ
ジスタ1を割り当ててフレームポインタ値8番地へのス
トア(退避)を行う。そして、の命令に対しては、ま
ず、実レジスタR0のレジスタ値をスタックポインタ値
0番地にストアし、続いて、この実レジスタR0を割り
当ててフレームポインタ値12番地へのロードを行う。
の命令に対しては、まず実レジスタR0のレジスタ値
をスタックポインタ値12番地にストアし、続いて実レ
ジスタR0に退避させておいたスタックポインタ値0番
地のレジスタ値を復旧させ、続いて、その実レジスタR
0を割り当てて、フレームポインタ値0番地へのストア
を行う。
In this embodiment, by the process of FIG. 1 described above, the real register R0 is allocated to the instruction of, the frame pointer value 0 is loaded, and the real register R1 is loaded to the instruction of. It is allocated and loaded to the address 4 of the frame pointer value, and the real register 1 is allocated to the instruction of and stored (saved) to the address 8 of the frame pointer value. In response to the instruction, first, the register value of the real register R0 is stored in the stack pointer value 0, and then the real register R0 is allocated and loaded to the frame pointer value 12.
For the instruction of, the register value of the real register R0 is first stored in the stack pointer value 12 and then the register value of the stack pointer value 0 saved in the real register R0 is restored. Its real register R
0 is allocated and the frame pointer value 0 is stored.

【0023】以上に詳述したように、この一実施例で
は、アセンブラ命令でレジスタが指定された場合には、
処理装置のメモリに設定しておいた仮想レジスタテーブ
ルを前記処理装置に検索させて、仮想レジスタテーブル
に記述されている情報に基づいて実レジスタの使用状況
を確認させ、使用する実レジスタの割り当てや、実レジ
スタに既設定のレジスタ値の退避や復旧といった処理を
前記処理装置に実行させるため、アセンブリ処理時にオ
ペレータ自身がレジスタ割り当てやレジスタ値の退避や
復旧といった作業を行う必要がなく、アセンブリ処理時
にオペレータにかかる負担を軽減して、バグの発生を防
止するとともに、アセンブリ処理に要する時間を短縮す
ることができる。
As described in detail above, in this embodiment, when a register is designated by an assembler instruction,
The virtual register table set in the memory of the processing unit is searched by the processing unit, the usage status of the real register is confirmed based on the information described in the virtual register table, and allocation of the real register to be used and Since the processing unit executes the processing such as saving and restoring the register value already set in the real register, the operator does not need to perform the work such as register allocation and saving or restoring the register value during the assembly processing. It is possible to reduce the burden on the operator, prevent the occurrence of bugs, and shorten the time required for the assembly process.

【0024】なお、本発明のアセンブリ方式は、オペラ
ンド解析に限らず、レジスタの割り当てが必要となるア
センブリ処理全般に利用することができることは言うま
でもない。
Needless to say, the assembly method of the present invention can be used not only for the operand analysis but also for the whole assembly processing that requires register allocation.

【0025】[0025]

【発明の効果】以上の説明から明らかなように、本発明
に係るアセンブリ方式では、アセンブラ命令でレジスタ
が指定された場合には、処理装置のメモリに設定してお
いた仮想レジスタテーブルを前記処理装置に検索させ
て、仮想レジスタテーブルに記述されている情報に基づ
いて実レジスタの使用状況を確認させ、使用する実レジ
スタの割り当てや、実レジスタに既設定のレジスタ値の
退避や復旧といった処理を前記処理装置に実行させるた
め、アセンブリ処理時にオペレータ自身がレジスタ割り
当てやレジスタ値の退避や復旧といった作業を行う必要
がなく、アセンブリ処理時にオペレータにかかる負担を
軽減して、バグの発生を防止するとともに、プログラミ
ングに要する時間を短縮することができる。
As is apparent from the above description, in the assembly method according to the present invention, when a register is specified by the assembler instruction, the virtual register table set in the memory of the processing device is processed as described above. The device is made to search, the usage status of the real register is confirmed based on the information described in the virtual register table, the real register to be used is allocated, and the processing such as saving and restoring the register value already set in the real register is performed. Since the processing device executes the processing, it is not necessary for the operator to perform work such as register allocation and saving / restoring of register values during assembly processing, which reduces the burden on the operator during assembly processing and prevents the occurrence of bugs. The programming time can be shortened.

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

【図1】本発明の一実施例におけるレジスタ割り当て処
理の説明図である。
FIG. 1 is an explanatory diagram of register allocation processing according to an embodiment of the present invention.

【図2】本発明の一実施例におけるレジスタテーブルの
説明図である。
FIG. 2 is an explanatory diagram of a register table according to an embodiment of the present invention.

【図3】具体例を使った一実施例の作用説明図である。FIG. 3 is an explanatory view of the operation of one embodiment using a concrete example.

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

R0 実レジスタ R1 実レジスタ R100 仮想レジスタ R101 仮想レジスタ T0 実レジスタテーブル T1 実レジスタテーブル T100 仮想レジスタテーブル T101 仮想レジスタテーブル J1 次テーブル情報欄 J2 仮想レジスタ番号欄 J3 退避アドレス情報欄 J4 実レジスタ情報欄 j1 実レジスタ番号欄 j2 使用頻度情報欄 j3 仮想レジスタ情報欄 R0 real register R1 real register R100 virtual register R101 virtual register T0 real register table T1 real register table T100 virtual register table T101 virtual register table J1 next table information column J2 virtual register number column J3 save address information column J4 real register information column j1 real Register number column j2 Usage frequency information column j3 Virtual register information column

Claims (1)

【特許請求の範囲】 【請求項1】 アセンブリ処理を実行する処理装置のメ
モリには、当該処理装置内のアセンブリ処理に使用すべ
き実レジスタの使用状況を表す実レジスタテーブルと、
前記実レジスタに対する仮想レジスタの使用状況を表す
仮想レジスタテーブルとを設定しておき、 しかも、前記仮想レジスタテーブルには、対応する実レ
ジスタを書き込む実レジスタ情報欄と、退避領域のアド
レス値を書き込む退避アドレス情報欄とを装備し、ま
た、前記実レジスタテーブルには、対応する仮想レジス
タを書き込む仮想レジスタ情報欄と、その実レジスタの
使用頻度を書き込む使用頻度情報欄とを装備しておき、 アセンブラ命令でレジスタが指定された場合には、仮想
レジスタテーブルを前記処理装置に検索させて、仮想レ
ジスタテーブルに記述されている情報に基づいて実レジ
スタの使用状況を確認させ、使用する実レジスタの割り
当てや、実レジスタに既設定のレジスタ値の退避や復旧
といった処理を前記処理装置に実行させることを特徴と
したアセンブリ方式。
Claim: What is claimed is: 1. A memory of a processing device that executes an assembly process, and a real register table that represents a usage state of a real register to be used for the assembly process in the processing device.
A virtual register table indicating the usage status of the virtual register for the real register is set, and further, in the virtual register table, a real register information column for writing the corresponding real register and a save for writing the address value of the save area are saved. The real register table is provided with a virtual register information column for writing the corresponding virtual register and a usage frequency information column for writing the usage frequency of the real register. When a register is specified, the processor is searched for the virtual register table, the usage status of the real register is confirmed based on the information described in the virtual register table, and the allocation of the real register to be used, Processing such as saving and restoring the register values already set in the actual registers can be performed by the processing device. Assembly scheme, characterized in that to the row.
JP1772691A 1991-02-08 1991-02-08 Assembly system Pending JPH0520089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1772691A JPH0520089A (en) 1991-02-08 1991-02-08 Assembly system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1772691A JPH0520089A (en) 1991-02-08 1991-02-08 Assembly system

Publications (1)

Publication Number Publication Date
JPH0520089A true JPH0520089A (en) 1993-01-29

Family

ID=11951752

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1772691A Pending JPH0520089A (en) 1991-02-08 1991-02-08 Assembly system

Country Status (1)

Country Link
JP (1) JPH0520089A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9542185B2 (en) 2013-07-19 2017-01-10 International Business Machines Corporation Allocation method, apparatus, and program for managing architectural registers and physical registers using mapping tables

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9542185B2 (en) 2013-07-19 2017-01-10 International Business Machines Corporation Allocation method, apparatus, and program for managing architectural registers and physical registers using mapping tables
US9891925B2 (en) 2013-07-19 2018-02-13 International Business Machines Corporation Allocation method, apparatus, and program for managing architectural registers and physical registers using mapping tables

Similar Documents

Publication Publication Date Title
JPH0520089A (en) Assembly system
JPS5835648A (en) Program execution controlling system
JP2504151B2 (en) Data processing device
JPS59106017A (en) Testing of input/output controller
JP2658699B2 (en) Method of managing device under test of input / output device test program
JPH07152574A (en) Program loading system
JP2845694B2 (en) Data processing device
JP3399741B2 (en) Dump data display method and failure analysis system
JPH08235029A (en) Storage method for system fault information
JPH0689299A (en) Automatic input picture setting system
JPH05143422A (en) Updated journal managing system
JPH02100146A (en) Trace decision system
JPH0844570A (en) System and method for program execution
JPH021034A (en) Program control system
JPH03252826A (en) Test data processing system
JPS5933564A (en) Display system of access address of external storage device
JPH0421028A (en) Register managing method
JPS61202239A (en) Information processor
JPS61235925A (en) Operating system for electronic computer system
JPH03282636A (en) Data storing method for execution of test package
JPS6393049A (en) Program debug device
JPS5968067A (en) Specifying system for number of run steps
JPH08106381A (en) Program evaluation test method
JPH09167104A (en) Debugging device for memory non-shared system
JPS62281040A (en) Page managing system