JPS59174947A - System for controlling order of microprogram - Google Patents

System for controlling order of microprogram

Info

Publication number
JPS59174947A
JPS59174947A JP4979983A JP4979983A JPS59174947A JP S59174947 A JPS59174947 A JP S59174947A JP 4979983 A JP4979983 A JP 4979983A JP 4979983 A JP4979983 A JP 4979983A JP S59174947 A JPS59174947 A JP S59174947A
Authority
JP
Japan
Prior art keywords
instruction
microinstruction
address
microprogram
micro
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
JP4979983A
Other languages
Japanese (ja)
Other versions
JPH0332814B2 (en
Inventor
Minoru Watanabe
稔 渡辺
Kazuhiko Goukon
一彦 郷右近
Takatoshi Osada
長田 荘十司
Yuji Shibata
柴田 雄司
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4979983A priority Critical patent/JPS59174947A/en
Publication of JPS59174947A publication Critical patent/JPS59174947A/en
Publication of JPH0332814B2 publication Critical patent/JPH0332814B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

PURPOSE:To branch a microprogram without delaying the instruction executing time of central control equipment, by installing a means which selects an address to be inputted into a control memory out of plural addresses. CONSTITUTION:A micro-instruction address converting circuit MAC' can store four kinds of addresses (a) of M0-M3 correspondingly to one functioning section (f) for instruction to be executed. One which is assigned by the counted output (c) of a counting circuit MJC which is step-advanced by a branching signal j1 contained in a micro-instruction i1' extracted from a control memory CM, is outputted. Therefore, branched addresses a2, etc., of up to three pieces of the micro-instruction i1' accumulated in a micro-instruction register CMIR can be obtained from the micro-instruction address converting circuit MAC', by outputting the branching signal j1 while a prescribed logical operation circuit is controlled.

Description

【発明の詳細な説明】 (8)発明の技術分野 本発明はマイクロプログラム制御式処理装置に係り、特
にマイクロプログラム上における分岐を高速化するマイ
クロプログラム順序制御方式に関す。
DETAILED DESCRIPTION OF THE INVENTION (8) Technical Field of the Invention The present invention relates to a microprogram controlled processing device, and more particularly to a microprogram order control method for speeding up branching on a microprogram.

(b)  技術の背景 例えば蓄積プログラム制御方式電子交換機の中央制御装
置等においては、プログラムを構成する各命令に対応し
てそれぞれマイクロプログラムを制御メモリ内に記憶し
、命令実行の際は、対応した前記マイクロプログラムを
構成するマイクロ命令を前記制御メモリから順次読出し
、中央制御装置内の論理回路等を制御するマイクロプロ
グラム制御方式が広く実用化されている。
(b) Background of the technology For example, in a central control unit of an electronic switching system using storage program control, a microprogram is stored in a control memory corresponding to each instruction that makes up the program, and when an instruction is executed, the corresponding microprogram is stored in the control memory. Microprogram control systems have been widely put into practical use, in which microinstructions constituting the microprogram are sequentially read from the control memory to control logic circuits and the like within a central control unit.

(C1従来技術と問題点 第1図は従来あるマイクロプログラム順序制御方式の一
例を示す図である。第1図において、マイクロ命令アド
レス変換回路MACは、制御メモリCMに格納されてい
るマイクロプログラムの先頭アドレスaを最大256種
類迄格納可能なメモリにより構成さ、れており、命令レ
ジスフIRから入力される実行対象命令の機能部f  
(8ビツト)により指定されるアドレスに格納されてい
る先頭アドレスaを出力する。今会合レジスタIRに、
当該中央制御装置の実行対象命令が蓄積され、該命令の
機能部f1がマイクロ命令アドレス変換回路MACに入
力されると、先頭アドレスa1が出力され、マイクロ命
令アドレスレジスタCM A Rに?jf積された後、
制fallメモリCMに入力さレル。
(C1 Prior Art and Problems FIG. 1 is a diagram showing an example of a conventional microprogram order control system. In FIG. 1, the microinstruction address conversion circuit MAC converts the microprogram stored in the control memory CM. It is composed of a memory that can store up to 256 types of start addresses a, and is a functional part f of the instruction to be executed inputted from the instruction register IR.
Outputs the start address a stored at the address specified by (8 bits). In the current meeting register IR,
When the instruction to be executed by the central control unit is accumulated and the functional part f1 of the instruction is input to the microinstruction address conversion circuit MAC, the start address a1 is output and stored in the microinstruction address register CM A R? After being multiplied by jf,
Control input to fall memory CM.

制御メモ’JCMは、前記実行対象命令に対応するマイ
幻コブログラムの最初のマイクロ命令11をアドレスa
lから抽出し、マイクロ命令レジスタCMIRに蓄積す
る。該マイクロ命令11は、図示されぬ論理回路等を制
御する。マイクロ命令アドレスレジスタCM A Rに
蓄積されたアドレスa1は加算回路ICにより1が加算
された後、再び制御メモリCMに入力され、アドレスa
1+1がら次のマイクロ命令12が続出される。該マイ
クロ命令12ば、アドレスa2(≠a l +i)に格
納されているマイクロ命令i3に分岐する為にアドレス
a2を含むマイクロ命令であり、論理回路等の制御は行
わない。マイクロ命令12がマイクロ命令レジスタCM
IRに蓄積されると、マイクロ命令+2に含まれるアド
レスa2がマイクロ命令アドレスレジスタCM A R
に蓄積され、制御メモリCMに入力される。その結果制
御メモリCMのアドレスa2からマイクロ命令i3が読
出され、マイクロ命令レジスタCMIRに蓄積されて論
理回路等を制御する。
The control memo 'JCM stores the first microinstruction 11 of my phantom coprogram corresponding to the instruction to be executed at address a.
1 and stores it in the microinstruction register CMIR. The microinstruction 11 controls a logic circuit (not shown) and the like. The address a1 stored in the microinstruction address register CM A R is incremented by 1 by the adder circuit IC, and then input to the control memory CM again, and the address a1 is
The next microinstruction 12 is successively issued from 1+1. The microinstruction 12 is a microinstruction that includes the address a2 in order to branch to the microinstruction i3 stored at the address a2 (≠a l +i), and does not control a logic circuit or the like. Microinstruction 12 is microinstruction register CM
Once stored in IR, address a2 included in microinstruction +2 is stored in microinstruction address register CM A R
and input to the control memory CM. As a result, the microinstruction i3 is read from the address a2 of the control memory CM, and is stored in the microinstruction register CMIR to control the logic circuit and the like.

以上の説明から明らかな如く、従来あるマイクロプログ
ラム順序制御方式においては、アドレスa1に格納され
ているマイクし1命令11を実行した後、アドレスa2
に格納されているマイクロ命令i3に分岐する為には、
分岐用のマイクロ命令12を経由する必要があり、当該
中央制御装置等の命令実行時間を遅延させる結果となる
As is clear from the above explanation, in the conventional microprogram order control system, after executing one instruction 11 from the microphone stored at address a1,
In order to branch to microinstruction i3 stored in
It is necessary to go through the branch microinstruction 12, which results in a delay in the instruction execution time of the central control unit, etc.

(dl  発明の目的 本発明の目的は、前述の如き従来あるマイクロプログラ
ム順序制御方式の欠点を除去し、当該中央制御装置の命
令実行時間を遅延させること無くマイクロプログラムを
分岐させる手段を実現することに在る。
(dl) Purpose of the Invention The purpose of the present invention is to eliminate the drawbacks of the conventional microprogram order control method as described above, and to realize a means for branching a microprogram without delaying the instruction execution time of the central control unit. is in

(Q)  発明の構成 この目的は、マイクロプログラム制御式処理装置におい
て、前記処理装置の実行する命令に対応して制御メモリ
上の複数のアドレスを保有するマイクロ命令アドレス変
換回路と、前記制御メモリから読出されるマイクロ命令
に含まれる分岐信号に対応して前記複数のアドレスの中
から前記制御メモリに人力するアドレスを選択する手段
を設けるごとにより達成される。
(Q) Structure of the Invention The object of the present invention is to provide a microprogram-controlled processing device with a microinstruction address conversion circuit that holds a plurality of addresses on a control memory corresponding to instructions executed by the processing device; This is achieved by providing means for manually selecting an address to be input into the control memory from among the plurality of addresses in response to a branch signal included in a microinstruction to be read.

(fl  発明の実施例 以下、本発明の一実施例を図面により説明する。(fl Embodiments of the invention An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例によるマイクロプログラム順
序制御方式を示す図である。なお、全図を通して同一符
号は同一対象物を示す。第2図においては、マイクロ命
令アドレス変換回路M A C″は、それぞれ2564
ilEl’Jtのマイクロプログラムの先頭アドレスa
を格納可能な4組の領域M O乃至M3を有するメモリ
から構成され、命令レジスタIRに蓄積される実行対象
命令の機能部fに対し、各領域M・0乃至M3に格納さ
れる先頭アドレスaがそれぞれ1種類宛対応するが、そ
の中でアドレスaを出力する領域MO乃至M3は、2ビ
ツトから成る計数回路M 、J Cの計数出力Cにより
指定される。命令レジスタIRに実行対象命令がN積さ
れると、計数回路MJCも初期設定される。その結果計
数出力c(=OO)によりマイクロ命令アドレス変換回
路MAC“の領域MOが指定され、命令レジスタI R
から出力される機能部f1により領域MO内のアドレス
a1が出力され、マイクロ命令アドレスレジスタCM 
A Rを介して制御メモリCMに入力され、アドレスa
1からマイクロ命令11°が抽出され、マイクロ命令レ
ジスタCMIRに蓄積される。なおマイクロ命令111
は、図示されぬ論理回路等の制御を行う以りtに分岐信
号j1を内蔵しており、マイクロ命令レジスタCM I
 Rに蓄積された際に計数回路MJCに入力される。分
岐信号j1を骨化した計数回路MJCはマイクロ命令1
11がマイクロ命令レジスタCMIRに蓄積されたトぶ
の次のクロックパルスで1歩進し、計数出力c(−01
)を出力する。その結果マイクロ命令アドレス変換回路
MAC’の領域M1が新たに指定され、該領域MI内の
機能部f】に対応するアドレスa2が出力され、マイク
ロ命令アドレスレジスタCM A Rを介して制御メモ
リCMに入力され、アドレスa2からマイクロ命令12
1が抽出され、マイクロ命令レジスフCMIRに蓄積さ
れる。以下同様にして更に分岐信号j1を内Lへするマ
イクロ命令i′が読出されると、8I数回路MJCは更
に1歩進してマイクロ命令アドレス変換回路MAC’の
領域M2を指定し、機能部f1に対応するアドレスa3
が出力され、マイクロ命令13′に分岐することが出来
る。
FIG. 2 is a diagram illustrating a microprogram order control method according to an embodiment of the present invention. Note that the same reference numerals indicate the same objects throughout the figures. In FIG. 2, each microinstruction address conversion circuit M A C'' has 2564
Start address a of microprogram of ilEl'Jt
The first address a stored in each area M.0 to M3 for the functional part f of the instruction to be executed stored in the instruction register IR. correspond to one type of address, and among these, areas MO to M3 for outputting address a are specified by count outputs C of count circuits M and JC consisting of 2 bits. When the instruction to be executed is multiplied by N in the instruction register IR, the counting circuit MJC is also initialized. As a result, the count output c (=OO) specifies the area MO of the microinstruction address conversion circuit MAC, and the instruction register I R
The functional unit f1 outputs the address a1 in the area MO, and the microinstruction address register CM
is input to the control memory CM via AR, and the address a
Microinstruction 11° is extracted from microinstruction 1 and stored in microinstruction register CMIR. Furthermore, microinstruction 111
has a built-in branch signal j1 in t for controlling logic circuits (not shown), and microinstruction register CM I
When accumulated in R, it is input to the counting circuit MJC. The counting circuit MJC that is a skeleton of the branch signal j1 is the microinstruction 1
11 advances by one step at the next clock pulse of the one stored in the microinstruction register CMIR, and the count output c(-01
) is output. As a result, the area M1 of the microinstruction address conversion circuit MAC' is newly designated, and the address a2 corresponding to the functional unit f] in the area MI is outputted and sent to the control memory CM via the microinstruction address register CM A R. input, microinstruction 12 from address a2
1 is extracted and stored in the microinstruction register CMIR. Thereafter, when a microinstruction i' that changes the branch signal j1 to L is further read out in the same manner, the 8I number circuit MJC further advances by one step and specifies the area M2 of the microinstruction address conversion circuit MAC', and the functional unit Address a3 corresponding to f1
is output, and a branch can be made to microinstruction 13'.

以上の説明から明らかな如く、本実施例によれば、マイ
クロ命令アドレス変換回路MAC’は一つの実行対象命
令(機能部f)に対応して4種類のアドレスaを記憶可
能であり、制御メモリCMから抽出されたマイクロ命令
i“に含まれる分岐信号J】により歩進する計数回路M
JCの計数出力Cにより指定されたものが出力される。
As is clear from the above description, according to this embodiment, the microinstruction address conversion circuit MAC' can store four types of addresses a corresponding to one instruction to be executed (functional unit f), and the control memory A counting circuit M that increments based on a branch signal J included in a microinstruction i extracted from a CM.
What is specified by the count output C of JC is output.

従ってマイクロ命令レジスフCMIRに蓄積されたマイ
クロ命令型“は所定の論理回路の制御を行い乍ら分岐信
号j1を出力することにより、最大3個迄の分岐先アド
レスa2等をマイクロ命令アドレス変換回路MAC’か
ら得ることが出来る。
Therefore, the microinstruction type stored in the microinstruction register CMIR controls a predetermined logic circuit and outputs the branch signal j1, thereby converting up to three branch destination addresses a2, etc. to the microinstruction address conversion circuit MAC. ' can be obtained from '.

なお、第2図はあく迄本発明の一実施例に過ぎず、例え
ば分岐信号j1は計数回路MJCを1宛歩進させるもの
に限定されることは無く、計数回路M J Cの計数出
力Cを特定の値(例えば10)に設定する分岐信S J
 2を出力することによりマイクロ命令11“から直ち
にマイクロ命令13に分岐することも考慮されるが、か
かる場合にも本発明の効果は変わらない。また命令レジ
スタIRおよび計数回路MJCのピノ1−敗、マイクロ
命令アドレス変換回路MAC’の領域数および記憶容量
は図示されるものに限定されることば無く、他に幾多の
変形が考慮されるが、何れの場合にも本発明の効果は変
らない。更に本発明の対象は電子交換機の中央制御装置
に限定されぬことは言う迄も無い。
It should be noted that FIG. 2 is only one embodiment of the present invention, and for example, the branch signal j1 is not limited to one that increments the counting circuit MJC by 1; Branch signal S J to set to a specific value (for example, 10)
It is also possible to immediately branch from microinstruction 11'' to microinstruction 13 by outputting 2, but the effect of the present invention does not change in such a case. The number of areas and storage capacity of the micro-instruction address conversion circuit MAC' are not limited to those shown in the drawings, and many other modifications may be considered, but the effects of the present invention will not change in any case. Furthermore, it goes without saying that the object of the present invention is not limited to central control units of electronic exchanges.

(g)  発明の効果 以上、本発明によれば、前記マイクロプログラム制御式
処理装置において、分岐専用のマイクロ命令を使用する
こと無く74イクロプログラムの分岐が可能となり、当
該処理装置の命令実行時間が高速化される。
(g) Effects of the Invention According to the present invention, in the microprogram-controlled processing device, it is possible to branch 74 microprograms without using branch-specific microinstructions, and the instruction execution time of the processing device can be reduced. Speed is increased.

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

第1図は従来あるマイクロプログラム順序制御方式の一
例を示す図、第2図は本発明の一実施例によるマイクロ
プログラム順序制御方式を示す図である。 図において、CMは制御メモリ、CM A Rはマイク
ロ命令アドレスレジスタ、CMIRは?イクロ命令しジ
スク、】Cは加算回路、IRは命令レジスタ、MO乃至
M3はv′j域、MACおよびMAC′はマイクロ命令
アドレス変換回路、MJCは計数回路M、aはアドレス
、Cば計数出方、fは機能部、1および11はマイクロ
命令、Jは分岐信号、を示ず。 稟 II21
FIG. 1 is a diagram showing an example of a conventional microprogram order control method, and FIG. 2 is a diagram showing a microprogram order control method according to an embodiment of the present invention. In the figure, CM is control memory, CM A R is microinstruction address register, and CMIR is ? 】C is an adder circuit, IR is an instruction register, MO to M3 are v'j areas, MAC and MAC' are microinstruction address conversion circuits, MJC is a counting circuit M, a is an address, and C is a counting output. On the other hand, f is a functional unit, 1 and 11 are microinstructions, and J is a branch signal. Rin II21

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラム制御式処理装置において、前記処理
装置の実行する命令に対応して制御メモリ上の複数のア
ドレスを保有するマイクロ命令アドレス変換回路と、前
記制御メモリから読出されるマイクロ命令に含まれる分
岐信号に対応して前記複数のアドレスの中から前記制御
メモリに人力するアドレスを選択する手段を設けること
を特徴とするマイクロプログラム順序制御方式。
In a microprogram-controlled processing device, a microinstruction address conversion circuit holds a plurality of addresses on a control memory corresponding to instructions executed by the processing device, and a branch signal included in a microinstruction read from the control memory. 1. A microprogram sequence control system, further comprising means for manually selecting an address to be stored in the control memory from among the plurality of addresses in response to the above.
JP4979983A 1983-03-25 1983-03-25 System for controlling order of microprogram Granted JPS59174947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4979983A JPS59174947A (en) 1983-03-25 1983-03-25 System for controlling order of microprogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4979983A JPS59174947A (en) 1983-03-25 1983-03-25 System for controlling order of microprogram

Publications (2)

Publication Number Publication Date
JPS59174947A true JPS59174947A (en) 1984-10-03
JPH0332814B2 JPH0332814B2 (en) 1991-05-14

Family

ID=12841188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4979983A Granted JPS59174947A (en) 1983-03-25 1983-03-25 System for controlling order of microprogram

Country Status (1)

Country Link
JP (1) JPS59174947A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6235663A (en) * 1985-08-09 1987-02-16 Hitachi Ltd Semiconductor device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49113541A (en) * 1973-02-26 1974-10-30
JPS5537656A (en) * 1978-09-08 1980-03-15 Fujitsu Ltd Microprogram control system
JPS57753A (en) * 1980-06-02 1982-01-05 Hitachi Ltd Microprogram controller
JPS57199046A (en) * 1981-06-03 1982-12-06 Mitsubishi Electric Corp Microprogram controlling method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49113541A (en) * 1973-02-26 1974-10-30
JPS5537656A (en) * 1978-09-08 1980-03-15 Fujitsu Ltd Microprogram control system
JPS57753A (en) * 1980-06-02 1982-01-05 Hitachi Ltd Microprogram controller
JPS57199046A (en) * 1981-06-03 1982-12-06 Mitsubishi Electric Corp Microprogram controlling method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6235663A (en) * 1985-08-09 1987-02-16 Hitachi Ltd Semiconductor device

Also Published As

Publication number Publication date
JPH0332814B2 (en) 1991-05-14

Similar Documents

Publication Publication Date Title
US4633386A (en) Digital signal processor
EP0118781A2 (en) Control flow parallel computer system
JPS6077265A (en) Vector processor
US4180861A (en) Selectively operable mask generator
US5629946A (en) High speed test pattern generator
JPS59174947A (en) System for controlling order of microprogram
JP2552710B2 (en) Image processing device
JPS63175383A (en) Memory dimmer
US5917734A (en) Parallel decimator method and apparatus
US5305439A (en) Method and apparatus for time-shared processing of different data word sequences
JPH04251331A (en) Information processor
JPH01271840A (en) Microcomputer
JP2004062401A (en) Arithmetic processor and camera device using it
JPH0727513B2 (en) Digital signal processing circuit
JPS6288031A (en) Register filing system
JPS63141131A (en) Pipeline control system
JPS613224A (en) Timing signal generating circuit
SU1166109A2 (en) Microprogram control unit
JPS6238942A (en) Microprogram controller
JPH03260727A (en) Register designating device
JPS6120135A (en) Data processor
JPS6031644A (en) Microprogram control device
JPS58222346A (en) Control system of executing time of microprogram
JPS6024642A (en) Microprogram controlling system
JPH0512011A (en) Pipeline circuit