JPS6130295B2 - - Google Patents
Info
- Publication number
- JPS6130295B2 JPS6130295B2 JP17346180A JP17346180A JPS6130295B2 JP S6130295 B2 JPS6130295 B2 JP S6130295B2 JP 17346180 A JP17346180 A JP 17346180A JP 17346180 A JP17346180 A JP 17346180A JP S6130295 B2 JPS6130295 B2 JP S6130295B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- instruction
- register
- control
- control memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/22—Microcontrol or microprogram arrangements
- G06F9/26—Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements
- G06F9/262—Arrangements for next microinstruction selection
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Description
【発明の詳細な説明】
本発明はマイクロプログラム分岐制御方式に関
し、特に分岐条件コードを備えた機械語命令の制
御メモリアドレスを制御メモリ内に特別に用意さ
れた制御情報により作成するようにしたマイクロ
プログラム分岐制御方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microprogram branch control system, and more particularly to a microprogram branch control system in which a control memory address of a machine language instruction with a branch condition code is created using control information specially prepared in the control memory. This relates to a program branch control method.
マイクロプログラム制御方式において、例えば
拡張命令(SUBOP)コードをもたない一般命命
(機械語命令)によつて必要とされる制御メモリ
アドレスは、該一般命令コードを制御メモリにア
ドレスすることにより直接求めることができる。
すなわちこの場合には、命令レジスタにセツトさ
れた命令の命令コード部分をそのまま制御メモリ
のアドレスの一部としてアクセスすればよい。こ
の一般命令が1マイクロ命令で完了する場合に
は、次の一般命令のオペレーシヨン・コードによ
つて当該一般命令を実行するための、当該オペレ
ーシヨン・コードが制御メモリのアドレスとして
再び選択されるようになつている。 In a microprogram control system, for example, the control memory address required by a general instruction (machine language instruction) that does not have an extended instruction (SUBOP) code can be directly accessed by addressing the general instruction code to the control memory. You can ask for it.
That is, in this case, the instruction code portion of the instruction set in the instruction register may be accessed as is as part of the address of the control memory. If this general instruction is completed with one microinstruction, the operation code of the next general instruction is selected again as the address of the control memory for executing the general instruction. It's becoming like that.
しかし最近では機械語命令の機能を強化するた
めサブオペレーシヨン・コードのような拡張命令
コードを持つ命令コードが使用されている。この
場合には、例えば第1図に示すように、SUBOP
コードにもとづきプログラムを実行する場合にこ
のSUBOPコードの例えば下位4ビツトを第1図
のコード「A」(16進)に置換えて処理を行な
い、これにもとづきマイクロプログラムを順次読
出して制御を行つたのちに、そのマイクロプログ
ラムのアドレスの下位4ビツトを第1図のコード
「B」に置換え処理を行なうというような制御が
行なわれていた。しかしながらこのような方式で
は、制御メモリのアドレスが例えば4ビツト+4
ビツト分の256通り必要となるが、実際に分岐命
令コードを持つものは現時点では約20程度でよ
い。したがつて、このように分岐命令コードのビ
ツト数に対応した容量で、制御メモリを構成する
場合には制御メモリに大容量のものを必要とする
ものならず、このような大容量のものを使用して
も命令が格納される部分は一部分に限定されるこ
とになり、制御メモリの使用効率上好ましくな
い。また何回かに分けて制御メモリを読出すので
時間的損失も大きい。 However, recently, instruction codes with extended instruction codes such as sub-operation codes have been used to enhance the functionality of machine language instructions. In this case, for example, as shown in Figure 1, SUBOP
When executing a program based on a code, for example, the lower 4 bits of this SUBOP code are replaced with the code "A" (hexadecimal) shown in Figure 1, and the microprograms are sequentially read and controlled based on this. Control was then performed to replace the lower four bits of the address of the microprogram with the code "B" shown in FIG. However, in such a system, the address of the control memory is, for example, 4 bits + 4 bits.
256 bits are required, but at present only about 20 branch instruction codes are required. Therefore, when configuring the control memory with a capacity corresponding to the number of bits of the branch instruction code, it is not necessary to have a large capacity control memory; Even if it is used, the part where instructions are stored will be limited to only one part, which is not preferable in terms of control memory usage efficiency. Furthermore, since the control memory is read out several times, there is a large time loss.
したがつて本発明はこのような問題点を改善す
るために、一般命令コードにより読出したネクス
ト・アドレス・コードと分岐インデツクス・コー
ドを演算することにより所望のアドレスを得るよ
うにすることにより、ハードウエアを複雑にする
ことなく、しかも制御メモリを必要以上に大きな
ものを使用することもなく命令機能を拡大して複
雑な制御が行えるようにしたマイクロプログラム
分岐制御方式を提供することを目的とする。 Therefore, in order to improve this problem, the present invention obtains a desired address by calculating the next address code read by a general instruction code and a branch index code. The purpose of the present invention is to provide a microprogram branch control method that enables complex control by expanding instruction functions without complicating the software or using an unnecessarily large control memory. .
そしてこのために本発明におけるマイクロプロ
グラム分岐制御方式では、命令コードを有する機
械語命令及び命令コードと拡張命令コードとを有
する機械語命令がセツトされるインストラクシヨ
ン・レジスタ1と、マイクロ命令が格納された制
御メモリ2とを備えたマイクロプログラム制御方
式において、機械語命令の命令コードにもとづき
読出された上記制御メモリの出力を一時記憶する
制御メモリ出力レジスタのネクスト・アドレス部
3−0、CSアドレス制御フイールド部3−1、
制御フイールド部3−2と、拡張命令コードによ
り読出された制御メモリの分岐インデツクス・コ
ードを一時記憶する出力レジスタのインデツク
ス・フイールド部3−3と演算手段9と、次に読
出すマイクロ命令のアドレスを指定する制御メモ
リ・アドレス・レジスタ8と、アドレス・コント
ロール回路4と、一般命令コードをゲート制御す
る第1ゲート回路10と、上記制御メモリ・アド
レス・レジスタ8からの出力をゲート制御する第
2ゲート回路11と、拡張命令コードをゲート制
御する第3ゲート回路12を具備するとともに上
記制御メモリより選択されるマイクロ命令にネク
スト・アドレス・フイールドNAとアドレス制御
フイールドACを設け、上記アドレス制御フイー
ルドACの出力を受けて上記アドレス・コントロ
ール回路4の出力に応じて上記インストラクシヨ
ン・レジスタ1の命令コード部分OP、制御メモ
リ・アドレス・レジスタ8にセツトされたデータ
又はインストラクシヨン・レジスタ1の拡張命令
コード部分SUBOPいずれかをアドレスとして選
択するようなすとともに、上記ネクスト・アドレ
ス・フイールドを表わすコードが上記出力レジス
タを経て格納される制御メモリ・アドレス・レジ
スタ8の一部ビツトにより上記分岐インデツク
ス・コードの1つを選択出力するように制御する
とともに上記制御メモリ・アドレス・レジスタ8
の他のビツトと上記選択された分岐インデツク
ス・コードを上記演算手段9で演算することによ
り得られた新らたなアドレス情報にもとづき制御
メモリをアクセス可能とするようにしたことを特
徴とする。 For this purpose, the microprogram branch control system of the present invention has an instruction register 1 in which machine language instructions having instruction codes and machine language instructions having instruction codes and extended instruction codes are set, and an instruction register 1 in which microinstructions are stored. In a microprogram control system having a control memory 2, the next address section 3-0 of the control memory output register temporarily stores the output of the control memory read based on the instruction code of the machine language instruction, the CS address. control field section 3-1,
The control field section 3-2, the index field section 3-3 of the output register that temporarily stores the branch index code of the control memory read out by the extended instruction code, the arithmetic means 9, and the address of the next microinstruction to be read out. a control memory address register 8 for specifying the address control circuit 4; a first gate circuit 10 for gate-controlling the general instruction code; and a second gate circuit 10 for gate-controlling the output from the control memory address register 8. It is provided with a gate circuit 11 and a third gate circuit 12 for gate controlling an extended instruction code, and a next address field NA and an address control field AC are provided for a microinstruction selected from the control memory, and the address control field AC is provided with a next address field NA and an address control field AC. In response to the output of the address control circuit 4, the instruction code portion OP of the instruction register 1, the data set in the control memory address register 8, or the expansion of the instruction register 1 In addition to selecting one of the instruction code parts SUBOP as an address, the code representing the next address field is stored in the branch index code by some bits of the control memory address register 8 which is stored via the output register. The control memory address register 8 is controlled to selectively output one of the
The present invention is characterized in that the control memory can be accessed based on new address information obtained by calculating the other bits of ``1'' and the selected branch index code in the calculating means 9.
以下本発明の一実施例として、拡張命令コート
が分岐条件コードとして働く場合を第2図にもと
づき説明する。 Hereinafter, as an embodiment of the present invention, a case in which an extended instruction code acts as a branch condition code will be described with reference to FIG.
図中、1はインストラクシヨン・レジスタ、2
は制御メモリ、3はデータ・レジスタ、4はアド
レス・コントロール回路、5はセレクタ、6,7
はアドレス選択ラツチ、8はアドレス・レジス
タ、9は論理演算回路、10,11,12はアン
ド回路である。ここでアンド回路10は一般命令
コードをゲート制御する第1ゲート回路として作
用し、アンド回路11は制御メモリ・アドレス・
レジスタ8からの出力をゲート制御する第2ゲー
ト回路として作用し、アンド回路12は拡張命令
コードをゲート制御する第3ゲート回路として作
用する。 In the figure, 1 is the instruction register, 2
is a control memory, 3 is a data register, 4 is an address control circuit, 5 is a selector, 6, 7
8 is an address selection latch, 8 is an address register, 9 is a logic operation circuit, and 10, 11, and 12 are AND circuits. Here, the AND circuit 10 functions as a first gate circuit that gate-controls the general instruction code, and the AND circuit 11 functions as a control memory, address, and
The AND circuit 12 functions as a second gate circuit that gate-controls the output from the register 8, and the AND circuit 12 functions as a third gate circuit that gate-controls the extended instruction code.
インストラクシヨン・レジスタ1は一般命令コ
ードOPと、拡張命令コードとオペランド指定部
等がセツトされるものである。 Instruction register 1 is used to set general instruction code OP, extended instruction code, operand specification section, etc.
制御メモリ2は複数のブロツク0,1……Nよ
りなり、ブロツク0の領域には分岐先のアドレス
作成のためのインデツクス値を指定するインデツ
クス・フイールドSIが設けられている。このイン
デツクス・フイールドSIは、例えばSI0〜SI3の
4つのインデツクス・コードに分割されており、
セレクタ5によりその1つが選択されるものであ
る。 The control memory 2 consists of a plurality of blocks 0, 1...N, and the area of block 0 is provided with an index field SI for specifying an index value for creating a branch destination address. This index field SI is divided into four index codes, SI0 to SI3, for example.
One of them is selected by the selector 5.
データ・レジスタ3は制御メモリ2から読出さ
れたマイクロ命令が一時セツトされるレジスタで
あつて、ネクスト・アドレスNAのセツトされる
ネクスト・アドレス部3−0と、後述するように
次に読出すべき制御メモリアドレスの入力回路を
選択する制御コードACがセツトされるCSアドレ
ス制御フイールド部3−1と、各種レジスタ及び
バスを制御する制御情報がセツトされる制御フイ
ールド部3−2と、インデツクス・フイールドSI
がセツトされるインデツクス・フイールド部3−
3等により構成されている。 The data register 3 is a register in which the microinstruction read from the control memory 2 is temporarily set, and includes a next address part 3-0 in which the next address NA is set, and a microinstruction to be read next as described later. A CS address control field section 3-1 in which a control code AC for selecting an input circuit for a control memory address is set, a control field section 3-2 in which control information for controlling various registers and buses is set, and an index field. S.I.
Index field section 3-
It is composed of 3 etc.
アドレス・コントロール回路4は上記制御コー
ドACに応じて制御メモリ2をアクセスするため
のアドレス情報が伝達されるルートを選択するた
めの制御を行なうものである。このアドレス・コ
ントロール回路4がアドレス選択ラツチ6,7の
出力を「0」になるように制御する場合にはアン
ド回路10がオン状態となり、ラインL1を経由
してインストラクシヨン・レジスタ1のOPコー
ド部分がアドレスとして伝達され、アドレス選択
ラツチ6が「1」を出力するように制御する場合
にはアンド回路11がオン状態となりラインL2
を経由してアドレス・レジスタ8にセツトされた
データがアドレスとして伝達され、またアドレス
選択ラツチ7が「1」を出力するように制御する
場合にはアンド回路12がオン状態となりライン
L3を経由して分岐条件コードがアドレスとして
伝達されるものである。 The address control circuit 4 performs control to select a route through which address information for accessing the control memory 2 is transmitted in accordance with the control code AC. When the address control circuit 4 controls the outputs of the address selection latches 6 and 7 to be "0", the AND circuit 10 is turned on and the output of the instruction register 1 is output via the line L1. When the OP code part is transmitted as an address and the address selection latch 6 is controlled to output "1", the AND circuit 11 is turned on and the line L 2
The data set in address register 8 is transmitted as an address via
The branch condition code is transmitted as an address via L3 .
セレクタ5はインデツクス・フイールドSIの複
数のインデツクス・コードSI0〜SI3のうちの1
つをアドレス・レジスタ8から伝達される選択指
令にもとづき選択的に出力するものである。 Selector 5 is one of multiple index codes SI0 to SI3 of index field SI.
One is selectively output based on a selection command transmitted from the address register 8.
アドレス選択ラツチ6,7はアンド回路10〜
12を選択的にオン状態にして制御メモリ2のア
ドレスを選択するものであり、アドレス・コント
ロール回路4によりその状態が制御される。この
うちアドレス選択ラツチ7はインストラクシヨ
ン・レジスタ1にセツトされた命令が拡張命令コ
ードをもつ命令のときに「1」にセツトされるも
のである。 The address selection latches 6, 7 are AND circuits 10~
12 is selectively turned on to select the address of the control memory 2, and its state is controlled by the address control circuit 4. Of these, the address selection latch 7 is set to "1" when the instruction set in the instruction register 1 is an instruction having an extended instruction code.
アドレス・レジスタ8は制御メモリ2をアクセ
スすべきアドレスがセツトされるレジスタであ
る。論理演算回路9はセレクタ5から出力された
インデツクスとアドレス・レジスタ8に保持され
ているアドレスとを、例えば加算したり、連結し
たり、オアする等の論理演算を行なつて新らしい
アドレスを作成するものである。 Address register 8 is a register in which an address to access control memory 2 is set. The logical operation circuit 9 performs logical operations such as adding, concatenating, or ORing the index output from the selector 5 and the address held in the address register 8 to create a new address. It is something to do.
次に第2図にもとづき分岐制御について説明す
る。 Next, branch control will be explained based on FIG.
(1) まず、主記憶装置から読出された命令をイン
ストラクシヨン・レジスタ1にセツトするが、
このときアドレス選択ラツチ6,7はいずれも
「0」を出力しているので、アンド回路10が
オンとなり、インストラクシヨン・レジスタ1
にセツトされた、命令を定義する8ビツトの一
般命令コードOPがそのまま制御メモリ2のア
ドレスとなり、ブロツク0の0〜255番地にあ
る1語のマイクロ命令を読出し、これをデー
タ・レジスタ3に格納する。もしもこの命令が
1語のマイクロ命令で終るときは、データ・レ
ジスタ3の制御コードACをアドレス・コント
ロール回路4がデコードしたとき、アドレス選
択ラツチ6,7がいずれも「0」を出力する。
これによりインストラクシヨン・レジスタ1に
次の命令が格納されることになる。(1) First, the instruction read from the main memory is set in instruction register 1.
At this time, address selection latches 6 and 7 are both outputting "0", so AND circuit 10 is turned on, and instruction register 1
The 8-bit general instruction code OP that defines the instruction set in OP becomes the address of control memory 2, reads the 1-word microinstruction from addresses 0 to 255 of block 0, and stores it in data register 3. do. If this instruction ends with a one-word microinstruction, when address control circuit 4 decodes control code AC of data register 3, address selection latches 6 and 7 both output "0".
This causes the next instruction to be stored in instruction register 1.
(2) しかしながらインストラクシヨン・レジスタ
1にセツトされた命令が拡張命令コードをもつ
命令の場合には、データ・レジスタ3の制御コ
ードACをアドレス・コントロール回路4がデ
コードしたときアドレス選択ラツチ7が「1」
にセツトされ、分岐命令であることがわかる。
そしてデータ・レジスタ3のネクスト・アドレ
ス部3−0に格納されているネクスト・アドレ
スNAがアドレス・レジスタ8に格納される。(2) However, if the instruction set in instruction register 1 is an instruction with an extended instruction code, when address control circuit 4 decodes control code AC in data register 3, address selection latch 7 "1"
This indicates that this is a branch instruction.
Then, the next address NA stored in the next address field 3-0 of the data register 3 is stored in the address register 8.
(3) 上記アドレス選択ラツチ7が「1」にセツト
されたことにより、アンド回路12がオンとな
り、今度は複数のビツト(例えば8ビツト)か
らなる拡張命令コードをアドレスとして制御メ
モリ2を読出し、そのデータがデータ・レジス
タ3に格納される。このときデータ・レジスタ
3の内容はインデツクス・フイードSIだけが使
用され、他のフイールドは無視される。このと
きインデツクス・フイールドSIが複数のグルー
プに分割されているときには、アドレス・レジ
スタ8の下位2ビツトにもとづきセレクタ5が
選択し、これを論理演算回路9に出力する。こ
のとき、選択信号として使用されなかつたアド
レス・レジスタ8のその他のビツトはライン
L4を経由して論理演算回路9に入力される。(3) As the address selection latch 7 is set to "1", the AND circuit 12 is turned on, and the extended instruction code consisting of a plurality of bits (for example, 8 bits) is read out from the control memory 2 as an address. The data is stored in data register 3. At this time, only index feed SI is used as the contents of data register 3, and other fields are ignored. At this time, when the index field SI is divided into a plurality of groups, the selector 5 makes a selection based on the lower two bits of the address register 8 and outputs it to the logic operation circuit 9. At this time, the other bits of address register 8 that are not used as selection signals are
It is input to the logic operation circuit 9 via L4 .
(4) 論理演算回路9は上記セレクタ5から出力さ
れたインデツクス・フイールドからのデータ
と、上記ラインL4を経由して入力されたアド
レス・レジスタ8からのデータとを論理演算し
その結果をラインL5を経由してアドレス・レ
ジスタ8にセツトする。このときアドレス・コ
ントロール回路4はアドレス選択ラツチ7をリ
セツトし6をセツトするように制御する。かく
してアドレス選択ラツチ6がセツトされて
「1」を出力し、アンド回路11がオンとなる
ので、上記の如くして得られたアドレス・レジ
スタ8にセツトされた分岐先アドレスにもとづ
き制御メモリ2がアクセスされ、分岐制御が行
なわれる。以後は一般命令と同様の動作でマイ
クロ命令が読出されることになる。(4) The logic operation circuit 9 performs a logic operation on the data from the index field output from the selector 5 and the data from the address register 8 input via the line L4 , and outputs the result on the line. Set in address register 8 via L5 . At this time, the address control circuit 4 resets the address selection latch 7 and controls the address selection latch 6 to be set. In this way, the address selection latch 6 is set and outputs "1", and the AND circuit 11 is turned on, so that the control memory 2 is stored based on the branch destination address set in the address register 8 obtained as described above. It is accessed and branch control is performed. Thereafter, the microinstruction is read out in the same manner as a general instruction.
(5) また上記(1)において1語のマイクロ命令で命
令が終了しないときは、上記制御コードACを
アドレス・コントロール回路4がデコードした
結果、アドレス選択ラツチ6がセツトされ7が
リセツトされる。これによりネクスト・アドレ
スNAがアドレス・レジスタ8に格納され、ま
たアンド回路11がオン状態になるので、この
アドレス・レジスタ8に格納されたアドレスに
より制御メモリ2から次のマイクロ命令が読出
される。このようなことが繰返され、制御コー
ドACをデコードの結果、アドレス選択ラツチ
6,7がともにリセツトされるとき、この命令
が終了する。(5) Furthermore, in the above (1), if the instruction is not completed with a one-word microinstruction, the address control circuit 4 decodes the control code AC, and as a result, the address selection latch 6 is set and the address selection latch 7 is reset. As a result, the next address NA is stored in the address register 8, and the AND circuit 11 is turned on, so that the next microinstruction is read out from the control memory 2 using the address stored in the address register 8. This process is repeated, and when the address selection latches 6 and 7 are both reset as a result of decoding the control code AC, this instruction is completed.
勿論、拡張命令コードを持たない命令でも、も
その命令特有の分岐条件があればインストラクシ
ヨン・レジスタの拡張命令コードのフイールドに
上記分岐条件コードがセツトされ、上記の場合と
同様な制御が行なわれることになる。 Of course, even if an instruction does not have an extended instruction code, if there is a branch condition specific to that instruction, the above branch condition code will be set in the extended instruction code field of the instruction register, and the same control as above will be performed. It will be.
したがつて本発明によれば、制御メモリを不本
意に大きくする必要なく、制御メモリを有効的に
使用して分岐制御を行なうことができる。しかも
拡張命令コードを、ハード的に処理制御して制御
メモリをアクセスすることができるので、高速に
動作させることが可能となる。 Therefore, according to the present invention, branch control can be performed by effectively using the control memory without the need to unnecessarily increase the size of the control memory. Moreover, since the extended instruction code can be processed and controlled by hardware to access the control memory, it is possible to operate at high speed.
第1図は拡張命令コードを有する命令形式の説
明図、第2図は本発明の一実施例構成図である。
図中、1はインストラクシヨン・レジスタ、2
は制御メモリ、3はデータ・レジスタ、4はアド
レス・コントロール回路、5はセレクタ、6,7
はアドレス選択ラツチ、8はアドレス・レジス
タ、9は論理演算回路、10,11,12はアン
ド回路をそれぞれ示す。
FIG. 1 is an explanatory diagram of an instruction format having an extended instruction code, and FIG. 2 is a configuration diagram of an embodiment of the present invention. In the figure, 1 is the instruction register, 2
is a control memory, 3 is a data register, 4 is an address control circuit, 5 is a selector, 6, 7
Reference numeral 8 indicates an address selection latch, 8 an address register, 9 a logical operation circuit, and 10, 11, and 12 an AND circuit, respectively.
Claims (1)
ドと拡張命令コードとを有する機械語命令がセツ
トされるインストラクシヨン・レジスタ1と、マ
イクロ命令が格納された制御メモリ2とを備えた
マイクロプログラム制御方式において、 機械語命令の命令コードにもとづき読出された
上記制御メモリの出力を一時記憶する制御メモリ
出力レジスタのネクスト・アドレス部3−0、
CSアドレス制御フイールド部3−1、制御フイ
ールド部3−2と、 拡張命令コードにより読出された制御メモリの
分岐インデツクス・コードを一時記憶する出力レ
ジスタのインデツクス・フイールド部3−3と、 演算手段9と、 次に読出すマイクロ命令のアドレスを指定する
制御メモリ・アドレス・レジスタ8と、 アドレス・コントロール回路4と、 一般命令コードをゲート制御する第1ゲート回
路10と、 上記制御メモリ・アドレス・レジスタ8からの
出力をゲート制御する第2ゲート回路11と、 拡張命令コードをゲート制御する第3ゲート回
路12を具備するとともに上記制御メモリより選
択されるマイクロ命令にネクスト・アドレス・フ
イールドNAとアドレス制御フイールドACを設
け、上記アドレス制御フイールドACの出力を受
けて上記アドレス・コントロール回路4の出力に
応じて上記インストラクシヨン・レジスタ1の命
令コード部分OP、制御メモリ・アドレス・レジ
スタ8にセツトされたデータ又はインストラクシ
ヨン・レジスタ1の拡張命令コード部分SUBOP
のいずれかをアドレスとして選択すようになすと
ともに、上記ネクスト・アドレス・フイールドを
表わすコードが上記出力レジスタを経て格納され
る制御メモリ・アドレス・レジスタ8の一部ビツ
トにより上記分岐インデツクス・コードの1つを
選択出力するように制御するとともに上記制御メ
モリ・アドレス・レジスタ8の他のビツトと上記
選択された分岐インデツクス・コードを上記演算
手段9で演算することにより得られた新らたなア
ドレス情報にもとづき制御メモリをアクセス可能
とするようにしたことを特徴とするマイクロプロ
グラム分岐制御方式。[Claims] 1. An instruction register 1 in which machine language instructions having instruction codes and machine language instructions having instruction codes and extended instruction codes are set, and a control memory 2 in which microinstructions are stored. In the microprogram control system, a next address section 3-0 of a control memory output register temporarily stores an output of the control memory read based on an instruction code of a machine language instruction;
A CS address control field section 3-1, a control field section 3-2, an index field section 3-3 of an output register that temporarily stores the branch index code of the control memory read by the extended instruction code, and an arithmetic means 9. , a control memory address register 8 that specifies the address of the microinstruction to be read next, an address control circuit 4, a first gate circuit 10 that gate-controls the general instruction code, and the control memory address register 8 that specifies the address of the microinstruction to be read next. A second gate circuit 11 gate-controls the output from the control memory 8, and a third gate circuit 12 gate-controls the extended instruction code. A field AC is provided, and in response to the output of the address control field AC, the instruction code portion OP of the instruction register 1 is set in the control memory address register 8 in accordance with the output of the address control circuit 4. Extended instruction code part SUBOP of data or instruction register 1
One of the branch index codes is selected as the address, and one of the branch index codes is selected by some bits of the control memory address register 8 in which the code representing the next address field is stored via the output register. New address information obtained by controlling the branch index code to be selectively outputted, and calculating the other bits of the control memory address register 8 and the selected branch index code by the calculation means 9. A microprogram branch control method characterized by making control memory accessible based on the following.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17346180A JPS5797148A (en) | 1980-12-09 | 1980-12-09 | Branch control system of microprogram |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17346180A JPS5797148A (en) | 1980-12-09 | 1980-12-09 | Branch control system of microprogram |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5797148A JPS5797148A (en) | 1982-06-16 |
| JPS6130295B2 true JPS6130295B2 (en) | 1986-07-12 |
Family
ID=15960897
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17346180A Granted JPS5797148A (en) | 1980-12-09 | 1980-12-09 | Branch control system of microprogram |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5797148A (en) |
-
1980
- 1980-12-09 JP JP17346180A patent/JPS5797148A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5797148A (en) | 1982-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5177701A (en) | Computer and method for performing immediate calculation by utilizing the computer | |
| US4631663A (en) | Macroinstruction execution in a microprogram-controlled processor | |
| JPH0241053B2 (en) | ||
| JPH0248931B2 (en) | ||
| US4394735A (en) | Data processor controlled by microprograms | |
| US4126896A (en) | Microprogrammed large-scale integration (LSI) microprocessor | |
| JPS623461B2 (en) | ||
| JPH027097B2 (en) | ||
| KR900005547B1 (en) | Sequence controller | |
| JPH034936B2 (en) | ||
| JPH0363092B2 (en) | ||
| KR940002478B1 (en) | Information processing equipment | |
| JPS6130295B2 (en) | ||
| JPS6065342A (en) | Microcomputer | |
| JP2576589B2 (en) | Virtual storage access control method | |
| JPH0713758A (en) | Instruction decoding method | |
| JPH0218732B2 (en) | ||
| JPS62147545A (en) | Transfer command processing method in information processing equipment | |
| JPH0353321A (en) | information processing equipment | |
| JPH0399321A (en) | Instruction control system | |
| JPH0319570B2 (en) | ||
| JPS592938B2 (en) | Memory workspace | |
| JPS6158042A (en) | Microprogram control system | |
| JPS6126089B2 (en) | ||
| JPS6362065A (en) | Data transfer control system |