JPH05181667A - Microprogram control part - Google Patents

Microprogram control part

Info

Publication number
JPH05181667A
JPH05181667A JP47492A JP47492A JPH05181667A JP H05181667 A JPH05181667 A JP H05181667A JP 47492 A JP47492 A JP 47492A JP 47492 A JP47492 A JP 47492A JP H05181667 A JPH05181667 A JP H05181667A
Authority
JP
Japan
Prior art keywords
microinstruction
microprogram
execution
branch
signal
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
JP47492A
Other languages
Japanese (ja)
Inventor
Tsutomu Hirabayashi
勉 平林
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 Ibaraki Ltd
Original Assignee
NEC Ibaraki 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 NEC Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP47492A priority Critical patent/JPH05181667A/en
Publication of JPH05181667A publication Critical patent/JPH05181667A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To reduce a step and accelerate a processing speed by suppressing a microinstruction excepting for the next. microprogram extracting operation without any branch during microprogram execution. CONSTITUTION:When a microinstruction A not to execute any branching operation is executed, first of all, the branching microinstruction signal of the microinstruction A is outputted from a branch register 4 to a next address generation circuit 6, command control circuit 7 and microinstruction execution suppress circuit 8. The next address generation circuit 6 generates an address according to the branching microinstruction signal. The command control circuit 7 decodes the microinstruction A judges suppressing conditions or the like and outputs the result to the next address generation circuit 6, etc., as various condition signals 10. When the branching microinstruction signal of the microinstruction A and the various condition signals 10 are inputted to the microinstruction execution suppress circuit 8, the microinstruction execution suppressing signal 9 is outputted, in this step, the microinstruction execution excepting for the next microprogram extracting operation can be suppressed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はマイクロプログラム制御
部に関する。
FIELD OF THE INVENTION The present invention relates to a microprogram controller.

【0002】[0002]

【従来の技術】従来のマイクロプログラム制御部は、マ
イクロプログラムを格納してある制御記憶と、制御記憶
から取出されたマイクロプログラムを機能別に格納でき
るマイクロ命令語レジスタと、マイクロ命令を解読しハ
ードウェアの動作を制御するためのコマンド制御回路
と、次マイクロプログラムのアドレスを生成するための
次アドレス生成回路とを有している。
2. Description of the Related Art A conventional microprogram control unit includes a control memory storing a microprogram, a microinstruction word register capable of storing the microprogram extracted from the control memory for each function, and a hardware for decoding the microinstruction. And a next address generation circuit for generating an address of the next microprogram.

【0003】このようなマイクロプログラム制御部にお
いては、ソフトウェア命令等を実行すう為に制御記憶か
ら取り出されたマイクロプログラムは、マイクロ命令語
レジスタに格納される。マイクロ命令語レジスタに格納
されたマイクロ命令は、コマンド制御回路で解読され、
ハードウェアに制御信号を出力し、ハードウェア動作を
制御している。また、次に実行するマイクロプログラム
を制御記憶から取り出すためにアドレスを生成する。こ
のため次アドレス生成回路はアドレスレジスタの値を基
に各制御信号により次マイクロプログラムのアドレスを
生成する。
In such a microprogram control unit, the microprogram fetched from the control memory in order to execute a software instruction or the like is stored in the microinstruction word register. The micro instruction stored in the micro instruction word register is decoded by the command control circuit,
It outputs a control signal to the hardware to control the hardware operation. Also, an address is generated to retrieve the microprogram to be executed next from the control memory. Therefore, the next address generation circuit generates the address of the next microprogram according to each control signal based on the value of the address register.

【0004】さらに、分岐動作を行うことにより分岐動
作以外のマイクロ命令を抑止することができた。それに
は、分岐動作を指示するマイクロ命令により、分岐条件
が“Yes”又は“No”かを指定する。そして分岐結
果と分岐条件が一致すれば同ステップでの分岐動作以外
のマイクロ命令動作の抑止をすることになる。
Furthermore, by performing the branch operation, it is possible to suppress microinstructions other than the branch operation. To this end, whether the branch condition is "Yes" or "No" is designated by a microinstruction instructing a branch operation. If the branch result matches the branch condition, the microinstruction operation other than the branch operation in the same step is suppressed.

