JPH05181670A - Microprogram system computer - Google Patents

Microprogram system computer

Info

Publication number
JPH05181670A
JPH05181670A JP4000392A JP39292A JPH05181670A JP H05181670 A JPH05181670 A JP H05181670A JP 4000392 A JP4000392 A JP 4000392A JP 39292 A JP39292 A JP 39292A JP H05181670 A JPH05181670 A JP H05181670A
Authority
JP
Japan
Prior art keywords
macro instruction
executed
microprogram
macro
instruction
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.)
Withdrawn
Application number
JP4000392A
Other languages
Japanese (ja)
Inventor
Takahito Noda
敬人 野田
Kazuyasu Nonomura
一泰 野々村
Yuji Kamisaka
裕士 神阪
Toru Watabe
徹 渡部
Takumi Maruyama
拓巳 丸山
Takumi Takeno
巧 竹野
Shinya Kato
慎哉 加藤
Chiyonsuwannapaisaan Poonshiyai
チョンスワンナパイサーン ポーンシャイ
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4000392A priority Critical patent/JPH05181670A/en
Publication of JPH05181670A publication Critical patent/JPH05181670A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate the addition of macro instructions and to reduce control memory capacity. CONSTITUTION:A main storage region 1 for software and a microinstruction storage region 3 to store micro instructions V-Z required for executing any specified macro instruction B, for example, having no microprogram to be executed are provided in one memory space and when executing a macro instruction sequence containing the specified macro instruction B stored in the main storage region, this specified macro instruction B is executed by the macro instructions V-Z which are stored in the macro instruction storage region 3 and can be executed by the microprogram already stored in a control memory.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マイクロプログラム方
式の計算機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprogram type computer.

【0002】[0002]

【従来例】コンピュータの中央処理装置は一連の命令
(プログラム)を次々と主記憶装置から読み出し、解読
して演算を実行してゆく制御機能を有している。制御動
作は逐次的に行なわれ、複雑なシーケンス制御回路によ
って実現されてきた。このシーケンス制御をプログラム
制御化したものがマイクロプログラム方式である。この
方式ではマイクロプログラムは高速の専用記憶装置(マ
イクロプログラムメモリ)に格納され、1つの命令は多
数のマイクロ命令の組み合せであるマイクロプログラム
で実行されてゆく。
2. Description of the Related Art A central processing unit of a computer has a control function of successively reading out a series of instructions (programs) from a main storage device, decoding them, and executing operations. The control operation is performed sequentially and has been realized by a complicated sequence control circuit. The program control of this sequence control is the microprogram system. In this method, the microprogram is stored in a high-speed dedicated storage device (microprogram memory), and one instruction is executed by the microprogram which is a combination of many microinstructions.

【0003】図4はマイクロプログラム方式のシーケン
ス制御を説明する図である。シーケンス制御は、基本動
作とその結果の状態情報により次の基本動作を選択する
形で1ステップずつ進行してゆく。この1つ1つのステ
ップをプログラムを実行する形に置き換えたものがマイ
クロプログラム方式で、マイクロ命令の実行という形で
基本動作を行い、その結果の状態情報で次のマイクロ命
令を選択することでシーケンス制御が実現される。
FIG. 4 is a diagram for explaining the sequence control of the micro program system. The sequence control proceeds step by step in such a manner that the next basic operation is selected according to the basic operation and the resulting state information. The microprogram system replaces each of these steps with the form of executing a program, and performs a basic operation in the form of execution of a microinstruction, and selects the next microinstruction based on the resulting state information. Control is realized.

【0004】マイクロプログラム方式では各命令(マク
ロ命令)に対応してデータ構造(各種レジスタ、ALU
など)を制御するためのマイクロ命令(各種レジスタや
ALUなどへのゲートの制御命令など)の集合(マイク
ロプログラム又はマイクロ命令列)があり、命令語のオ
ペレーションコードによっていずれかのマイクロプログ
ラムが選択される。マイクロ命令は解読されて、データ
構造各部への制御信号となり、1ステップごとに新しい
マイクロ命令が読み出されてくる。
In the microprogram system, a data structure (various registers, ALU) is associated with each instruction (macro instruction).
There is a set (microprogram or microinstruction string) of microinstructions (control instructions for gates to various registers and ALUs, etc.) for controlling the It The microinstruction is decoded and becomes a control signal to each part of the data structure, and a new microinstruction is read out step by step.

