JPH02208726A - Microprogram controller - Google Patents

Microprogram controller

Info

Publication number
JPH02208726A
JPH02208726A JP3143689A JP3143689A JPH02208726A JP H02208726 A JPH02208726 A JP H02208726A JP 3143689 A JP3143689 A JP 3143689A JP 3143689 A JP3143689 A JP 3143689A JP H02208726 A JPH02208726 A JP H02208726A
Authority
JP
Japan
Prior art keywords
microinstruction
control memory
branch
control
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
JP3143689A
Other languages
Japanese (ja)
Inventor
Koichi Ishizaka
浩一 石坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3143689A priority Critical patent/JPH02208726A/en
Publication of JPH02208726A publication Critical patent/JPH02208726A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute the branch to a specified address area mounted in a separated position at a high speed by selecting a micro-instruction which is read out of a specific address area in accordance with a part of a branch address field and an address area designating part, in the case when a branch instructing part instructs a branch to plural specific address areas. CONSTITUTION:By an address of 9 bits in a micro-instruction register 14, a control memory 10 and a control memory 15 are brought to access. Subsequently, in accordance with an address area designating bit in a micro-instruction register 13, a selector 16 and a selector 17 select the control memory 10. Also, in accordance with a branch instruction bit in the micro-instruction register 13, a selector 11 and a selector 12 select a specific address area, therefore, a micro-instruction which is read out of the control memory 10 is stored in the micro-instruction register 13 and the micro-instruction register 14. In such a way, a branch to the control memories 10, 15 is executed at a high speed.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は情報処理装置に関し、特にマイクロプログラム
により演算制御を行なうマイクロプログラム制御装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to an information processing device, and particularly to a microprogram control device that performs arithmetic control using a microprogram.

〔従来の技術〕[Conventional technology]

マイクロプログラム制御装置において、コントロールメ
モリに格納されるマイクロ命令が分岐アドレスフィール
ドを含み、コントロールメモリから読出されたマイクロ
命令中の分岐アドレスフィルードで示されるアドレスを
次に実行されるマイクロ命令のアドレスとしてコントロ
ールメモリをアクセスする分岐方式が一般に採用されて
いる。
In a microprogram control device, a microinstruction stored in a control memory includes a branch address field, and the address indicated by the branch address field in the microinstruction read from the control memory is controlled as the address of the next microinstruction to be executed. A branching method that accesses memory is generally employed.