【0005】図3は従来例の2つの動作を具体的に説明
するフローチャートである。図3−1においては、処理
A実行後、処理Bでは抑止コマンドが実行されている。
分岐条件として“Yes”又は“No”の指定をし、分
岐条件結果と条件指定が一致したときに、処理Bは行わ
れず、次の処理Cに移る。それ以外の場合は処理Bを行
ってから処理Cに移る。また、図3−2においては、抑
止動作とは関係ないが処理A実行後、処理Bで条件判定
して処理Dのみか、処理Cを行って処理Dを行うかのど
ちらかに分岐を行う。
FIG. 3 is a flow chart for specifically explaining the two operations of the conventional example. In FIG. 3A, the inhibition command is executed in the process B after the process A is executed.
"Yes" or "No" is designated as the branch condition, and when the branch condition result and the condition designation match, the process B is not performed and the process proceeds to the next process C. In other cases, the process B is performed and then the process C is performed. Further, in FIG. 3-2, although not related to the inhibition operation, after execution of the process A, the condition is judged in the process B, and the process is branched only to the process D or the process C and the process D. ..

【0006】[0006]

【発明が解決しようとする課題】上述した従来のマイク
ロプログラム制御部では、分岐を必ず伴うために、分岐
を必要としない場合でも分岐せざるを得ないため、不要
なステップが増えてしまい場合によっては性能向上が図
れないという問題点があった。
In the above-described conventional microprogram control unit, since the branch is always involved, the branch must be branched even when the branch is not required, and therefore unnecessary steps may increase. Had a problem that performance could not be improved.

【0007】[0007]

【課題を解決するための手段】本発明のマイクロ命令制
御部は、フラグレジスタ等の条件により次のマイクロプ
ログラム取出し動作以外のマイクロ命令を抑止できるマ
イクロプログラム実行抑止回路と、フラグレジスタの条
件指定及び抑止条件の指定により次のマイクロプログラ
ム取出し動作以外のマイクロ命令の実行を抑止できるマ
イクロ命令とを有することを特徴とする。
A microinstruction control unit of the present invention includes a microprogram execution inhibiting circuit capable of inhibiting a microinstruction other than the next microprogram fetch operation depending on conditions such as a flag register, a flag register condition designation and It is characterized by having a microinstruction that can inhibit execution of a microinstruction other than the next microprogram fetch operation by designating a deterrent condition.

【0008】[0008]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0009】図1は本発明の一実施例のマイクロプログ
ラム制御部である。
FIG. 1 shows a microprogram controller according to an embodiment of the present invention.

【0010】本実施例では、まず、ソフトウェア命令語
レジスタ1に格納されているソフトウェア命令により、
制御記憶2に格納されているマイクロプログラムの先頭
アドレスが指定される。そして、読出された最初のマイ
クロプログラムは、マイクロ命令語レジスタ3に格納さ
れる。
In this embodiment, first, the software instruction stored in the software instruction word register 1 causes
The start address of the microprogram stored in the control memory 2 is designated. Then, the read first microprogram is stored in the microinstruction word register 3.

【0011】マイクロ命令語レジスタ3は複数のレジス
タの集まりであり性能別になっている。分岐動作及び次
マイクロプログラム取出しの制御を行っている分岐マイ
クロ命令は、マイクロ命令語レジスタ3のうちの分岐レ
ジスタ4に格納されており、分岐マイクロ命令は分岐条
件の指定又は次マイクロプログラム取出しの為のアドレ
ス生成の機能をもつ。本実施例ではマイクロプログラム
の分岐制御を中心に記述する。
The microinstruction word register 3 is a group of a plurality of registers and is classified by performance. The branch microinstruction controlling the branching operation and fetching of the next microprogram is stored in the branch register 4 of the microinstruction word register 3, and the branch microinstruction is used for designating a branch condition or fetching the next microprogram. It has the function of address generation. In the present embodiment, the description will focus on the branch control of the microprogram.

【0012】分岐マイクロ命令信号5は、次アドレス生
成回路6,コマンド制御回路7及びマイクロ命令実行抑
止回路8に出力される。次アドレス生成回路6には、そ
の他に、各種条件信号10と実行中のマイクロプログラ
ムのアドレスが格納されているアドレスレジスタ12が
入力する。次アドレス生成回路6は、分岐マイクロ命令
信号5及び各種条件信号10並びにソフトウェア命令語
レジスタ1及びアドレスレジスタ12の各データにより
制御記憶2から次のマイクロプログラムを取出すための
アドレスを生成して制御記憶2及びアドレスレジスタ1
2に出力する。そして制御記憶2からこのアドレスに対
応したマイクロプログラが出力される。
The branch micro instruction signal 5 is output to the next address generation circuit 6, the command control circuit 7 and the micro instruction execution inhibiting circuit 8. In addition, various condition signals 10 and an address register 12 storing the address of the micro program being executed are input to the next address generation circuit 6. The next address generation circuit 6 generates an address for fetching the next microprogram from the control memory 2 by the branch microinstruction signal 5, various condition signals 10, each data of the software instruction word register 1 and the address register 12, and controls and stores it. 2 and address register 1
Output to 2. Then, the microprogram corresponding to this address is output from the control memory 2.