【0005】順番にマイクロプログラム命令を読み出す
だけでよいときには、アドレスに+1することで次のマ
イクロ命令のアドレスが得られるが、マイクロ命令自体
の中に次に実行すべきマイクロ命令のアドレスを持って
いる方式もある。あるマイクロ命令を実行した結果とし
て変化したデータ構造の内部状態によって制御シーケン
スを変更したいときには、この状態情報でアドレスを修
飾して次のマイクロ命令を読み出す。
When it is sufficient to read the microprogram instructions in order, the address of the next microinstruction can be obtained by incrementing the address by 1. However, if the microinstruction itself has the address of the next microinstruction to be executed. There is also a method. When it is desired to change the control sequence according to the internal state of the data structure changed as a result of executing a certain microinstruction, the address is modified by this state information and the next microinstruction is read.

【0006】従来、全てのマクロ命令の実行には必要な
マイクロプログラムがそれぞれ用意されており、マクロ
命令の種類だけマイクロプログラム命令列が必要であっ
た。図5はこのようなマクロ命令よりなるマイクロプロ
グラムの実行を示した図である。命令A〜Cは、それぞ
れマイクロプログラム列より直接構成されている。
Conventionally, necessary microprograms have been prepared for the execution of all macroinstructions, and microprogram instruction sequences have been required for each type of macroinstruction. FIG. 5 is a diagram showing execution of a microprogram including such macro instructions. Each of the instructions A to C is directly composed of a microprogram sequence.

【0007】図6は図5に示す命令を実行する場合の主
記憶領域を示したもので、プログラムとしてA,B,C
が記憶され、A,B,Cの順に実行される状態を示す。
図7はこのプログラムと図4に示したマイクロプログラ
ム用メモリ(制御記憶)との関係を示す図で、具体例
で、ADD 命令(マクロ命令)が出てくるとそれ用のマイ
クロプログラムが選択されて実行され、次にCOMPARE 命
令が出てくると、この命令用のマイクロプログラムが選
択されて実行される様子を示している。
FIG. 6 shows a main memory area when the instructions shown in FIG. 5 are executed, and programs A, B and C are shown.
Is stored and is executed in the order of A, B, and C.
FIG. 7 is a diagram showing the relationship between this program and the microprogram memory (control memory) shown in FIG. 4. In a specific example, when an ADD instruction (macro instruction) comes out, the microprogram for it is selected. When the COMPARE instruction comes out next, the microprogram for this instruction is selected and executed.

【0008】[0008]

【発明が解決しようとする課題】上述のように制御記憶
には使用される全てのマクロ命令の実行に必要なマイク
ロプログラムを格納しておく必要がある。このため、マ
クロ命令の種類が多いほどマイクロプログラム命令列の
種類が多くなり、1つ1つのマクロ命令の機能が複雑で
あればある程、それを実行するマイクロプログラム列の
大きさ(ステップ数)も大きくなり、大きな容量の制御
記憶が必要となった。また、そうした場合、マクロ命令
を新しく追加すると、その分新しく制御記憶の容量が必
要となった。
As described above, it is necessary to store the microprogram necessary for executing all the macro instructions used in the control memory. Therefore, the more kinds of macro instructions there are, the more kinds of micro program instructions become, and the more complicated the function of each macro instruction becomes, the larger the size (number of steps) of the micro programs executed. Also became large and required a large amount of control memory. Further, in such a case, when a macro instruction is newly added, a new control storage capacity is required accordingly.

【0009】制御記憶は、通常、高速で比較的小容量の
メモリで構成されているため、その総ステップ数には限
りがあり、容量が一杯になると、新しい命令が追加でき
ない。また、このような容量不足を予測して当初から高
価な高速・大容量メモリを設ける必要があった。
Since the control memory is usually composed of a high-speed and relatively small-capacity memory, the total number of steps is limited, and when the capacity is full, new instructions cannot be added. Further, it has been necessary to provide an expensive high-speed and large-capacity memory from the beginning in anticipation of such a capacity shortage.

【0010】本発明は上述の問題点に鑑みてなされたも
ので、新たなマクロ命令の追加を容易にし、かつ制御記
憶を小さな容量で実現するマイクロプログラム方式計算
機を提供することを目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a microprogram type computer which facilitates addition of a new macro instruction and realizes control storage with a small capacity.

