JPS6148734B2 - - Google Patents
Info
- Publication number
- JPS6148734B2 JPS6148734B2 JP9283578A JP9283578A JPS6148734B2 JP S6148734 B2 JPS6148734 B2 JP S6148734B2 JP 9283578 A JP9283578 A JP 9283578A JP 9283578 A JP9283578 A JP 9283578A JP S6148734 B2 JPS6148734 B2 JP S6148734B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- address
- instruction code
- microinstruction
- storage
- 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
- 230000010365 information processing Effects 0.000 claims description 2
- 238000000034 method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
Description
【発明の詳細な説明】
本発明はマイクロプログラム制御回路に関す
る。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to microprogrammed control circuits.
従来のマイクロプログラム格納手段のアドレス
指定は以下に述べる2つの方法により行なわれて
いる。第1の方法においては、各マイクロ命令内
に次に読み出し実行すべきマイクロ命令のマイク
ロプログラム格納手段内での格納アドレスを示す
次命令アドレスフイールドを有するものである。 Conventional addressing of microprogram storage means is accomplished by two methods described below. In the first method, each microinstruction has a next instruction address field indicating the storage address within the microprogram storage means of the next microinstruction to be read and executed.
このため、アドレスのビツト数分だけマイクロ
プログラム格納手段の容量が大きくなり、金物量
が増加するという欠点がある。次に、第2の方法
においては、現マイクロ命令のマイクロプログラ
ム格納手段内での格納アドレスに“1”を加算し
てその加算結果を次に読み出し実行すべきマイク
ロ命令の格納アドレスとしている。従つて、この
方法では、種々のソフト命令それぞれに要するマ
イクロ命令ステツプ数が異なるため、マイクロプ
ログラム格納手段内の記憶領域を有効に使用する
のが困難であり、さらに、マイクロ命令シーケン
スに分岐が生じる場合の分岐先アドレスをマイク
ロ命令で指定するときには、通常は他の目的の制
御に用いられるマイクロ命令内のフイールドをこ
のときにのみアドレス指定フイールドとして使用
することになるためにこの分岐制御と記憶処理制
御とを同一ステツプでは行なうことができない。
従つて、マイクロ命令ステツプ数の増大による金
物量の増加および性能の低下を招くという欠点が
ある。 Therefore, the capacity of the microprogram storage means increases by the number of bits of the address, and the amount of hardware increases. Next, in the second method, "1" is added to the storage address of the current microinstruction in the microprogram storage means, and the result of the addition is used as the storage address of the next microinstruction to be read and executed. Therefore, in this method, it is difficult to use the storage area in the microprogram storage means effectively because the number of microinstruction steps required for each of the various soft instructions is different, and furthermore, branches occur in the microinstruction sequence. When specifying a branch destination address with a microinstruction, a field in the microinstruction that is normally used for controlling other purposes is used as an address specification field only at this time, so this branch control and storage processing control cannot be performed in the same step.
Therefore, there are disadvantages in that an increase in the number of microinstruction steps causes an increase in the amount of hardware and a decrease in performance.
本発明の目的は、マイクロプログラム格納手段
内の記憶領域の有効利用が簡単にできかつ金物量
を少なくするようにしたマイクロプログラム制御
回路を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a microprogram control circuit in which the storage area in a microprogram storage means can be easily and effectively utilized and the amount of hardware can be reduced.
本発明の回路は、情報処理回路の動作を制御す
る分岐マイクロ命令からなるマイクロプログラム
を貯蔵する第1の貯蔵回路と、
命令コードを格納する命令コード格納手段と、
この命令コード格納手段から与えられる命令コ
ードに予め定められた値を加算する第1の回路
と、
前記第1の貯蔵回路から読み出されたマイクロ
命令が分岐マイクロ命令であるときは前記第1の
回路の出力を命令コードとして選択し前記第1の
貯蔵回路から読み出されたマイクロ命令が分岐マ
イクロ命令でないときは前記命令コード格納手段
からの命令コードを選択するコード選択回路と、
このコード選択回路で選択された命令コードに
より指定されたアドレスに前記第1の貯蔵回路の
マイクロ命令読出し用アドレスを貯蔵する第2の
貯蔵回路と、
前記第1の貯蔵回路のマイクロ命令読み出し用
アドレスに予め定められた値を加算または減算す
る第2の回路と、
外部から新たな命令コードが前記命令コード格
納手段に格納されたとき該命令コードを選択し前
記第1の貯蔵回路のマイクロ命令読出し用アドレ
スとして与えた後前記第2の貯蔵貯蔵回路および
前記第2の回路のどちらか一方を選択し前記第1
の貯蔵回路のマイクロ命令読出し用アドレスとし
て与える選択回路とから構成されている。 The circuit of the present invention includes: a first storage circuit that stores a microprogram consisting of branch microinstructions that control the operation of an information processing circuit; an instruction code storage means that stores an instruction code; and an instruction code storage means that stores an instruction code. a first circuit that adds a predetermined value to an instruction code; and when the microinstruction read from the first storage circuit is a branch microinstruction, the output of the first circuit is selected as the instruction code. and a code selection circuit that selects an instruction code from the instruction code storage means when the microinstruction read out from the first storage circuit is not a branch microinstruction; and a code selection circuit that selects an instruction code from the instruction code storage means; a second storage circuit that stores a microinstruction readout address of the first storage circuit at the address where the microinstruction is read; and a second storage circuit that adds or subtracts a predetermined value to or from the microinstruction readout address of the first storage circuit. a second circuit; when a new instruction code is externally stored in the instruction code storage means, the instruction code is selected and given as a microinstruction reading address of the first storage circuit; Select one of the circuit and the second circuit, and select the first circuit.
and a selection circuit that provides an address for reading microinstructions from the storage circuit.
本発明の特徴は、各ソフト命令に対応したマイ
クロ命令シーケースを原則として第1貯蔵回路内
に予め定められた規則に従つて配列しかつ第2ス
テツプ目のマイクロ命令の格納アドレスや分岐の
場合の分岐先アドレスなどが必要となるときにの
みこれらのアドレスを第2貯蔵回路から得るよう
にしたことにある。 A feature of the present invention is that the microinstruction sequence corresponding to each soft instruction is arranged in principle in the first storage circuit according to a predetermined rule, and when the second step microinstruction storage address or branch The purpose of this arrangement is to obtain branch destination addresses from the second storage circuit only when they are needed.
次に本発明の一実施例について図面を参照して
詳細に説明する。 Next, one embodiment of the present invention will be described in detail with reference to the drawings.
第1図を参照すると、本発明の回路は、10ビツ
トの第1アドレス600を与えられる第1アドレス
デコーダ11および1024語の第1メモリ12から
構成され、前記第1アドレス600に対応したマイ
クロ命令120を出力する第1貯蔵回路10、ソフ
ト命令内の8ビツトの命令コード200を格納する
命令コードレジスタ20、9ビツトの第4アドレ
ス800が与えられる第2アドレスデコーダ31お
よび512語×10ビツトの第2メモリ32から構成
され、前記第4アドレスに対応した10ビツトの第
2アドレス320を出力する第2貯蔵回路30、前
記第1アドレス600に“1”を加算するアドレス
加算回路40、このアドレス加算回路40の10ビ
ツトの出力データ400が与えられ10ビツトの第3
アドレス500が出力される次に読み出し実行すべ
き命令アドレスレジスタ50、前記命令コードレ
ジスタ20の出力である8ビツトの命令コード
201を下位8ビツトとし上位2ビツトを“00”と
した10ビツトのデータ、10ビツトの第2アドレス
320および10ビツトの第3アドレス500の3種のデ
ータを選択して10ビツトの前記第1アドレス600
を出力するアドレス選択回路60、前記命令コー
ド201に“28”を加算するコード加算回路70お
よびこのコード加算回路70での9ビツトの加算
結果700および、上記8ビツトの命令コード201を
下位8ビツトとし上位1ビツトを“0”とした9
ビツトのデータの2種のデータを選択して9ビツ
トの前記第4アドレス800を出力するコード選択
回路80から構成されている。 Referring to FIG. 1, the circuit of the present invention comprises a first address decoder 11 given a 10-bit first address 600 and a first memory 12 of 1024 words, and a microinstruction corresponding to the first address 600. A first storage circuit 10 outputs 120, an instruction code register 20 stores an 8-bit instruction code 200 in a soft instruction, a second address decoder 31 receives a 9-bit fourth address 800, and a 512-word x 10-bit A second storage circuit 30 comprising a second memory 32, which outputs a 10-bit second address 320 corresponding to the fourth address, an address addition circuit 40 which adds "1" to the first address 600, and a second storage circuit 30 that outputs a 10-bit second address 320 corresponding to the fourth address; The 10-bit output data 400 of the adder circuit 40 is given, and the 10-bit third
An 8-bit instruction code that is the output of the instruction address register 50 and the instruction code register 20 to be read and executed next after the address 500 is output.
10-bit data with 201 as the lower 8 bits and the upper 2 bits as “00”, 10-bit second address
320 and the 10-bit third address 500, and select the 10-bit first address 600.
An address selection circuit 60 that outputs the above instruction code 201, a code addition circuit 70 that adds "2 8 " to the instruction code 201, a 9-bit addition result 700 in the code addition circuit 70, and the lower 8 bits of the 8-bit instruction code 201. 9 with the top 1 bit as “0”
The code selection circuit 80 selects two types of bit data and outputs the 9-bit fourth address 800.
但し、前記命令コード201に“28”を加算する
のは8ビツトの命令コード201の上位側に1ビツ
トの“1”を付加するのみでよい。 However, to add "2 8 " to the instruction code 201, it is only necessary to add one bit "1" to the upper side of the 8-bit instruction code 201.
次に分岐命令を含む3ステツプ以上のマイクロ
命令シーケンスから構成されるソフト命令の処理
を例示して本発明の動作について説明する。 Next, the operation of the present invention will be explained by illustrating the processing of a soft instruction consisting of a microinstruction sequence of three or more steps including a branch instruction.
(1) 第1ステツプ……アドレス選択回路60にお
いて第1アドレス600として命令コード201を選
択し、このアドレス600の指定により第1貯蔵
回路10からマイクロ命令120として第1ステ
ツプ目のマイクロ命令が読み出され実行され
る。(1) First step: The instruction code 201 is selected as the first address 600 in the address selection circuit 60, and the first step microinstruction is read as the microinstruction 120 from the first storage circuit 10 by specifying this address 600. issued and executed.
(2) 第2ステツプ……コード選択回路80におい
て命令コード201を選択して第4アドレス800と
しその指定により第2貯蔵回路30から第2ア
ドレス320が読み出されアドレス選択回路60
においてこの第2アドレス320を選択して第1
アドレス600とし、その指定により第1貯蔵回
路10から第2ステツプ目のマイクロ命令が読
み出され実行される。(2) Second step...In the code selection circuit 80, the instruction code 201 is selected and the fourth address 800 is specified.The second address 320 is read out from the second storage circuit 30 according to the specification, and the second address 320 is read out from the address selection circuit 60.
select this second address 320 and
The address is set to 600, and the second step microinstruction is read out from the first storage circuit 10 and executed according to the designation.
(3) 分岐が生じたときの分岐後のステツプ……コ
ード選択回路80において加算結果700が第4
アドレス800として選択されその指定により第
2貯蔵回路30から第2アドレス320が読み出
され、アドレス選択回路60において第2アド
レス320が第1アドレス600として選択されその
指定により第1貯蔵回路10から分岐先のマイ
クロ命令が読み出され実行される。(3) Steps after branching when a branch occurs...In the code selection circuit 80, the addition result 700 is
The second address 320 is selected as the address 800, and the second address 320 is read out from the second storage circuit 30 according to the designation, and the second address 320 is selected as the first address 600 in the address selection circuit 60, and the second address 320 is branched from the first storage circuit 10 according to the designation. The previous microinstruction is read and executed.
(4) その他のステツプ……アドレス選択回路60
において前ステツプでの第1アドレスに“1”
を加算した結果である第3アドレス500が第1
アドレス600として選択され第1貯蔵回路10
から求めるマイクロ命令が読み出され実行され
る。(4) Other steps...address selection circuit 60
, set “1” to the first address in the previous step.
The third address 500, which is the result of adding
The first storage circuit 10 selected as address 600
The required microinstruction is read and executed.
以上のごとき構成を採用することにより、従来
は第1貯蔵回路10内にさらに次命令アドレスフ
イールドとして1024語×10ビツトを必要とした
が、本実施例では第2貯蔵回路30が512語×10
ビツト、すなわち、従来の2分の1の金物量で実
現できる。 By adopting the above configuration, conventionally the first storage circuit 10 required an additional 1024 words x 10 bits as the next instruction address field, but in this embodiment, the second storage circuit 30 has 512 words x 10 bits.
This can be achieved using bits, that is, half the amount of metal used in the past.
本発明には、第2貯蔵回路により、例えば、第
2ステツプ目のマイクロ命令や分岐先のマイクロ
命令のアドレスを指定することにより小形のマイ
クロプログラム制御回路を実現できるという効果
がある。 The present invention has the advantage that a small microprogram control circuit can be realized by using the second storage circuit to specify, for example, the address of a second step microinstruction or a branch destination microinstruction.
図は本発明の一実施例を示す回路図である。
図において、10……第1貯蔵回路、11……
第1アドレスデコーダ、12……第1メモリ、2
0……命令コードレジスタ、30……第2貯蔵回
路、31……第2デコーダ、32……第2メモ
リ、40……アドレス加算回路、50……次命令
アドレスレジスタ、60……アドレス選択回路、
70……コード加算回路、80……コード選択回
路。
The figure is a circuit diagram showing one embodiment of the present invention. In the figure, 10...first storage circuit, 11...
First address decoder, 12...first memory, 2
0...Instruction code register, 30...Second storage circuit, 31...Second decoder, 32...Second memory, 40...Address addition circuit, 50...Next instruction address register, 60...Address selection circuit ,
70...Code addition circuit, 80...Code selection circuit.
Claims (1)
命令を含む複数のマイクロ命令からなるマイクロ
プログラムを貯蔵する第1の貯蔵回路と、 命令コードを格納する命令コード格納手段と、 この命令コード格納手段から与えられる命令コ
ードに予め定めた値を加算する第1の回路と、 前記第1の貯蔵回路から読み出されたマイクロ
命令が分岐マイクロ命令であるときは前記第1の
回路の出力を命令コードとして選択し前記第1の
貯蔵回路から読み出されたマイクロ命令が分岐マ
イクロ命令でないときは前記命令コード格納手段
からの命令コードを選択するコード選択回路と、 このコード選択回路で選択された命令コードに
より指定されたアドレスに前記第1の貯蔵回路の
マイクロ命令読出し用アドレスを貯蔵する第2の
貯蔵回路と、 前記第1の貯蔵回路のマイクロ命令読出し用ア
ドレスに予め定められた値を加算または減算する
第2の回路と、 外部から新たな命令コードが前記命令コード格
納手段に格納されたとき該命令コードを選択し前
記第1の貯蔵回路のマイクロ命令読出し用アドレ
スとして与えた後前記第2の貯蔵回路および前記
第2の回路のどちらか一方を選択し前記第1の貯
蔵回路のマイクロ命令読出し用アドレスとして与
える選択回路とから構成されたことを特徴とする
マイクロプログラム制御回路。[Scope of Claims] 1. A first storage circuit that stores a microprogram consisting of a plurality of microinstructions including a branch microinstruction that controls the operation of an information processing circuit; Instruction code storage means that stores an instruction code; a first circuit that adds a predetermined value to an instruction code given from the instruction code storage means; and when the microinstruction read from the first storage circuit is a branch microinstruction, the first circuit a code selection circuit that selects an output as an instruction code and selects an instruction code from the instruction code storage means when the microinstruction read from the first storage circuit is not a branch microinstruction; a second storage circuit that stores a microinstruction read address of the first storage circuit at an address specified by the instruction code; and a second storage circuit that stores a microinstruction read address of the first storage circuit at an address specified by the instruction code. a second circuit for adding or subtracting a new instruction code from the outside, when a new instruction code is stored in the instruction code storage means, selecting the instruction code and giving it as a microinstruction reading address to the first storage circuit; A microprogram control circuit comprising: the second storage circuit; and a selection circuit that selects one of the second storage circuits and provides it as a microinstruction reading address for the first storage circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9283578A JPS5520535A (en) | 1978-07-28 | 1978-07-28 | Microprogram control circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9283578A JPS5520535A (en) | 1978-07-28 | 1978-07-28 | Microprogram control circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5520535A JPS5520535A (en) | 1980-02-14 |
| JPS6148734B2 true JPS6148734B2 (en) | 1986-10-25 |
Family
ID=14065477
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9283578A Granted JPS5520535A (en) | 1978-07-28 | 1978-07-28 | Microprogram control circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5520535A (en) |
-
1978
- 1978-07-28 JP JP9283578A patent/JPS5520535A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5520535A (en) | 1980-02-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4446517A (en) | Microprogram memory with page addressing and address decode in memory | |
| US4057850A (en) | Processing link control device for a data processing system processing data by executing a main routine and a sub-routine | |
| US4414622A (en) | Addressing system for a computer, including a mode register | |
| EP0220327B1 (en) | Address expanding system | |
| JPS6124728B2 (en) | ||
| JPS6148734B2 (en) | ||
| JPS6148174B2 (en) | ||
| JPS6346855B2 (en) | ||
| JPH03288228A (en) | Information processor | |
| JPH0259560B2 (en) | ||
| JPS59186048A (en) | Microprogram control system | |
| JPS5998253A (en) | Microprogram controller | |
| JPS59225450A (en) | Microprogram controller | |
| JPS6127775B2 (en) | ||
| JPS5831453A (en) | Controlling device for microprogram | |
| JPH0778730B2 (en) | Information processing equipment | |
| JPS62232033A (en) | Microprogram control device | |
| JPS6031646A (en) | Data processor | |
| JPH0423128A (en) | Microprogram controller | |
| JPS6131490B2 (en) | ||
| JPS6182520A (en) | digital filter circuit | |
| JPS58146081A (en) | Memory input-output circuit | |
| JPS58114231A (en) | Assembling and editing system of source image data | |
| JPH01205227A (en) | Microprogram control device | |
| JPS5935239A (en) | Microprogram control system |