JPS6389930A - Microprogram controller - Google Patents

Microprogram controller

Info

Publication number
JPS6389930A
JPS6389930A JP23646986A JP23646986A JPS6389930A JP S6389930 A JPS6389930 A JP S6389930A JP 23646986 A JP23646986 A JP 23646986A JP 23646986 A JP23646986 A JP 23646986A JP S6389930 A JPS6389930 A JP S6389930A
Authority
JP
Japan
Prior art keywords
instruction
case
result
condition
calculation
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.)
Granted
Application number
JP23646986A
Other languages
Japanese (ja)
Other versions
JPH0765101B2 (en
Inventor
Masahiro Wakamori
正浩 若森
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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
Priority to JP23646987A priority Critical patent/JPS63270414A/en
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP23646986A priority patent/JPH0765101B2/en
Publication of JPS6389930A publication Critical patent/JPS6389930A/en
Publication of JPH0765101B2 publication Critical patent/JPH0765101B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To process at high speed without invalidating instruction read before and without interrupting execution of the instruction by providing a means that fetches next microinstruction according to genuineness of the result of conditional calculation of arithmetic logical unit in case of condition branching instruction. CONSTITUTION:In case of condition branching instruction, an address in case of the result of condition calculation is true is generated by a sequencer 11a while an arithmetic logical unit ALU 15 is executing condition calculation, and at the same time, an address in case of the result is false is generated by a sequencer 11b, and next instruction is fetched. Then, registers 13a, 13b latches microinstructions in case of truth and falsehood, and at the same time, a flag register 16 latches the result of condition calculation of ALU 15. A control logic 17 outputs selection signals of next microinstruction to each selector according to the latched content of the register 16, and selectors 14a, 14b, 14c select next microinstruction. As microinstructions in case of the result is true and false is fetched during condition calculation of ALU 15, execution of calculation and fetch of instruction can be processed in parallel, and processing can be made at high speed.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、マイクロプログラム制御装置に関し、特にデ
ータ処理装置等におけるマイクロプログラム制御装量の
命令先読み制御に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a microprogram control device, and more particularly to instruction prefetch control of a microprogram control device in a data processing device or the like.

従来の技術 2 ベージ 従来のマイクロプログラム制御装置は、第2図に示すよ
うに、シーケンサ1がマイクロプログラムメモリ2のア
ドレスを発生すると、マイクロプログラムメモリ2がそ
のアドレスに対応するマイクロインストラクション(命
令)を出力し、レジスタ3がそのマイクロ命令をラッチ
する。
BACKGROUND ART 2 As shown in FIG. 2, in a conventional microprogram control device, when a sequencer 1 generates an address for a microprogram memory 2, the microprogram memory 2 executes a microinstruction corresponding to that address. register 3 latches the microinstruction.

次いで、シーケンサ1は、マイクロ命令の次アドレス制
御命令部と、マイクロ命令のALU制御命令部により演
算された演算論理ユニッ)(ALU : Arithm
etic Logic Unit )のフラグによりマ
イクロプログラムメモリ20次のアドレスを発生する。
Next, the sequencer 1 executes an arithmetic logic unit (ALU) operated by the next address control instruction part of the microinstruction and the ALU control instruction part of the microinstruction.
The next address of the microprogram memory 20 is generated by the flag of the etic Logic Unit.

発明が解決しようとする問題点 しかしながら、かかる構成にあっては、1個のレジスタ
3によりマイクロ命令をラッチするために、プログラム
命令をより高速に処理するパイプライン化を行うことが
できないという問題点がある。
Problems to be Solved by the Invention However, in such a configuration, since the microinstructions are latched by one register 3, it is not possible to perform pipeline processing to process program instructions at a higher speed. There is.

他方、上記の問題点を解決するために、シーケンサ1と
マイクロプログラムメモリ2との間にレジスタ3を配置
し、シーケンサ1からのマイクロ3 ベーン プログラムメモリ2のアドレスをラッチする方法が知ら
れているが、この場合には、条件分岐命令があるとその
命令が実行され、結果が確定するまでアドレスを決定す
ることができず、命令を先読みしても無効になるという
問題点がある。
On the other hand, in order to solve the above problems, a method is known in which a register 3 is arranged between the sequencer 1 and the micro program memory 2, and the address of the micro 3 vane program memory 2 from the sequencer 1 is latched. However, in this case, if there is a conditional branch instruction, the instruction is executed and the address cannot be determined until the result is determined, so there is a problem that even if the instruction is prefetched, it becomes invalid.