【0011】[0011]

【課題を解決するための手段】上述目的を達成するた
め、1つのメモリ空間にソフトウェア用の主記憶領域
と、実行するマイクロプログラムを有しない特定のマク
ロ命令を実行するに必要なマクロ命令を格納するマクロ
命令格納領域3とセーブ領域4を有するマイクロプログ
ラム作業領域2とを設け、前記主記憶領域1に格納され
た前記特定のマクロ命令を含むマクロ命令列を実行する
に際し、前記特定のマクロ命令の実行を前記マクロ命令
格納領域3に格納したものであって、制御記憶に既に格
納してあるマイクロプログラムにより実施可能なマクロ
命令により実行するようにしたものである。
To achieve the above object, a main memory area for software and a macro instruction necessary for executing a specific macro instruction having no microprogram to be executed are stored in one memory space. A macro program work area 2 having a macro instruction storage area 3 and a save area 4 is provided to execute the macro instruction sequence including the particular macro instruction stored in the main memory area 1 when executing the particular macro instruction. Is stored in the macroinstruction storage area 3, and is executed by a macroinstruction which can be executed by the microprogram already stored in the control memory.

【0012】また、前記特定のマクロ命令を実行する場
合は、この特定のマクロ命令の次のマクロ命令の実行を
続けるのに必要なハードウェア資源を前記セーブ領域4
にセーブし、割り込みをマスク状態にし、エミュレート
モードを示すフラグをオンにして前記マクロ命令格納領
域3に格納されたマクロ命令列を実行し、このマクロ命
令列の最後に設けられたエミュレートフラグがオンなら
ばエミュレートの完了を示す特別のマクロ命令を設け、
このマクロ命令を実行すると前記フラグをオフにして前
記セーブ領域にセーブしたハードウェア資源をリストア
し、次のマクロ命令の実行に移るようにしたものであ
る。
When executing the specific macro instruction, the save area 4 is provided with the hardware resources necessary for continuing the execution of the macro instruction next to the specific macro instruction.
, The interrupt is masked, the flag indicating the emulation mode is turned on, the macro instruction sequence stored in the macro instruction storage area 3 is executed, and the emulation flag provided at the end of the macro instruction sequence is executed. If is turned on, a special macro instruction indicating the completion of emulation is provided,
When this macro instruction is executed, the flag is turned off to restore the hardware resources saved in the save area, and the next macro instruction is executed.

【0013】[0013]

【作用】上記構成により、特定のマクロ命令を実行する
場合は、マクロ命令格納領域に格納されたマクロ命令を
実行するが、このマクロ命令としては制御記憶に既に格
納してあるマイクロプログラムにより実行可能なマクロ
命令を用いるので、制御記憶にこの特定のマクロ命令用
のマイクロプログラムを予め格納しておく必要がない。
このため、制御記憶容量を大きくする必要がなく、かつ
新たなマクロ命令の追加も容易に行える。なお、当然の
ことであるが主記憶に格納された特定のマクロ命令以外
のマクロ命令は制御記憶に格納された対応するマイクロ
プログラムで実行される。
With the above structure, when a specific macro instruction is executed, the macro instruction stored in the macro instruction storage area is executed, but this macro instruction can be executed by the microprogram already stored in the control memory. Since such a macro instruction is used, it is not necessary to previously store the microprogram for this specific macro instruction in the control memory.
Therefore, it is not necessary to increase the control storage capacity, and a new macro instruction can be easily added. As a matter of course, macroinstructions other than the specific macroinstruction stored in the main memory are executed by the corresponding microprogram stored in the control memory.

【0014】また、特定のマクロ命令実行時は、次のマ
クロ命令を実行するのに必要なプログラムカウンタ、汎
用レジスタなどのハードウェア資源をセーブ領域にセー
ブし、割り込みをマスク状態にして割り込みを阻止し、
エミュレートモードを示すフラグをオンにしてから、マ
クロ命令格納領域に格納されたマクロ命令を読み出して
実行し、このマクロ命令列の最後に設けられたエミュレ
ートフラグがオンならばエミュレートの完了を示す特別
のマクロ命令を設け、このマクロ命令を実行すると前記
フラグをオフにして、セーブ領域にセーブしたハードウ
ェア資源をそれぞれのレジスタに戻し、次にマクロ命令
を実行する。
When a specific macro instruction is executed, hardware resources such as a program counter and general-purpose registers necessary for executing the next macro instruction are saved in a save area, and interrupts are masked to prevent interrupts. Then
After turning on the flag indicating the emulation mode, the macro instruction stored in the macro instruction storage area is read and executed. If the emulation flag provided at the end of this macro instruction sequence is on, the emulation is completed. The special macro instruction shown is provided, and when this macro instruction is executed, the flag is turned off, the hardware resources saved in the save area are returned to the respective registers, and then the macro instruction is executed.