また、ハードウェアの都合によりコントロールメモリの
特定のアドレス領域の全フィールドおよび通常のアドレ
ス領域の一部のフィールドを離れた位置に実装しなけれ
ばならない場合がある。この時、111れた位置に実装
されたコントロールメモリのアクセスタイムが問題にな
る。第3図を用いて具体的に説明する。第3図において
リターンアドレスレジスタ!、2はサブルーチンからの
戻りアドレスが格納されるレジスタである。リターンア
ドレスレジスタ1.2およびセレクタ5.6はエリアA
およびエリアB用に二重に用意されている。アドレスレ
ジスタ3は命令を実行するためのマイクロ命令の第1ス
テツプのアドレスが格納されるレジスタである。アドレ
スセーブレジスタ4はコントロールメモリ10をアクセ
スするためのアドレスを一時的に格納するためのレジス
タである。セレクタ5およびセレクタ6はそれぞれコン
トロールメモリ8.9をアクセスするためのアドレスと
してマイクロ命令中の分岐アドレスフィールドまたはリ
ターンアドレスレジスタ1.2のうち1つを選択するセ
レクタである。マイクロ命令中の分岐アドレスフィール
ドはマイクロ命令レジスタ13および14に分散して格
納されているので、マイクロ命令レジスタ13および1
4の両方からセレクタ5,6.7に供給される。セレク
タ7はコントロールメモリIOをアクセスするためのア
ドレスとしてマイクロ命令中の分岐アドレスフィールド
、アドレスレジスタ3またはアドレスセーブレジスタ4
のうち1つを選択するセレクタである。コントロールメ
モリ8はマイクロ命令の分岐アドレスフィールドのF位
5ビットおよび他のフィールドが格納されるメモリであ
り、8kwX81ビットのメモリである。コントロール
メモリ9はマイクロ命令の分岐アドレスフィールドの下
位9ビツトが格納されるメモリであり、8kw×9ビッ
トのメモリである。コントロールメモリ10は命令を実
行するためのマイクロ命令の第1ステツプおよびその他
のマイクロ命令が格納されるメモリであり、1kwX9
0ビットのメモリである。セレクタ11はコントロール
メモリ8またはコントロール10のうち1つを選択する
セレクタである。セレクタ12はコントロールメモリ9
またはコントロールメモリ10を選択するセレクタであ
る。セレクタ11およびセレクタI2はマイクロ命令レ
ジスタ13内の分岐アドレスフィールドの最上位ビット
が”工”のときまたは図示していない命令開始信号が”
1”のときコントロールメモリ10を選択し、それ以外
のときはコントロールメモリ8およびコントロールメモ
リ9を選択する。マイクロ命令レジスタ13はマイクロ
命令の分岐アドレスフィールドの上位5ビツトおよび他
のフィールドが格納されるレジスタである。
Furthermore, due to hardware considerations, all fields in a specific address area of the control memory and some fields in the normal address area may have to be implemented at separate locations. At this time, the access time of the control memory mounted at the location 111 becomes a problem. This will be explained in detail using FIG. Return address register in Figure 3! , 2 are registers in which the return address from the subroutine is stored. Return address register 1.2 and selector 5.6 are area A
and area B. Address register 3 is a register in which the address of the first step of a microinstruction for executing an instruction is stored. The address save register 4 is a register for temporarily storing an address for accessing the control memory 10. Selector 5 and selector 6 each select one of the branch address field in the microinstruction or return address register 1.2 as an address for accessing control memory 8.9. The branch address field in the microinstruction is stored in microinstruction registers 13 and 14 in a distributed manner.
4 are supplied to selectors 5, 6.7. Selector 7 uses the branch address field in the microinstruction, address register 3, or address save register 4 as an address for accessing the control memory IO.
This is a selector for selecting one of them. The control memory 8 is a memory in which the F-order 5 bits of the branch address field of the microinstruction and other fields are stored, and is an 8kw×81-bit memory. The control memory 9 is a memory in which the lower 9 bits of the branch address field of the microinstruction are stored, and is an 8 kW x 9 bit memory. The control memory 10 is a memory in which the first step of microinstructions for executing instructions and other microinstructions are stored, and is 1kw x 9
It is a 0-bit memory. The selector 11 is a selector for selecting one of the control memory 8 and the control 10. Selector 12 is control memory 9
Alternatively, it is a selector for selecting the control memory 10. Selector 11 and selector I2 are activated when the most significant bit of the branch address field in microinstruction register 13 is "engine" or when an instruction start signal (not shown) is "engine".
1", control memory 10 is selected; otherwise, control memory 8 and control memory 9 are selected. The microinstruction register 13 stores the upper 5 bits of the microinstruction branch address field and other fields. It is a register.

マイクロ命令レジスタ14はマイクロ命令の分岐アドレ
スフィールドの下位9ビツトが格納されるレジスタであ
る。
The microinstruction register 14 is a register in which the lower 9 bits of the branch address field of the microinstruction are stored.

第4図は第3図の従来のマイクロプログラム制御装置で
使用されるマイクロ命令の形式を示す図である。シーケ
ンス制御フィールドはコントロールメモリ8とコントロ
ールメモリ9またはコントロールメモリ10をアクセス
するアドレスとしてリターンアドレスレジスタ1および
リターンアドレスレジスタ2を選択するか、マイクロ命
令レジスタ13およびマイクロ命令レジスタ14内の分
岐アドレスフィールドを選択するかを指示するフィール
ドである。分岐アドレスフィールドの上位5ビツトはマ
イクロ命令レジスタ13に格納され、下位9ビツトはマ
イクロ命令レジスタ14に格納される。
FIG. 4 is a diagram showing the format of microinstructions used in the conventional microprogram control device of FIG. The sequence control field selects return address register 1 and return address register 2 as addresses for accessing control memory 8 and control memory 9 or control memory 10, or selects the branch address field in microinstruction register 13 and microinstruction register 14. This is a field that instructs whether to do so. The upper 5 bits of the branch address field are stored in the microinstruction register 13, and the lower 9 bits are stored in the microinstruction register 14.