本発明は上記問題点に鑑み、先読みした命令が無効にな
らず、また命令実行を一時中断することなく高速に処理
することができるマイクロプログラム制御装置を提供す
ることを目的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned problems, it is an object of the present invention to provide a microprogram control device that can process instructions at high speed without invalidating prefetched instructions and without temporarily interrupting instruction execution.

問題点を解決するための手段 本発明は上記問題点を解決するために、条件分岐命令の
場合に演算論理ユニットの条件計算結果が真のときの次
のマイクロ命令をフェッチする手段と、偽のときの次の
マイクロ命令をフェッチする手段と、前記演算論理ユニ
ットの条件計算結果により前記真又は偽のときの次のマ
イクロ命令を選択する手段とを備え、選択されたマイク
ロ命令を演算論理ユニットに出力するように構成したこ
とを特徴とする。
Means for Solving the Problems In order to solve the above problems, the present invention provides means for fetching the next microinstruction when the conditional calculation result of the arithmetic logic unit is true in the case of a conditional branch instruction, and means for fetching the next micro-instruction when the condition is true or false, and means for selecting the next micro-instruction when the condition is true or false according to the condition calculation result of the arithmetic and logic unit; It is characterized by being configured to output.

作    用 本発明は上記構成により、演算論理ユニットの条件計算
結果に応じた次のマイクロ命令が選択されるために、命
令フェッチと命令実行を並列処理することができ、した
がって高速処理が可能となる。
Effect: With the above configuration, the present invention selects the next microinstruction according to the result of conditional calculation of the arithmetic logic unit, so that instruction fetch and instruction execution can be processed in parallel, thus enabling high-speed processing. .

実施例 以下、図面を参照して本発明の詳細な説明する。第1図
は、本発明に係るマイクロプログラム制御装置の一実施
例を示すブロック図である。
EXAMPLES Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a microprogram control device according to the present invention.

この装置は第1図に示すように、後述するメモIJ12
a、12bのアドレスをそれぞれ発生するシーケンサ1
1a、llbと、マイクロプログラムがそれぞれ記憶さ
れたメモIJ12a、12bと、メモリ12a、12b
からのマイクロインストラクション(命令)をそれぞれ
ラッチするレジスタ13a、13bと、後述するフラグ
の状態により次のマイクロ命令を選択するセレクタ14
a、14b、14cを有する。
This device, as shown in FIG.
Sequencer 1 generates addresses a and 12b, respectively.
1a and llb, memo IJ12a and 12b in which microprograms are respectively stored, and memories 12a and 12b.
registers 13a and 13b that each latch a microinstruction (instruction) from , and a selector 14 that selects the next microinstruction depending on the state of a flag, which will be described later.
a, 14b, and 14c.