【0015】[0015]

【実施例】以下、本発明の実施例を図面を参照して説明
する。本発明は、マイクロプログラム方式の計算機にお
いて、複雑なマクロ命令や追加するマクロ命令を、既存
のマイクロプログラムまたはハードワイヤードで実行す
る手段のある基本的または既存の(インプリメント済
の)マクロ命令を使って、ソフトウェアにはまるで、そ
の命令を実行しているかのごとくエミュレートするもの
である。
Embodiments of the present invention will be described below with reference to the drawings. The present invention uses a basic or existing (implemented) macro instruction having a means for executing a complicated macro instruction or a macro instruction to be added by an existing microprogram or hardwired in a microprogram type computer. , Software emulates as if it were executing the instruction.

【0016】エミュレートプログラムは上述の基本的ま
たは既存のマクロ命令で記述し、その命令はメモリ空間
のマクロ命令格納領域に展開しておき、対象のマクロ命
はそのエミュレートプログラムで実行することにより実
行される。そのためには、通常のマイクロプログラム方
式の装置の機能の外に次の機能を設けている。
The emulated program is described by the above-mentioned basic or existing macro instruction, the instruction is expanded in the macro instruction storage area of the memory space, and the target macro instruction is executed by the emulated program. Executed. For that purpose, the following functions are provided in addition to the functions of the usual microprogram system.

【0017】特定のマクロ命令(エミュレート対象の
命令)の場合、プログラムカウンタや汎用レジスタの内
容などのようにエミュレート後、その特定のマクロ命令
の次の命令の実行を続けるために必要なハードウェア資
源をセーブする機能 エミュレート中を示すエミュレートフラグ エミュレート中エミュレートのためのマクロ命令を実
行するとき割り込みを抑止する機能 エミュレートの最後を示すマクロ命令。このマクロ命
令はエミュレート中はエミュレート終了を示し(エミュ
レート中以外は特に定義してもよいし、しなくてもよ
い)、エミュレートした命令の次のマクロ命令に処理を
移す機能を有する。 エミュレート終了命令により、エミュレートフラグを
オフし、先にセーブしたデータをそれぞれのレジスタな
どにリストアし、次のマクロ命令の実行に移る。
In the case of a specific macro instruction (instruction to be emulated), the hardware necessary for continuing execution of the instruction next to the specific macro instruction after emulation such as the contents of the program counter and general-purpose register. Function that saves hardware resources Emulate flag that indicates that emulation is in progress Function that suppresses interrupts when a macro instruction for emulation is being executed Macro instruction that indicates the end of emulation. This macro instruction indicates the end of emulation during emulation (it may or may not be specially defined except during emulation), and has the function of shifting processing to the macro instruction following the emulated instruction. .. By the emulation end instruction, the emulation flag is turned off, the previously saved data is restored to each register, and the next macro instruction is executed.

【0018】図1はマクロ命令A,B,Cを実行する場
合マクロ命令Bに本発明を適用した場合の実施例を示
す。図2はこの場合の主記憶の状態を示す。マクロ命令
A、Cは図4,図7で説明したようにマイクロプログラ
ム用メモリから読み出されて実行される。マクロ命令B
を実行するに必要なマクロ命令V,W,X,Y,Zは、
図2に示すようにマクロ命令作業領域に格納されてい
る。これらマクロ命令V〜Zは制御記憶に既に格納され
ているマイクロプログラムにより実行される。
FIG. 1 shows an embodiment in which the present invention is applied to the macro instruction B when the macro instructions A, B and C are executed. FIG. 2 shows the state of the main memory in this case. The macro instructions A and C are read from the microprogram memory and executed as described with reference to FIGS. Macro instruction B
The macro instructions V, W, X, Y, Z required to execute
It is stored in the macro instruction work area as shown in FIG. These macro instructions V to Z are executed by the micro program already stored in the control memory.