このようなマイクロプログラム制御装置において、マイ
クロ命令中の分岐アドレスフィールドでコントロールメ
モリ10をアクセスしようとすると、マイクロ命令レジ
スタ13→セレクタ7→コントロールメモリ10→セレ
クタ11→マイクロ命令レジスタ13のパスの遅延時間
が問題になる。というのは上記パスはエリアA→エリア
B→エリアAとエリア間を2回通過しなければならない
ため、遅延時間が他のパスより大きくなってしまうから
である。メモリのアクセスタイムおよびエリア間を通過
すると海の信号の遅延時間は大きいため、メそりをアク
セスして、かつエリア間を2回通過すると遅延時間が1
クロツクサイクルを超えてしまう。
In such a microprogram control device, when an attempt is made to access the control memory 10 using a branch address field in a microinstruction, the delay time of the path from microinstruction register 13 → selector 7 → control memory 10 → selector 11 → microinstruction register 13 increases. becomes a problem. This is because the above path has to pass through the areas twice, from area A to area B to area A, resulting in a longer delay time than other paths. The delay time of the sea signal is large when accessing the memory and passing between areas, so if you access the mesori and pass between areas twice, the delay time will be 1.
It exceeds the clock cycle.

したがって、従来はコントロールメモリ10をマイクロ
命令中の分岐アドレスフィールドでアクセスする場合に
は一度アドレスをアドレスセーブレジスタ4に格納し、
次のクロックサイクルにおいてアクセスしていた。すな
わち、コントロールメモリ10への分岐は2クロツクサ
イクルを要していた。
Therefore, conventionally, when accessing the control memory 10 using a branch address field in a microinstruction, the address is stored in the address save register 4 once;
It was accessed in the next clock cycle. That is, branching to control memory 10 required two clock cycles.

〔発明が解決しようとするB題〕[Problem B that the invention attempts to solve]

上述した従来のマイクロプログラム制御装置は、コント
ロールメモリ10への分岐に2クロツクサイクルを要す
るので、性能が低下するという欠点がある。
The conventional microprogram controller described above has the disadvantage that branching to control memory 10 requires two clock cycles, which reduces performance.