また、この装置は、演算論理ユニッ) (ALU: A
rithmetic Logic Unit ) 15
と、ALUl5の計5 ベージ 算結果をラッチするフラグレジスタ16と、フラグレジ
スタ16の状態により次のマイクロ命令の選択信号を決
定するコントロールロジック17とを有する。
This device also has an arithmetic logic unit (ALU: A
15
, a flag register 16 that latches the result of a total of 5 page calculations in ALU 15, and a control logic 17 that determines the selection signal for the next microinstruction based on the state of the flag register 16.

次に上記構成に係る実施例の動作を説明する。Next, the operation of the embodiment according to the above configuration will be explained.

先ず、条件分岐命令でない場合は、シーケンサ11aと
llbは同一のアドレスを発生し、メモリ12a、12
bからマイクロ命令が出力される。
First, if it is not a conditional branch instruction, the sequencers 11a and llb generate the same address, and the memories 12a and 12
A microinstruction is output from b.

次いで、レジスタ13a、13bはそれぞれ、メモリ1
2a、12bからのマイクロ命令をラッチし、シーケン
サllaとllbが次のアドレスを発生してメモリ12
a、12bのマイクロ命令をフェッチし、ALUl5が
命令を実行する。
Next, registers 13a and 13b are respectively stored in memory 1.
The microinstructions from 2a and 12b are latched, and the sequencers lla and llb generate the next address and store it in memory 12.
ALU15 fetches the microinstructions of a and 12b, and executes the instructions.

他方、条件分岐命令の場合には、ALUl、5が条件計
算実行中に、シーケンサll&が条件計算結果が真の場
合のアドレスを発生するとともにシーケンサ11bが偽
の場合のアドレスを発生し、次の命令のフェッチを行う
On the other hand, in the case of a conditional branch instruction, while ALU 1,5 is executing conditional calculation, sequencer ll& generates an address when the conditional calculation result is true, and sequencer 11b generates an address when the conditional calculation result is false, and the next Perform instruction fetch.

次いでレジスタ13a、13bがそれぞわ、真の場合と
偽の場合のマイクロ命令をラッチすると6 ベージ 同時にフラグレジスタ】6がALUl5の条件計算結果
をラッチし、コントロールロジック17がフラグレジス
タ16の結果により次のマイクロ命令の選択信号をセレ
クタ14a、14b、14cに出力し、セレクタ14a
、14b、14eが次のマイクロ命令を選択する。
Next, when registers 13a and 13b respectively latch the microinstructions for true and false, flag register 6 simultaneously latches the condition calculation result of ALU15, and control logic 17 uses the result of flag register 16 to A selection signal for the next microinstruction is output to selectors 14a, 14b, and 14c, and selector 14a
, 14b, 14e select the next microinstruction.

すなわち、上記実施例によれば、ALUl5の条件計算
実行中に条件結果が真の場合と偽の場合のマイクロ命令
をフェッチするので、計算実行と命令フェッチを常に並
列処理することができ、したがって高速処理が可能とな
る。
That is, according to the above embodiment, since the microinstructions for when the condition result is true and when the condition result is false are fetched during the execution of conditional calculation in ALU15, calculation execution and instruction fetch can always be processed in parallel, and therefore high speed processing becomes possible.

発明の詳細 な説明したように、本発明は、条件分岐命令の場合に演
算論理ユニットの条件計算結果が真のときの次のマイク
ロ命令をフェッチする手段と、偽のときの次のマイクロ
命令をフェッチする手段と、演算論理ユニットの条件計
算結果により前記真又は偽のときの次のマイクロ命令を
選択する手段とを備え、選択されたマイクロ命令を演算
論理ユニットに出力するように構成したので、演算論7
 ページ 環ユニットの条件計算結果に応じた次のマイクロ命令が
選択され、したがって命令フェッチと命令実行を並列処
理することができ、高速処理が可能となる。
DETAILED DESCRIPTION OF THE INVENTION As described in detail, the present invention provides a means for fetching the next microinstruction when the conditional calculation result of the arithmetic logic unit is true in the case of a conditional branch instruction, and a means for fetching the next microinstruction when the conditional calculation result of the arithmetic logic unit is false. The present invention is configured to include means for fetching and means for selecting the next microinstruction when the condition is true or false based on the result of conditional calculation by the arithmetic and logic unit, and is configured to output the selected microinstruction to the arithmetic and logic unit. Arithmetic theory 7
The next microinstruction is selected according to the result of conditional calculation by the page ring unit, so that instruction fetch and instruction execution can be processed in parallel, making high-speed processing possible.

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

第1図は、本発明に係るマイクロプログラム制御装置の
一実施例を示すブロック図、第2図は、従来例を示すブ
ロック図である。 11a 、1lb−・・シーケンサ、12a、12b・
・・メモリ、1.3 a、13b・・・レジスタ、14
a・・・14b、14c・・・セレクタ、15・・・論
理演算ユニット(ALU) 、16・・・フラグレジス
タ、17・・・コントロールロジック。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
FIG. 1 is a block diagram showing an embodiment of a microprogram control device according to the present invention, and FIG. 2 is a block diagram showing a conventional example. 11a, 1lb-... sequencer, 12a, 12b...
...Memory, 1.3a, 13b...Register, 14
a...14b, 14c...Selector, 15...Logic operation unit (ALU), 16...Flag register, 17...Control logic. Name of agent: Patent attorney Toshio Nakao and 1 other person 1st
@

Claims (1)

【特許請求の範囲】[Claims] 演算論理ユニットと、該演算論理ユニットの条件計算結
果をラッチする手段と、条件分岐命令の場合に前記演算
論理ユニットの条件計算結果が真のときの次のマイクロ
命令をフェッチする手段と、偽のときの次のマイクロ命
令をフェッチする手段と、前記演算論理ユニットの条件
計算結果により前記真又は偽のときの次のマイクロ命令
を選択する手段とを有し、命令フェッチと命令実行を並
列処理するようにしたことを特徴とするマイクロプログ
ラム制御装置。
an arithmetic logic unit, means for latching a conditional calculation result of said arithmetic and logic unit, means for fetching a next microinstruction when the conditional calculation result of said arithmetic and logic unit is true in the case of a conditional branch instruction; means for fetching the next micro-instruction when the condition is true or false, and means for selecting the next micro-instruction when the condition is true or false based on the conditional calculation result of the arithmetic logic unit, and parallel processing of instruction fetch and instruction execution is provided. A microprogram control device characterized by:
JP23646986A 1986-09-21 1986-10-03 Tube annealing method Expired - Lifetime JPH0765101B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP23646987A JPS63270414A (en) 1986-09-21 1986-09-21 Method of annealing treatment for tube
JP23646986A JPH0765101B2 (en) 1986-09-21 1986-10-03 Tube annealing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23646986A JPH0765101B2 (en) 1986-09-21 1986-10-03 Tube annealing method

Publications (2)

Publication Number Publication Date
JPS6389930A true JPS6389930A (en) 1988-04-20
JPH0765101B2 JPH0765101B2 (en) 1995-07-12

Family

ID=17001204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23646986A Expired - Lifetime JPH0765101B2 (en) 1986-09-21 1986-10-03 Tube annealing method

Country Status (1)

Country Link
JP (1) JPH0765101B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04309131A (en) * 1991-02-08 1992-10-30 Internatl Business Mach Corp <Ibm> Microcode generating apparatus for instruction group and combining apparatus in computer
JPH06124205A (en) * 1992-10-12 1994-05-06 Matsushita Electric Ind Co Ltd Instruction prefetching device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04309131A (en) * 1991-02-08 1992-10-30 Internatl Business Mach Corp <Ibm> Microcode generating apparatus for instruction group and combining apparatus in computer
JPH06124205A (en) * 1992-10-12 1994-05-06 Matsushita Electric Ind Co Ltd Instruction prefetching device

Also Published As

Publication number Publication date
JPH0765101B2 (en) 1995-07-12

Similar Documents

Publication Publication Date Title
US4179731A (en) Microprogrammed control system
US4954943A (en) Data processing system
US4539635A (en) Pipelined digital processor arranged for conditional operation
JPS6217252B2 (en)
JPH04309131A (en) Microcode generating apparatus for instruction group and combining apparatus in computer
US4954947A (en) Instruction processor for processing branch instruction at high speed
JP3578883B2 (en) Data processing device
JPH05150979A (en) Immediate operand expansion system
US4631672A (en) Arithmetic control apparatus for a pipeline processing system
US4656581A (en) Vector mask control system
JP2538053B2 (en) Control device
US5293499A (en) Apparatus for executing a RISC store and RI instruction pair in two clock cycles
JPS6389930A (en) Microprogram controller
US5187782A (en) Data processing system
JP2848727B2 (en) Parallel processing unit
US6308262B1 (en) System and method for efficient processing of instructions using control unit to select operations
JP2581565B2 (en) Data processing device that executes guarded instructions
JP2819733B2 (en) Information processing device
JP2856784B2 (en) Electronic computer
JP2843844B2 (en) Parallel processing unit
JP3493110B2 (en) High-speed branch processing unit
JPH065507B2 (en) Inference calculator
KR100515039B1 (en) Pipeline status indicating circuit for conditional instruction
JPS59223846A (en) Arithmetic processor
JPS63293638A (en) Data processing system