【0019】図1のSには次の動作をするマイクロ命令
が入っている。マクロ命令Bを検出すると、プログラム
カウンタや汎用レジスタ等のハード資源を図2に示すセ
ーブ領域Rにセーブし、エミュレートモードフラグをオ
ンにして割り込みを禁止し(マスクする)、プログラム
カウンタにエミュレートプログラムを実行するマクロ命
令列の先頭アドレスをセットし、エミュレートプログラ
ムの実行を開始させる。
S in FIG. 1 contains microinstructions for performing the following operations. When the macro instruction B is detected, the hardware resources such as the program counter and general-purpose registers are saved in the save area R shown in FIG. 2, the emulation mode flag is turned on to disable (mask) the interrupt, and the program counter is emulated. Set the start address of the macro instruction sequence that executes the program and start execution of the emulated program.

【0020】また、図1のTには、セーブ領域Rにセー
ブしたデータを元のレジスタ等にリストアするマクロ命
令が入っている。なお、プログラムカウンタをリストア
するときはマクロ命令Bの命令長さを加算する。
Further, T in FIG. 1 contains a macro instruction for restoring the data saved in the save area R to the original register or the like. When restoring the program counter, the instruction length of the macro instruction B is added.

【0021】次に図1,図2の動作を説明する。マクロ
命令Aの実行が終り、次にマクロ命令Bを検出すると、
エミュレート開始を指示するマイクロ命令列の実行を開
始する。そこにはプログラムカウンタ、汎用レジスタや
割り込みマスクをセーブ領域Rにセーブし、割り込みを
マスクし(割り込み禁止状態にし)て、エミュレートフ
ラグをオンにし、その後、マクロ命令をエミュレートす
るマクロ命令列の先頭アドレスをプログラムカウンタに
セットするマイクロ命令またはマイクロ命令列が入って
いる。
Next, the operation of FIGS. 1 and 2 will be described. When the macro instruction B is detected and the macro instruction B is detected next,
Starts execution of the micro instruction sequence that instructs emulation start. There, a program counter, a general-purpose register, and an interrupt mask are saved in the save area R, interrupts are masked (interrupts are disabled), an emulation flag is turned on, and then a macro instruction sequence for emulating macro instructions is written. Contains a microinstruction or microinstruction string that sets the start address in the program counter.

【0022】このマイクロプログラムを実行すると、エ
ミュレーションプログラムが起動される。当然、このエ
ミュレート用のマクロ命令列V〜Zはマクロ命令である
から、それぞれのマクロ命令に対応してマイクロプログ
ラムが順次起動されることになる。これでマクロ命令B
をマクロ命令作業領域に組み込み済のマクロ命令V〜Z
でエミュレートしていることになる。
When the micro program is executed, the emulation program is activated. As a matter of course, since the emulation macro instruction sequences V to Z are macro instructions, the micro programs are sequentially activated corresponding to the respective macro instructions. This is macro command B
Of macro commands V to Z already incorporated in the macro command work area
You are emulating with.

【0023】やがてエミュレートの最後でマクロ命令Z
の実行に入る。この命令はエミュレートモードフラグオ
ンのときはエミュレート終了を意味する。(エミュレー
トフラグがオフのときは本実施例では特に定めていない
が、未定義命令と認識する機能を持たせるとよい。)こ
のマクロ命令Zの実行に入ると、その実行マイクロ命令
は先程セーブしておいた割り込みマスクをプログラムカ
ウンタとともにリストアし、エミュレートフラグをオフ
にする。これにより、マクロ命令Cから実行を始めるこ
とになる。この過程でマクロ命令はA,B,Cと順に実
行されたことになる。
Eventually, at the end of emulation, the macro instruction Z
To run. This instruction means the end of emulation when the emulation mode flag is on. (When the emulation flag is off, it is not specified in this embodiment, but it is preferable to have a function of recognizing an undefined instruction.) When the execution of this macro instruction Z is started, the execution micro instruction is saved. The interrupt mask that was saved is restored together with the program counter, and the emulation flag is turned off. As a result, execution is started from the macro instruction C. In this process, the macro instruction is executed in the order A, B, C.