【0013】以上のようなサイクルでマイクロプログラ
ムは実行される。コマンド制御回路7は、分岐マイクロ
命令の条件判定以外にも他のマイクロ命令の動作制御を
行っている。マイクロ命令実行抑止回路8は、分岐マイ
クロ命令信号5及び各種条件信号10によりマイクロ命
令実行抑止信号9を出力する。マイクロ命令実行抑止信
号9は次マイクロプログラム取出し動作以外のマイクロ
命令を抑止できる信号である。
The microprogram is executed in the above cycle. The command control circuit 7 controls the operation of other micro instructions in addition to the condition determination of the branch micro instruction. The microinstruction execution inhibiting circuit 8 outputs a microinstruction execution inhibiting signal 9 according to the branch microinstruction signal 5 and various condition signals 10. The microinstruction execution inhibition signal 9 is a signal that can inhibit a microinstruction other than the next microprogram fetch operation.

【0014】マイクロ命令実行抑止回路8を制御できる
マイクロ命令としてマイクロ命令Aを設定する。このマ
イクロ命令Aは抑止条件の指定ができ分岐動作は行わな
い分岐マイクロ命令とする。
A micro instruction A is set as a micro instruction capable of controlling the micro instruction execution inhibiting circuit 8. The microinstruction A is a branch microinstruction that can specify a deterrent condition and does not perform a branch operation.

【0015】以上の様な回路構成及びマイクロ命令Aに
よる動作について説明する。マイクロプログラム実行
中、あるステップにおいてマイクロ命令Aが実行される
と、まず分岐レジスタ4からマイクロ命令Aの分岐マイ
クロ命令信号5が次アドレス生成回路6及びコマンド制
御回路7,マイクロ命令実行抑止回路8に出力される。
The circuit configuration as described above and the operation according to the micro instruction A will be described. When the microinstruction A is executed in a certain step during execution of the microprogram, the branch microinstruction signal 5 of the microinstruction A is first sent from the branch register 4 to the next address generation circuit 6, the command control circuit 7, and the microinstruction execution inhibition circuit 8. Is output.

【0016】次アドレス生成回路6では分岐マイクロ命
令信号5により、例えば現アドレスに“+1”してアド
レスが生成される。コマンド制御回路7では、マイクロ
命令Aを解読し、抑止条件などを判定して各種条件信号
10として、次アドレス生成回路などに出力する。
In the next address generation circuit 6, the branch microinstruction signal 5 is used to generate an address, for example, by adding "+1" to the current address. The command control circuit 7 decodes the microinstruction A, determines the inhibition condition, etc., and outputs it as various condition signals 10 to the next address generation circuit or the like.

【0017】マイクロ命令実行抑止回路8にマイクロ命
令Aの分岐マイクロ命令信号5と各種条件信号10が入
力されると、マイクロ命令実行抑止信号9が出力され
る。つまりマイクロ命令Aにより指定された抑止条件と
各種条件信号10が一致することによりマイクロ命令実
行抑止信号9が出力される。以上の一連の動作によっ
て、分岐せずに同ステップでの次マイクロプログラム取
出し動作以外のマイクロ命令実行を抑止できることにな
る。
When the branch microinstruction signal 5 of the microinstruction A and various condition signals 10 are input to the microinstruction execution inhibition circuit 8, the microinstruction execution inhibition signal 9 is output. That is, the microinstruction execution inhibit signal 9 is output when the inhibit condition designated by the microinstruction A and the various condition signals 10 match. By the series of operations described above, it is possible to suppress the execution of microinstructions other than the fetch operation of the next microprogram in the same step without branching.

【0018】次に、図2を用いて、さらに詳しく説明す
る。
Next, a more detailed description will be given with reference to FIG.

【0019】図2−1は、図3−1に示した従来例によ
る処理に対応する処理のフローチャートである。まず、
処理A実行後、処理Bにおいて処理Aを実行することに
よって、一連の動作を行って処理Cに移る。この例は処
理速度は変らないが処理の数すなわちマイクロプログラ
ム量の削減を可能にすることができる。また、図2−2
は図3−2に示した従来例による処理に対応する処理の
フローチャートであり、図3−2と同様の処理が3つの
処理で実行することが可能になる。これは処理の数の削
減だけでなく、処理速度を早くすることが可能である。
FIG. 2A is a flowchart of a process corresponding to the process according to the conventional example shown in FIG. First,
After the process A is executed, the process A is executed in the process B to perform a series of operations, and then the process C is performed. In this example, the processing speed does not change, but the number of processes, that is, the amount of microprogram can be reduced. 2-2
3 is a flowchart of a process corresponding to the process according to the conventional example shown in FIG. 3-2, and the same process as in FIG. 3-2 can be executed by three processes. This can not only reduce the number of processes but also increase the processing speed.

