[go: up one dir, main page]

JPS6124728B2 - - Google Patents

Info

Publication number
JPS6124728B2
JPS6124728B2 JP8785878A JP8785878A JPS6124728B2 JP S6124728 B2 JPS6124728 B2 JP S6124728B2 JP 8785878 A JP8785878 A JP 8785878A JP 8785878 A JP8785878 A JP 8785878A JP S6124728 B2 JPS6124728 B2 JP S6124728B2
Authority
JP
Japan
Prior art keywords
circuit
address
microinstruction
storage
instruction code
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
Application number
JP8785878A
Other languages
Japanese (ja)
Other versions
JPS5515543A (en
Inventor
Koichi Tsukizoe
Toshio Shoji
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
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Nippon Electric Co 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 Nippon Telegraph and Telephone Corp, Nippon Electric Co Ltd filed Critical Nippon Telegraph and Telephone Corp
Priority to JP8785878A priority Critical patent/JPS5515543A/en
Publication of JPS5515543A publication Critical patent/JPS5515543A/en
Publication of JPS6124728B2 publication Critical patent/JPS6124728B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明はマイクロプログラム制御回路に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to microprogrammed control circuits.

従来のマイクロプログラム格納手段のアドレス
指定は以下に述べる2つの方法により行なわれて
いる。第1の方法においては各マイクロ命令内に
次に実行すべきマイクロ命令のマイクロプログラ
ム格納手段内での格納アドレスを示す命令アドレ
スフイールドを有するようにしてある。このた
め、アドレスのヒツト数分だけマイクロプログラ
ム格納手段の容量が大きくなり、金物量が増加す
るという欠点がある。次に、第2の方法において
は、現マイクロ命令のマイクロプログラム格納手
段内での格納アドレスに“1”を加算してその加
算結果を次に実行すべきマイクロ命令の格納アド
レスとしている。従つて、この方法では、種々の
ソフト命令それぞれに要するマイクロ命令ステツ
プ数が異なるため、マイクロプログラム格納手段
内の記憶領域を有効に使用するのが困難であり、
マイクロ命令格納領域の増大よる金物量の増加を
招くという欠点がある。
Conventional addressing of microprogram storage means is accomplished by two methods described below. In the first method, each microinstruction has an instruction address field indicating the storage address in the microprogram storage means of the microinstruction to be executed next. As a result, the capacity of the microprogram storage means increases by the number of address hits, resulting in an increase in the amount of hardware. 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 executed. Therefore, in this method, since the number of microinstruction steps required for each of the various soft instructions differs, it is difficult to effectively use the storage area in the microprogram storage means.
There is a drawback that the amount of hardware increases due to the increase in the microinstruction storage area.

本発明の目的はマイクロプログラム格納手段内
の記憶領域の有効利用が簡単にできかつ金物量を
少なくするようにしたマイクロプログラム制御回
路を提供することにある。
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 used effectively and the amount of hardware can be reduced.

本発明の回路は、情報処理回路の動作を制御す
る複数のマイクロ命令からなるマイクロプログラ
ムを貯蔵する第1の貯蔵回路と、複数の命令コー
ドを格納する命令コード格納手段と、この命令コ
ード格納手段から与えられる命令コードにより指
定されるアドレスに前記第1の貯蔵回路から読み
出されるマイクロ命令の次に読み出すべきマイク
ロ命令を前記第1の貯蔵回路から読み出すようア
ドレスを格納する第2の貯蔵回路と、前記第1の
貯蔵回路からのマイクロ命令読出し用アドレスに
予め定められた値を加算または減算する計数回路
と、前記命令コード格納手段からの命令コードを
選択し前記第1の貯蔵回路からのマイクロ命令読
出し用アドレスとして与えた後前記第2の貯蔵回
路および前記計数回路のどちらか一方を選択し前
記第1の貯蔵回路からのマイクロ命令読出し用ア
ドレスとして与える選択回路とから構成されてい
る。
The circuit of the present invention includes a first storage circuit that stores a microprogram consisting of a plurality of microinstructions for controlling the operation of an information processing circuit, an instruction code storage means for storing a plurality of instruction codes, and the instruction code storage means. a second storage circuit that stores an address to read from the first storage circuit a microinstruction to be read next to the microinstruction read from the first storage circuit at an address specified by an instruction code given from the first storage circuit; a counting circuit that adds or subtracts a predetermined value to an address for reading a microinstruction from the first storage circuit; and a counting circuit that selects an instruction code from the instruction code storage means and reads a microinstruction from the first storage circuit. and a selection circuit which selects either the second storage circuit or the counting circuit after giving it as an address for reading, and gives it as an address for reading a microinstruction from the first storage circuit.

本発明の特徴は、各ソフト命令に対応したマイ
クロ命令シーケンスを原則として第1貯蔵回路内
に予め定められた規則に従つて配列しかつ第2の
ステツプ目のマイクロ命令の格納アドレスのみ第
2貯蔵回路から得るようにしたことにある。
A feature of the present invention is that the microinstruction sequences corresponding to each soft instruction are arranged in the first storage circuit according to a predetermined rule, and only the storage address of the second step microinstruction is stored in the second storage circuit. The reason lies in the fact that it is obtained from the circuit.

次に本発明の一実施例について図面を参照して
詳細に説明する。
Next, one embodiment of the present invention will be described in detail with reference to the drawings.

図を参照すると、本発明の回路は、10ビツトの
第1アドレス600を入力とする第1アドレスデ
コーダ11および1024語の第1メモリ12から構
成され、前記第1アドレス600に対応したマイ
クロ命令120を出力データとする第1貯蔵回路
10、ソフト命令内の8ビツトの命令コード20
0を入力とする命令コードレジスタ20、この命
令コードレジスタ20の出力である8ビツトの命
令コード201を入力とする第2アドレスデコー
ダ31および256語×10ビツトの第2メモリ32
から構成され、前記命令コード201、すなわ
ち、アドレスに対応した10ビツトの第2アドレス
320を出力データとする第2貯蔵回路30、前
記第1アドレス600に“1”を加算するアドレ
ス加算回路40、このアドレス加算回路40の10
ビツトの出力データ400を入力とし10ビツトの
第3アドレス500を出力とする次命令アドレス
レジスタ50および前記8ビツトの命令コード2
01、10ビツトの第2アドレス320および10ビ
ツトの第3アドレス500の3種のデータを選択
して10ビツトの前記第1アドレス600を出力す
るアドレス選択回路60から構成されている。但
し、該アドレス選択回路60において命令コード
201を選択するときには、第1アドレス600
の上位2ビツトを“00”とし、下位8ビツトを命
令コードとする。次に3ステツプ以上のマイクロ
命令シーケンスから成るソフト命令の処理につい
て説明する。
Referring to the figure, the circuit of the present invention is composed of a first address decoder 11 that receives a 10-bit first address 600 and a first memory 12 of 1024 words, and includes a microinstruction 120 corresponding to the first address 600. A first storage circuit 10 whose output data is an 8-bit instruction code 20 in a soft instruction.
An instruction code register 20 that receives 0 as an input, a second address decoder 31 that receives an 8-bit instruction code 201 that is the output of this instruction code register 20, and a second memory 32 of 256 words x 10 bits.
a second storage circuit 30 which outputs the instruction code 201, that is, a 10-bit second address 320 corresponding to the address; an address addition circuit 40 which adds "1" to the first address 600; 10 of this address adder circuit 40
The next instruction address register 50 receives the bit output data 400 and outputs the 10-bit third address 500, and the 8-bit instruction code 2
The address selection circuit 60 selects three types of data: 01, 10-bit second address 320, and 10-bit third address 500, and outputs the 10-bit first address 600. However, when selecting the instruction code 201 in the address selection circuit 60, the first address 600
The upper 2 bits of the command are set to "00", and the lower 8 bits are set to the instruction code. Next, processing of soft instructions consisting of a microinstruction sequence of three or more steps will be explained.

(1) 第1ステツプ……アドレス選択回路60にお
いて第1アドレス600として命令コード20
1を選択し、第1貯蔵回路10からマイクロ命
令120として第1ステツプ目のマイクロ命令
を読み出し、このマイクロ命令を実行する。
(1) First step...In the address selection circuit 60, the instruction code 20 is set as the first address 600.
1 is selected, the first step microinstruction is read out as the microinstruction 120 from the first storage circuit 10, and this microinstruction is executed.

(2) 第2ステツプ……アドレス選択回路60にお
いて第1アドレス600として第2貯蔵回路3
0の出力である第2アドレス320を選択し、
第1貯蔵回路10からマイクロ命令120とし
て第2ステツプ目のマイクロ命令を読み出し、
このマイクロ命令を実行する。
(2) Second step...The address selection circuit 60 selects the second storage circuit 3 as the first address 600.
Select the second address 320, which is the output of 0,
reading out the second step microinstruction as the microinstruction 120 from the first storage circuit 10;
Execute this microinstruction.

(3) 第3ステツプ以降……アドレス選択回路60
において第1アドレス600として前ステツプ
での第1アドレスに“1”を加算した結果であ
る第3アドレス500を選択し、第1貯蔵回路
10よりマイクロ命令120として第3ステツ
プ目以降のマイクロ命令を読み出し、これらの
マイクロ命令を順次実行する。
(3) After the third step...address selection circuit 60
In this step, the third address 500, which is the result of adding "1" to the first address in the previous step, is selected as the first address 600, and the microinstructions from the third step onward are stored as the microinstructions 120 from the first storage circuit 10. Read and execute these microinstructions sequentially.

以上のような構成を採用することにより従来は
第1貯蔵回路10内にさらに次命令アドレスフイ
ールドとして1024語×10ビツトを必要としたが、
本実施例では第2貯蔵回路30が256語×10ビツ
ト、すなわち、従来の4分の1の金物量の使用で
よくなる。
Conventionally, by adopting the above configuration, 1024 words x 10 bits were additionally required as the next instruction address field in the first storage circuit 10.
In this embodiment, the second storage circuit 30 only needs to use 256 words x 10 bits, that is, one-quarter the amount of metal compared to the conventional one.

本発明には、第2貯蔵回路により、例えば、第
2ステツプ目のマイクロ命令のアドレスを指定す
ることにより小形のマイクロプログラム制御回路
を実現できるという効果がある。
The present invention has the advantage that a small microprogram control circuit can be realized by, for example, specifying the address of the second step microinstruction using the second storage circuit.

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

図は本発明の1実施例を示す回路図である。 10……第1貯蔵回路、11……第1アドレス
デコーダ、12…第1メモリ、20……命令コー
ドレジスタ、30……第2貯蔵回路、31……第
2アドレスデコーダ、32……第2メモリ、40
……アドレス加算回路、50……次命令アドレス
レジスタ、60……アドレス選択回路。
The figure is a circuit diagram showing one embodiment of the present invention. 10...First storage circuit, 11...First address decoder, 12...First memory, 20...Instruction code register, 30...Second storage circuit, 31...Second address decoder, 32...Second memory, 40
. . . address addition circuit, 50 . . . next instruction address register, 60 . . . address selection circuit.

Claims (1)

【特許請求の範囲】 1 情報処理回路の動作を制御する複数のマイク
ロ命令からなるマイクロプログラムを貯蔵する第
1の貯蔵回路と、 ソフト命令に対応するマイクロ命令シーケンス
の第1ステツプ目のマイクロ命令を前記第1の貯
蔵回路から読み出すために該ソフト命令に含まれ
る命令コードを格納する命令コード格納手段と、 前記マイクロ命令シーケンスの第2ステツプ目
のマイクロ命令を前記第1の貯蔵回路から読み出
すためのアドレスを格納する第2の貯蔵回路と、 前記第1の貯蔵回路からのマイクロ命令読出し
用アドレスに予め定められた値を加算または減算
する計数回路と、 前記命令コード格納手段からの命令コードを選
択し、前記第1の貯蔵回路からのマイクロ命令読
出し用アドレスとして与えた後、前記第2の貯蔵
回路および前記計数回路のどちらか一方を選択し
前記第1の貯蔵回路からのマイクロ命令読出し用
アドレスとして与える選択回路とから構成された
ことを特徴とするマイクロプログラム制御回路。
[Scope of Claims] 1. A first storage circuit that stores a microprogram consisting of a plurality of microinstructions that control the operation of an information processing circuit; instruction code storage means for storing an instruction code included in the soft instruction for reading from the first storage circuit; and instruction code storage means for reading a second step microinstruction of the microinstruction sequence from the first storage circuit. a second storage circuit for storing addresses; a counting circuit for adding or subtracting a predetermined value from the microinstruction reading address from the first storage circuit; and selecting an instruction code from the instruction code storage means. After providing the address for reading a microinstruction from the first storage circuit, either one of the second storage circuit or the counting circuit is selected, and the address for reading the microinstruction from the first storage circuit is selected. A microprogram control circuit characterized in that it is comprised of a selection circuit that provides a selection circuit.
JP8785878A 1978-07-18 1978-07-18 Microprogram control circuit Granted JPS5515543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8785878A JPS5515543A (en) 1978-07-18 1978-07-18 Microprogram control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8785878A JPS5515543A (en) 1978-07-18 1978-07-18 Microprogram control circuit

Publications (2)

Publication Number Publication Date
JPS5515543A JPS5515543A (en) 1980-02-02
JPS6124728B2 true JPS6124728B2 (en) 1986-06-12

Family

ID=13926574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8785878A Granted JPS5515543A (en) 1978-07-18 1978-07-18 Microprogram control circuit

Country Status (1)

Country Link
JP (1) JPS5515543A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57179514A (en) * 1981-04-28 1982-11-05 Sumitomo Metal Ind Ltd Combustion controlling method
JPS6375833A (en) * 1986-09-18 1988-04-06 Toshiba Corp Information processor
JPH072983B2 (en) * 1989-09-19 1995-01-18 川崎製鉄株式会社 Method for producing alloyed hot-dip galvanized steel strip

Also Published As

Publication number Publication date
JPS5515543A (en) 1980-02-02

Similar Documents

Publication Publication Date Title
US4446517A (en) Microprogram memory with page addressing and address decode in memory
US4633390A (en) Microprogram control system
JPS6049332B2 (en) Microprogram control method
US4885581A (en) Digital-to-analog converter circuit
US4414622A (en) Addressing system for a computer, including a mode register
EP0220327B1 (en) Address expanding system
JPS6124728B2 (en)
JPS6148734B2 (en)
JPH02126321A (en) Instruction code decoding device
JPS6148174B2 (en)
JPS6346855B2 (en)
JPS6148735B2 (en)
JPS6065342A (en) microcomputer
JPH0810429B2 (en) Micro program controller
JPS59225450A (en) Microprogram controller
JPS5925251B2 (en) Creation method for arithmetic control signals in microprogram-controlled electronic computers
JP2743947B2 (en) Micro program control method
JPS6226485B2 (en)
JPS6137651B2 (en)
JPS58146081A (en) Memory input-output circuit
JPS5998253A (en) Microprogram controller
JPS59186048A (en) Microprogram control system
JPH06124204A (en) Readout address deciding circuit for memory
JPH0750596A (en) Encoding device and encoding method
JPS6112577B2 (en)