【0024】図3はマクロ命令Bの具体例を示したもの
である。マクロ命令Bは図に示すようにマクロ命令AD
D、MLT、ADD、DIVおよびエミュレート終了命
令よりなり、これらのマクロ命令はこれに対応するマイ
クロプログラムより実施される。
FIG. 3 shows a specific example of the macro instruction B. The macro instruction B is a macro instruction AD as shown in the figure.
It consists of D, MLT, ADD, DIV and emulate end instructions, and these macro instructions are executed by the corresponding microprogram.

【0025】このように本実施例を用いた場合の利点を
次に示す。 高価な制御記憶の容量を節約できる。 ハードウェアを変更しても、エミュレーションプログ
ラムは、使用する計算機アーキテクチャーで記述されて
いるため変更する必要はない。即ち一度作成したエミュ
レートプログラムは以降も使用できる。これに対してマ
イクロ命令はハードウェアの変更に伴って変わるため、
ハードウェアを変更するとマイクロプログラムも変更す
る必要がある。 マクロ命令Bに対応するマイクロプログラムを作成し
て制御記憶に格納する必要がないのでこの作成に要する
工数を節約できる。 また、以降はこのエミュレートプログラムを使用でき
るのでバグ等の必要はなくなり計算機の信頼性が向上す
る。
The advantages of using this embodiment as described above are as follows. The capacity of expensive control storage can be saved. Even if the hardware is changed, the emulation program does not need to be changed because it is written in the computer architecture used. That is, the emulated program created once can be used thereafter. On the other hand, microinstructions change as the hardware changes, so
If you change the hardware, you also need to change the microprogram. Since it is not necessary to create a microprogram corresponding to the macro instruction B and store it in the control memory, the number of steps required for this creation can be saved. Further, since this emulation program can be used thereafter, the need for bugs is eliminated and the reliability of the computer is improved.

【0026】[0026]

【発明の効果】以上の説明から明らかなように、本発明
は必ずしもマクロ命令を高価な制御装置に格納しなくて
もよいので、計算機のコストを低くすることができ、ま
た制御記憶の容量を考慮することなく、マクロ命令を追
加することができる。
As is apparent from the above description, the present invention does not necessarily store macro instructions in an expensive control unit, so that the cost of the computer can be reduced and the capacity of control storage can be reduced. Macro instructions can be added without consideration.

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

【図1】本発明の実施例の命令実行順序を示す図であ
る。
FIG. 1 is a diagram showing an instruction execution order according to an embodiment of the present invention.

【図2】実施例の実行時の主記憶領域を示す図である。FIG. 2 is a diagram showing a main storage area during execution of the embodiment.

【図3】マクロ命令Bの具体例を示す図である。FIG. 3 is a diagram showing a specific example of a macro instruction B.

【図4】マイクロプログラム方式のシーケンス制御を説
明する図である。
FIG. 4 is a diagram illustrating sequence control of a micro program system.

【図5】従来例の命令実行順序を説明する図である。FIG. 5 is a diagram illustrating an instruction execution order of a conventional example.

【図6】従来例の主記憶領域を示す図である。FIG. 6 is a diagram showing a main storage area of a conventional example.