(課題を解決するための手段〕 本発明のマイクロプログラム制御装置は、コントロール
メモリからマイクロ命令レジスタに読出されたマイクロ
命令中の分岐アドレフィールドで示されるアドレスを次
に実行されるマイクロ命令のアドレスとしてコントロー
ルメモリをアクセスする分岐方式を採用し、コントロー
ルメモリが、通常のアドレス領域である第1および第2
のコントロールメモリと、特定のアドレス領域である複
数の第3のコントロールメモリとからなるマイクロプロ
グラム制御装置において、マイクロ命令は、シーケンス
制御フィールド、分岐アドレスフィールドの他に、第1
、第2のコントロールメモリまたは第3のコントロール
メモリのいずれに分岐するかを指示する分岐支持部と、
第3のコントロールメモリへ分岐する場合に第3のコン
トロールメモリの1つを指定するアドレス領域指定部と
を含み、 第2のコントロールメモリには分岐アドレスフィールド
のうち第1.第2.第3のコントロールメモリを共通に
アクセスする第2の部分が格納され、第1のコントロー
ルメモリには、マイクロ命令のうち前記第2の部分を除
いた第1の部分が格納され、 マイクロ命令レジスタは、第1のコントロールメモリか
ら読出されたマイクロ命令または第3のコントロールメ
モリから読出されたマイクロ命令のうち第1の部分が格
納される第1のマイクロ命令レジスタと、第2のコント
ロールメモリから読出されたマイクロ命令または第3の
コントロールメモリから読出されたマイクロ命令のうち
第2の部分が格納される第2のマイクロ命令レジスタと
からなり、 複数の第3のコントロールメモリの第1の部分、第2の
部分のうち、第1のマイクロ命令レジスタに読出された
マイクロ命令のアドレス領域指定部で指定された第3の
コントロールメモリの第1の部分、第2の部分をそれぞ
れ選択する第1、第2のセレクタと、 第1のコントロールメモリから読出されたマイクロ命令
または第1のセレクタで選択された第3のコントロール
メモリの第1の部分を、第1のマイクロ命令レジスタに
読出されたマイクロ命令の分岐指示部に従って選択し、
第1のマイクロ命令レジスタに出力する第3のセレクタ
と、第2のコントロールメモリから読出されたマイクロ
命令または第2のセレクタで選択された第3のコントロ
ールメモリの第2の部分を、第1のマイクロ命令レジス
タに読出されたマイクロ命令の分岐指示部にしたがって
選択し、第2のマイクロ命令レジスタに出力する第4の
セレクタとを有している。
(Means for Solving the Problems) A microprogram control device of the present invention uses an address indicated by a branch address field in a microinstruction read from a control memory to a microinstruction register as an address of a microinstruction to be executed next. A branching method is adopted to access the control memory, and the control memory is used in the first and second address areas, which are normal address areas.
In a microprogram control device consisting of a control memory and a plurality of third control memories which are specific address areas, microinstructions are stored in a sequence control field, a branch address field, a first
, a branch supporter that instructs whether to branch to the second control memory or the third control memory;
and an address area specifying section that specifies one of the third control memories when branching to the third control memory, and the second control memory includes the first . Second. A second portion that commonly accesses the third control memory is stored, a first portion of the microinstruction excluding the second portion is stored in the first control memory, and the microinstruction register is a microinstruction register. , a first microinstruction register in which a first part of the microinstruction read from the first control memory or the microinstruction read out from the third control memory is stored; a second microinstruction register in which a second part of the microinstructions read from the plurality of third control memories or microinstructions read from the third control memory is stored; , the first and second portions of the third control memory specified by the address area specification part of the microinstruction read into the first microinstruction register, respectively. a selector, and a branch of the microinstruction read out from the first control memory or the first part of the third control memory selected by the first selector into the first microinstruction register. Follow the instructions to select
a third selector that outputs the microinstruction to the first microinstruction register; and a microinstruction read from the second control memory or a second portion of the third control memory selected by the second selector; and a fourth selector that selects according to the branch instruction part of the microinstruction read into the microinstruction register and outputs the selected microinstruction to the second microinstruction register.

〔作   用〕[For production]

特定領域のコントロールメモリをアクセスする場合の第
1のマイクロ命令レジスタから特定領域のコントロール
メモリへのバスは不要となり、またセレクタの切換時間
はメモリのアクセスタイムに比べればはるかに短いので
、特定領域のコントロールメモリへの分岐が高速化され
る。
When accessing the control memory in a specific area, there is no longer a need for a bus from the first microinstruction register to the control memory in the specific area, and the selector switching time is much shorter than the memory access time. Branching to control memory is faster.

〔実 施 例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すマイクロプログラム制
御装置のブロック図、第2図は本実施例で使用されるマ
イクロ命令の形式を示す図である。
FIG. 1 is a block diagram of a microprogram control device showing one embodiment of the present invention, and FIG. 2 is a diagram showing the format of microinstructions used in this embodiment.

本実施例のマイクロプログラム制御装置は、通常のアド
レス領域であるコントロールメモリ8゜9と、特定のア
ドレス領域であるコントロールメモリ10.15とを有
している。
The microprogram control device of this embodiment has a control memory 8.9 which is a normal address area and a control memory 10.15 which is a specific address area.

本実施例で使用されるマイクロ命令は、第2図に示すよ
うに、形式1と形式2とからなる。形式1は通常のアド
レス領域、すなわちコントロールメそり8とコントロー
ルメモリ9への分岐の際に使用され、分岐指示ビット(
1ビツト)、4ビツトのマイクロプログラムシーケンス
制御フィールド、分岐アドレスの上位5ビツトと下位9
ビツト、未使用の1ビツトおよびその他のフィールドを
含む。形式2は特定のアドレス領域、すなわちコントロ
ールメモリ10とコントロールメモリ15への分岐の際
に使用され、コントロールメモリ10とコントロールメ
モリ15のどちらへ分岐するかを示すアドレス領域指定
ビット(1ビツト)、特定のアドレス領域へ分岐するこ
とを指示する分岐指示ビット(1ビツト)、4ビツトの
マイクロプログラムシーケンス制御フィールド、9ビツ
トの分岐アドレスフィールドおよびその他のフィールド
を含む。形式2では形式1の分岐アドレスフィールドの
上位5ビツトに当たる部分は他の目的(演算制御など)
に使用できる。マイクロ命令が形式1として使われるか
、形式2として使われるかは分岐指示ビットにしたがっ
て決まる。
The microinstructions used in this embodiment are of format 1 and format 2, as shown in FIG. Format 1 is used when branching to the normal address area, that is, control memory 8 and control memory 9, and the branch instruction bit (
1 bit), 4-bit microprogram sequence control field, upper 5 bits and lower 9 bits of branch address
Contains bits, one unused bit, and other fields. Format 2 is used when branching to a specific address area, that is, control memory 10 or control memory 15, and includes an address area designation bit (1 bit) indicating whether to branch to control memory 10 or control memory 15. It includes a branch instruction bit (1 bit) for instructing branching to an address area, a 4-bit microprogram sequence control field, a 9-bit branch address field, and other fields. In format 2, the upper 5 bits of the branch address field in format 1 are used for other purposes (arithmetic control, etc.)
Can be used for Whether a microinstruction is used as format 1 or format 2 is determined according to the branch instruction bit.

すなわち分岐指示ビットが”0”なら形式1とみなされ
、1″ならば形式2とみなされる。
That is, if the branch instruction bit is "0", it is regarded as type 1, and if it is 1'', it is regarded as type 2.

コントロールメモリ10および15は各々特定の処理ル
ーチンが格納される512ワードX92ビツトのメモリ
である。コントロールメモリ8は、マイクロ命令の分岐
アドレスフィールドの下位9ビツトを除いた部分が格納
される8にワード×83ビットのメモリである。コント
ロールメモリ9はマイクロ命令の分岐アドレスフィール
ドの下位9ビツトが格納される8にワード×9ビットの
メモリである。セレクタ16はコントロールメモリ10
から読出されたマイクロ命令またはコントロールメモリ
15から読出されたマイクロ命令の上位83ビツトをマ
イクロ命令レジスタ13に格納されたアドレス領域指定
ビットに従って選択する。セレクタ17はコントロール
メモリ10から読出されたマイクロ命令またはコントロ
ールメモリ15から読出されたマイクロ命令の下位9ビ
ツトをマイクロ命令レジスタ13に格納されたアドレス
領域指定ビットに従って選択する。セレクタ11はコン
トロールメモリ8から読出されたマイクロ命令またはセ
レクタ16で選択された特定のアドレス領域から読出さ
れたマイクロ命令の上位83ビツトを、マイクロ命令レ
ジスタ13に格納された分岐指示ビットに従って選択す
る。セレクタ12はコントロールメモリ9から読出され
たマイクロ命令またはセレクタ17で選択された特定の
アドレス領域から読出されたマイクロ命令の下位9ビツ
トをマイクロ命令レジスタ13に格納された分岐指示ビ
ットに従って選択する。マイクロ命令レジスタ13は、
マイクロ命令のアドレス領域指定ビット、分岐指示ビッ
ト、シーケンス制御フィールド、分岐アドレスフィール
ドの上位5ビツトおよびその他のフィールドが格納され
るレジスタである。リターンアドレスレジスタ1、リタ
ーンアドレスレジスタ2、アドレスレジスタ3、セレク
タ5、セレクタ6、セレクタフ、マイクロ命令レジスタ
14に関しては(従来の技術)での説明と同じなのでそ
ちらを参照されたい。
Control memories 10 and 15 are each 512 word by 92 bit memories in which specific processing routines are stored. The control memory 8 is a memory of 8 words x 83 bits in which the part of the branch address field of the microinstruction excluding the lower 9 bits is stored. The control memory 9 is an 8 word x 9 bit memory in which the lower 9 bits of the branch address field of the microinstruction are stored. Selector 16 is control memory 10
The upper 83 bits of the microinstruction read from the control memory 15 or the microinstruction read from the control memory 15 are selected according to the address area designation bits stored in the microinstruction register 13. The selector 17 selects the lower 9 bits of the microinstruction read from the control memory 10 or the microinstruction read from the control memory 15 according to the address area designation bits stored in the microinstruction register 13. The selector 11 selects the upper 83 bits of the microinstruction read from the control memory 8 or from the specific address area selected by the selector 16, according to the branch instruction bit stored in the microinstruction register 13. The selector 12 selects the lower 9 bits of the microinstruction read from the control memory 9 or the microinstruction read from the specific address area selected by the selector 17 in accordance with the branch instruction bit stored in the microinstruction register 13. The microinstruction register 13 is
This register stores the address area designation bit, branch instruction bit, sequence control field, upper five bits of the branch address field, and other fields of the microinstruction. The return address register 1, return address register 2, address register 3, selector 5, selector 6, selector, and microinstruction register 14 are the same as those described in (Prior Art), so please refer to them.

本実施例において、コントロールメモリ10へ分岐する
場合には以下の様にマイクロ命令が読出される。マイク
ロ命令レジスタ14内の9ビツトのアドレスでコントロ
ールメモリ10gよびコントロールメモリ15がアクセ
スされる。次に、マイクロ命令レジスタ13内のアドレ
ス領域指定ビットに従ってセレクタ16とセレクタ17
はコントロールメモリ10を選択する。さらに、マイク
ロ命令レジスタ13内の分岐指示ビットに従ってセレク
タ11およびセレクタ12は特定のアドレス領域を選択
するのでコントロールメモリ10から読出されたマイク
ロ命令がマイクロ命令レジスタ13およびマイクロ命令
レジスタ14に格納される。
In this embodiment, when branching to the control memory 10, microinstructions are read out as follows. Control memory 10g and control memory 15 are accessed using a 9-bit address in microinstruction register 14. Next, selector 16 and selector 17 are selected according to the address area designation bit in microinstruction register 13.
selects control memory 10. Further, since selector 11 and selector 12 select a specific address area according to the branch instruction bit in microinstruction register 13, the microinstruction read from control memory 10 is stored in microinstruction register 13 and microinstruction register 14.

このように、コントロールメモリ10.15をマイクロ
命令中の分岐アドレスフィールドでアクセスする場合、
従来のようにマイクロ命令レジスタ13→セレクタ7→
コントロールメモリ10→セレクタ11→マイクロ命令
レジスタ13のバスがない。マイクロ命令レジスタ13
→セレクタ17→セレクタ12→マイクロ命令レジスタ
14のバスでは、従来のバスに比ベセレクタを一回多く
通過するが、メモリのアクセスはなく、しかもエリア間
−回通過するだけである。セレクタの切換時間はメモリ
のアクセスタイムに比べればはるかに短いので、コント
ロールメモリ10.15への分岐が高速に行なわれる。
In this way, when accessing control memory 10.15 using the branch address field in a microinstruction,
As before, microinstruction register 13 → selector 7 →
There is no bus for control memory 10 → selector 11 → microinstruction register 13. Microinstruction register 13
In the bus of →selector 17 →selector 12 →microinstruction register 14, the bus passes through the selector one more time than the conventional bus, but there is no memory access, and moreover, it passes through only one time between areas. Since the selector switching time is much shorter than the memory access time, branching to the control memory 10.15 is performed quickly.

(発明の効果) 以上説明したように本発明は、マイクロ命令が、分岐ア
ドレスフィールドと、複数の特定アドレス領域の1つへ
の分岐を指示する分岐指示部上よび複数の特定アドレス
領域の1つを指定するアドレス領域指定部を含み、かつ
、分岐指示部が複数の特定のアドレス領域への分岐を指
示した場合には分岐アドレスフィールドの一部とアドレ
ス領域指定部にしたがい特定のアドレス領域から読出さ
れたマイクロ命令を選択するセレクタを有することによ
り、離れた位置に実装された特定のアドレス領域への分
岐を高性能で実現できる効果がある。
(Effects of the Invention) As described above, the present invention provides a micro-instruction that includes a branch address field, a branch instruction section that instructs a branch to one of a plurality of specific address areas, and a branch address field that instructs a branch to one of a plurality of specific address areas. , and if the branch instruction section instructs branching to multiple specific address areas, read from the specific address area according to part of the branch address field and the address area specification section. By having a selector for selecting a microinstruction that has been executed, there is an effect that branching to a specific address area implemented at a remote location can be realized with high performance.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すマイクロプログラム制
御装置のブロック図、第2図は第1図のマイクロプログ
ラム制御装置で使われるマイクロ命令の形式を示す図、
第3図は従来のマイクロプログラム制御装置を示すブロ
ック図、第4図は第3図のマイクロプログラム制御装置
で使用されるマイクロ命令の形式を示す図である。 1.2・・リターンアドレスレジスタ、3・・・・アド
レスレジスタ、 4・・・・アドレスセーブレジスタ、 5.6.7.11,12,16.17・・◆・・・・・
・セレクタ、 8.9,10.15・・コントロールメモリ、13.1
4・・・・・マイクロ命令レジスタ。
FIG. 1 is a block diagram of a microprogram control device showing one embodiment of the present invention, FIG. 2 is a diagram showing the format of microinstructions used in the microprogram control device of FIG. 1,
FIG. 3 is a block diagram showing a conventional microprogram control device, and FIG. 4 is a diagram showing the format of microinstructions used in the microprogram control device of FIG. 1.2...Return address register, 3...Address register, 4...Address save register, 5.6.7.11,12,16.17...◆...
・Selector, 8.9, 10.15...Control memory, 13.1
4...Microinstruction register.

Claims (1)

【特許請求の範囲】 1、コントロールメモリからマイクロ命令レジスタに読
出されたマイクロ命令中の分岐アドレフィールドで示さ
れるアドレスを次に実行されるマイクロ命令のアドレス
としてコントロールメモリをアクセスする分岐方式を採
用し、コントロールメモリが、通常のアドレス領域であ
る第1および第2のコントロールメモリと、特定のアド
レス領域である複数の第3のコントロールメモリとから
なるマイクロプログラム制御装置において、マイクロ命
令は、シーケンス制御フィールド、分岐アドレスフィー
ルドの他に、第1、第2のコントロールメモリまたは第
3のコントロールメモリのいずれに分岐するかを指示す
る分岐支持部と、第3のコントロールメモリへ分岐する
場合に第3のコントロールメモリの1つを指定するアド
レス領域指定部とを含み、 第2のコントロールメモリには分岐アドレスフィールド
のうち第1、第2、第3のコントロールメモリを共通に
アクセスする第2の部分が格納され、第1のコントロー
ルメモリには、マイクロ命令のうち前記第2の部分を除
いた第1の部分が格納され、 マイクロ命令レジスタは、第1のコントロールメモリか
ら読出されたマイクロ命令または第3のコントロールメ
モリから読出されたマイクロ命令のうち第1の部分が格
納される第1のマイクロ命令レジスタと、第2のコント
ロールメモリから読出されたマイクロ命令または第3の
コントロールメモリから読出されたマイクロ命令のうち
第2の部分が格納される第2のマイクロ命令レジスタと
からなり、 複数の第3のコントロールメモリの第1の部分、第2の
部分のうち、第1のマイクロ命令レジスタに読出された
マイクロ命令のアドレス領域指定部で指定された第3の
コントロールメモリの第1の部分、第2の部分をそれぞ
れ選択する第1、第2のセレクタと、 第1のコントロールメモリから読出されたマイクロ命令
または第1のセレクタで選択された第3のコントロール
メモリの第1の部分を、第1のマイクロ命令レジスタに
読出されたマイクロ命令の分岐指示部に従って選択し、
第1のマイクロ命令レジスタに出力する第3のセレクタ
と、 第2のコントロールメモリから読出されたマイクロ命令
または第2のセレクタで選択された第3のコントロール
メモリの第2の部分を、第1のマイクロ命令レジスタに
読出されたマイクロ命令の分岐指示部にしたがって選択
し、第2のマイクロ命令レジスタに出力する第4のセレ
クタとを有することを特徴とするマイクロプログラム制
御装置。
[Claims] 1. A branch method is adopted in which the control memory is accessed using the address indicated by the branch address field in the microinstruction read from the control memory to the microinstruction register as the address of the next microinstruction to be executed. , in a microprogram control device in which the control memory consists of first and second control memories that are normal address areas and a plurality of third control memories that are specific address areas, the microinstructions are arranged in sequence control fields. , in addition to the branch address field, a branch support section that indicates whether to branch to the first, second, or third control memory, and a third control memory when branching to the third control memory. and an address area designation section that designates one of the memories, and a second part of the branch address field that commonly accesses the first, second, and third control memories is stored in the second control memory. , the first control memory stores a first part of the microinstruction excluding the second part, and the microinstruction register stores the microinstruction read from the first control memory or the third control part. a first microinstruction register in which a first part of the microinstructions read from the memory is stored; a microinstruction register read from the second control memory or one of the microinstructions read from the third control memory; a second microinstruction register in which a second part is stored, and a microinstruction read into the first microinstruction register among the first part and second part of the plurality of third control memories; first and second selectors that respectively select the first and second parts of the third control memory specified by the address area specification section of the microinstruction or microinstruction read from the first control memory; selecting a first portion of the third control memory selected by the first selector in accordance with a branch instruction part of the microinstruction read into the first microinstruction register;
a third selector that outputs the microinstruction to the first microinstruction register; and a third selector that outputs the microinstruction read from the second control memory or a second portion of the third control memory selected by the second selector to the A microprogram control device comprising: a fourth selector that selects a branch instruction section of a microinstruction read into the microinstruction register and outputs the selected branch to the second microinstruction register.
JP3143689A 1989-02-09 1989-02-09 Microprogram controller Pending JPH02208726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3143689A JPH02208726A (en) 1989-02-09 1989-02-09 Microprogram controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3143689A JPH02208726A (en) 1989-02-09 1989-02-09 Microprogram controller

Publications (1)

Publication Number Publication Date
JPH02208726A true JPH02208726A (en) 1990-08-20

Family

ID=12331184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3143689A Pending JPH02208726A (en) 1989-02-09 1989-02-09 Microprogram controller

Country Status (1)

Country Link
JP (1) JPH02208726A (en)

Similar Documents

Publication Publication Date Title
JPH0374434B2 (en)
JPH0248931B2 (en)
EP0164418B1 (en) Microprogram control system
JPH02208726A (en) Microprogram controller
KR960016401B1 (en) Page selecting circuit of register pages using register page pointer
JPH06100966B2 (en) Micro program controller
JPH0353320A (en) Program control system
JPH0512107A (en) Program execution system
JPS607295B2 (en) data processing equipment
JPH0477930A (en) Microcomputer
JPH02143328A (en) Micro-program control device
JPH01159730A (en) Microprogram control device
JPH0778730B2 (en) Information processing equipment
JPS6398735A (en) Microcontroller
JPS60237537A (en) Microprogram controller
JPH02100132A (en) Microprogram controller
JPS6260034A (en) Stored program system controller
JPS6398035A (en) Microprogram controller
JPH04140851A (en) Diagnostic system for information processor
JPH04138538A (en) Memory control system
JPH0259821A (en) Microprogram controller
JPS6247744A (en) Microprogram controller
JPS6198444A (en) Control memory system
JPS60169940A (en) Microprogram control device
JPS60105048A (en) Microprogram control system