【0020】[0020]

【発明の効果】以上説明したように、本発明はマイクロ
命令実行抑止回路を動作させるための抑止条件を伴った
分岐マイクロ命令によりマイクロプログラム実行中に分
岐をせず、次マイクロプログラム取出し動作以外のマイ
クロ命令の抑止をすることにより、マイクロプログラム
のステップ削減とともに処理速度が向上するという効果
を有する。
As described above, the present invention does not branch during execution of a microprogram by a branch microinstruction accompanied by a deterrent condition for operating the microinstruction execution deterrence circuit, and does not perform a next microprogram fetch operation. By suppressing the micro instruction, it is possible to reduce the steps of the micro program and to improve the processing speed.

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

【図1】本発明の一実施例のマイクロプログラム制御回
路のブロック図である。
FIG. 1 is a block diagram of a micro program control circuit according to an embodiment of the present invention.

【図2】本発明による2つの処理に対するフローチャー
トである。
FIG. 2 is a flowchart for two processes according to the present invention.

【図3】図2に示した2つの処理に対する従来例による
フローチャートである。
FIG. 3 is a flowchart of a conventional example for the two processes shown in FIG.

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

1 ソフトウェア命令語レジスタ 2 制御記憶 3 マイクロ命令語レジスタ 4 分岐レジスタ 5 分岐マイクロ命令信号 6 次アドレス生成回路 7 コマンド制御回路 8 マイクロ命令実行抑止回路 9 マイクロ命令実行抑止信号 10 各種条件信号 11 次アドレス 12 アドレスレジスタ 1 software instruction word register 2 control memory 3 micro instruction word register 4 branch register 5 branch micro instruction signal 6 next address generation circuit 7 command control circuit 8 micro instruction execution inhibition circuit 9 micro instruction execution inhibition signal 10 various condition signals 11 next address 12 Address register

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 フラグレジスタ等の条件により次のマイ
クロプログラム取出し動作以外のマイクロ命令を抑止で
きるマイクロプログラム実行抑止回路と、フラグレジス
タの条件指定及び抑止条件の指定により次のマイクロプ
ログラム取出し動作以外のマイクロ命令の実行を抑止で
きるマイクロ命令とを有することを特徴とするマイクロ
プログラム制御部。
1. A microprogram execution inhibiting circuit capable of inhibiting a microinstruction other than the next microprogram fetching operation depending on conditions such as a flag register, and a microprogram fetching operation other than the next microprogram fetching operation by specifying a flag register condition and a restraint condition. A microprogram controller having a microinstruction capable of suppressing execution of the microinstruction.
JP47492A 1992-01-07 1992-01-07 Microprogram control part Withdrawn JPH05181667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP47492A JPH05181667A (en) 1992-01-07 1992-01-07 Microprogram control part

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP47492A JPH05181667A (en) 1992-01-07 1992-01-07 Microprogram control part

Publications (1)

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

Family

ID=11474780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP47492A Withdrawn JPH05181667A (en) 1992-01-07 1992-01-07 Microprogram control part

Country Status (1)

Country Link
JP (1) JPH05181667A (en)

Similar Documents

Publication Publication Date Title
MY125518A (en) Method and apparatus for implementing execution predicates in a computer processing system
US5088030A (en) Branch address calculating system for branch instructions
US5253349A (en) Decreasing processing time for type 1 dyadic instructions
US5142489A (en) Digital signal processor with improved pipeline processing
US6182211B1 (en) Conditional branch control method
JPH05181667A (en) Microprogram control part
JP3335735B2 (en) Arithmetic processing unit
JP3431503B2 (en) Information processing apparatus and program control method
JP2002297378A (en) Signal processor
JP3493110B2 (en) High-speed branch processing unit
JP2689894B2 (en) Micro program control type information processing device
JP2636192B2 (en) Information processing device
JPH05224925A (en) Instruction prefetching system
JP3331599B2 (en) Micro program controller
JPH0619705A (en) Pipeline control system
JPH05334081A (en) Pipeline processing system
JPS59158441A (en) Pipeline control system
JPH04251331A (en) Information processor
JPH06149564A (en) Instruction controller
JPH05181671A (en) Emulation system for software instruction
JPH0682321B2 (en) Micro controller
JPH05143362A (en) Interruption processing system
JPS6113258B2 (en)
JP2005134987A (en) Pipeline arithmetic processor
JPH0561671A (en) Microprogram control circuit

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