【図7】主記憶上のプログラムとマイクロプログラム用
メモリとの関係を説明する図である。
FIG. 7 is a diagram illustrating a relationship between a program on a main memory and a microprogram memory.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 渡部 徹 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 丸山 拓巳 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 竹野 巧 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 加藤 慎哉 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 ポーンシャイ チョンスワンナパイサーン 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Toru Watanabe 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor, Takumi Maruyama 1015, Kamedotachu, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited ( 72) Inventor Takumi Takeno, 1015 Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa, Fujitsu Limited (72) Inventor Shinya Kato, 1015, Kamikodanaka, Nakahara-ku, Kawasaki, Kanagawa Prefecture, Fujitsu Limited (72) Inventor, Pawnshy Chon Suvarnapa Isan 1015 Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Within Fujitsu Limited

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 1つのメモリ空間にソフトウェア用の主
記憶領域(1)と、実行するマイクロプログラムを有し
ない特定のマクロ命令を実行するに必要なマクロ命令を
格納するマクロ命令格納領域(3)とセーブ領域(4)
を有するマイクロプログラム作業領域(2)とを設け、
前記主記憶領域(1)に格納された前記特定のマクロ命
令を含むマクロ命令列を実行するに際し、前記特定のマ
クロ命令の実行を前記マクロ命令格納領域(3)に格納
したものであって、制御記憶に既に格納してあるマイク
ロプログラムにより実施可能なマクロ命令により実行す
るようにしたことを特徴とするマイクロプログラム方式
計算機。
1. A main memory area for software (1) in one memory space and a macro instruction storage area (3) for storing a macro instruction necessary for executing a specific macro instruction having no microprogram to be executed. And save area (4)
And a microprogram work area (2) having
An execution of the specific macro instruction is stored in the macro instruction storage area (3) when a macro instruction sequence including the specific macro instruction stored in the main storage area (1) is executed; A microprogram type computer characterized by being executed by a macro instruction which can be executed by a microprogram already stored in a control memory.
【請求項2】 前記特定のマクロ命令を実行する場合
は、この特定のマクロ命令の次のマクロ命令の実行を続
けるのに必要なハードウェア資源を前記セーブ領域
(4)にセーブし、割り込みをマスク状態にし、エミュ
レートモードを示すフラグをオンにして前記マクロ命令
格納領域(3)に格納されたマクロ命令列を実行し、こ
のマクロ命令列の最後に設けられたエミュレートフラグ
がオンならばエミュレートの完了を示す特別のマクロ命
令を設け、このマクロ命令を実行すると前記フラグをオ
フにして前記セーブ領域にセーブしたハードウェア資源
をリストアし次のマクロ命令の実行に移るようにしたこ
とを特徴とする請求項1記載のマイクロプログラム方式
計算機。
2. When executing the specific macro instruction, the hardware resource necessary for continuing the execution of the macro instruction next to the specific macro instruction is saved in the save area (4) and an interrupt is generated. The mask instruction is set, the flag indicating the emulation mode is turned on, the macro instruction sequence stored in the macro instruction storage area (3) is executed, and if the emulation flag provided at the end of the macro instruction sequence is on. A special macro instruction indicating completion of emulation is provided, and when this macro instruction is executed, the flag is turned off and the hardware resource saved in the save area is restored and execution of the next macro instruction is executed. The microprogram computer according to claim 1.
JP4000392A 1992-01-06 1992-01-06 Microprogram system computer Withdrawn JPH05181670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4000392A JPH05181670A (en) 1992-01-06 1992-01-06 Microprogram system computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4000392A JPH05181670A (en) 1992-01-06 1992-01-06 Microprogram system computer

Publications (1)

Publication Number Publication Date
JPH05181670A true JPH05181670A (en) 1993-07-23

Family

ID=11472536

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4000392A Withdrawn JPH05181670A (en) 1992-01-06 1992-01-06 Microprogram system computer

Country Status (1)

Country Link
JP (1) JPH05181670A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007517322A (en) * 2003-12-29 2007-06-28 インテル・コーポレーション Decoupling the number of logical threads from the number of simultaneous physical threads in a processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007517322A (en) * 2003-12-29 2007-06-28 インテル・コーポレーション Decoupling the number of logical threads from the number of simultaneous physical threads in a processor

Similar Documents

Publication Publication Date Title
RU2263949C2 (en) Translated commands with possible rerun
US5119483A (en) Application of state silos for recovery from memory management exceptions
JPH0533423B2 (en)
US4562538A (en) Microprocessor having decision pointer to process restore position
US4841439A (en) Method for restarting execution interrupted due to page fault in a data processing system
JPS645330B2 (en)
JPH0810437B2 (en) Guest execution control method for virtual machine system
JPS6212529B2 (en)
JPH0683615A (en) Computer for executing instruction set emulation
JPH05181670A (en) Microprogram system computer
JP2000284964A (en) Efficient sub-instruction emulation in vliw processor
JPH0443301B2 (en)
JP2552738B2 (en) Data processing device
JP3490191B2 (en) calculator
JP2758624B2 (en) Speed control method of micro program
JP2731618B2 (en) emulator
JPH0561660B2 (en)
JPH04181331A (en) Instruction retry system
JPH0475147A (en) Time monitoring device in information processing system
JPS60181928A (en) Information processing device
JPH0683986A (en) Single chip microcomputer
JPS6349940A (en) Electronic computer
JPS6028014B2 (en) microprocessor
JP2000353359A (en) Storage device initializing method
JPS59180755A (en) Tracing system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990408