JPS6024643A - Microprogram controlling system - Google Patents

Microprogram controlling system

Info

Publication number
JPS6024643A
JPS6024643A JP13231683A JP13231683A JPS6024643A JP S6024643 A JPS6024643 A JP S6024643A JP 13231683 A JP13231683 A JP 13231683A JP 13231683 A JP13231683 A JP 13231683A JP S6024643 A JPS6024643 A JP S6024643A
Authority
JP
Japan
Prior art keywords
value
signal
address
output
field
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.)
Pending
Application number
JP13231683A
Other languages
Japanese (ja)
Inventor
Toshio Ishikawa
石川 俊生
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
Original Assignee
NEC 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP13231683A priority Critical patent/JPS6024643A/en
Publication of JPS6024643A publication Critical patent/JPS6024643A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of steps for executing a program by setting a branch destination address to one, in case a value (i) of a plural condition signal is larger or smaller than a value (m) designated by a micro-instruction word. CONSTITUTION:When a value of a plural condition signal and a value of a constant field B are denoted as (i) and (m), respectively, and (i)<(m), a comparison result signal 300 is not outputted, and the plural condition signal, and the minimum value of the plural condition signal 100 are outputted to an OR500 and an AND800, respectively. Accordingly, when a mode signal 204 is ''1'' and ''0'', a value which an address signal 700 can designate is (m) kinds or one kind. On the other hand, in case of (i)>=(m), the comparison result signal 300 is outputted, and the maximum value that the plural condition signal 100 can designate, and the plural condition signal 100 are outputted to the OR500 and the AND800, respectively. Accordingly, when the mode signal 204 is ''1'' and ''0'', the value which the address signal 700 can designate is one kind or (m) kinds. Accordingly, as for a branch desitnation micro-instruction, it will do that (m)+1 pieces are prepared.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明はデータ処理装置に於けるマイクロプログラム制
御方式、特にマイクロプログラムによる多方向分岐制御
方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field to which the Invention Pertains] The present invention relates to a microprogram control system in a data processing device, and particularly to a multidirectional branch control system using a microprogram.

〔従来技術〕[Prior art]

従来のマイクロ命令による多方向条件分岐制御方式では
、複数条件信号のとり得る値がnであれば分岐先アドレ
スはn個となっていた。
In the conventional multidirectional conditional branch control system using microinstructions, if the possible values of a plurality of conditional signals are n, there are n branch destination addresses.

従って、分岐後のマイクロプログラム処理が、複数条件
信号の値iがマイクロ命令語で指定された値をmとする
とき、i≦mのときはそれぞれ異]、m(i≦nのとき
は同一となる場合であっても本来m+1個で良い筈のと
ころn個の分岐先マイクロ命令を用意しなければならな
いか、又は、分岐先マイクロアドレスを減らすために先
づi〈mであることを判定した後に、複数条件信号によ
る多方向分岐を行なわなければならず、マイクロプログ
ラム実行のステップ数の増加を招いていた。
Therefore, the microprogram processing after branching is different when i≦m, m (same when i≦n), where the value i of the multiple condition signal is the value specified by the microinstruction word and m is the value specified by the microinstruction word. Even when After that, multidirectional branching based on multiple conditional signals must be performed, resulting in an increase in the number of steps in microprogram execution.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、複数条件信号の値iが、マイクロ命令
語で指定された値mより大きい場合、又は小さい場合に
分岐先アドレスを1つにすることによシ上述の欠点を解
決すること目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned drawbacks by setting a single branch destination address when the value i of a plurality of conditional signals is greater than or less than the value m specified by a microinstruction word. purpose.

〔発明の構成〕[Structure of the invention]

本発明によると、マイクロ命令語中に複数の条件信号の
値との被比較値を持つ定数フィールドと、比較方法を指
定するモードピットとを設け、前記複数の条件信号の値
と前記定数フィールドの値とを比較して比較結果を出力
する比較手段と、前記比較手段の比較結果が前記定数フ
ィールドの値の方が大きく且つ前記モードピットが論理
′11の場合はマイクロ命令語中のアドレスフィールド
の内複数ピットヲ前記複数の条件信号で置換えたものを
次のマイクロ命令アドレスとして出力し、前記定数フィ
ールドの値の方が小さいか等しく且つ前記モードピット
が論理111の場合は前記アドレスフィールドの複数ビ
ットを前記複数の条件信号のとり得る最大値で置換えた
ものを次のマイクロ命令アドレスとして出力し、前記定
数フィールドの値の方が小さいか等しく且つ前記モード
ピットが論理101の場合は前記アドレスフィールドの
複数ビットを前記複数の条件信号で置換えたものを次の
マイクロ命令アドレスとして出力し、前記定数フィール
ドの値の方が大きく且つ前記モードピットが論理10“
の場合は前記アドレスフィールドの複数ビットを前記複
数の条件信号のとり得る最小値で置換えたものを次のマ
イクロ命令アドレスとして出力する切換手段とを含むこ
とを特徴とするマイクロプログラム制御方式が得られる
According to the present invention, a constant field having a value to be compared with the values of a plurality of condition signals and a mode pit for specifying a comparison method are provided in a microinstruction word, and the value of the plurality of condition signals and the constant field are provided. a comparison means for comparing the values with the values and outputting a comparison result; and if the comparison result of the comparison means is that the value of the constant field is larger and the mode pit is logic '11, the value of the address field in the microinstruction word is A plurality of pits among them are replaced with the plurality of condition signals and output as the next microinstruction address, and if the value of the constant field is smaller or equal and the mode pit is logic 111, the plurality of bits of the address field are replaced with the plurality of condition signals and output as the next microinstruction address. The value replaced by the maximum possible value of the plurality of condition signals is output as the next microinstruction address, and if the value of the constant field is smaller or equal and the mode pit is logic 101, the plurality of the address fields The bits replaced with the plurality of condition signals are output as the next microinstruction address, and if the value of the constant field is larger and the mode pit is logic 10.
In this case, there is obtained a microprogram control system characterized in that it includes a switching means for replacing the plurality of bits of the address field with the minimum value that the plurality of condition signals can take and outputting the result as the next microinstruction address. .

〔実施例の説明〕[Explanation of Examples]

次に本発明の実施例について図面を参照して詳細に説明
する。第1図は本発明の一実施例のブロック図であり、
第2図はこれを制御するマイクロ命令語の形式を示した
図である。第1図に於いて1は制御記憶装置、2はマイ
クロ命令レジスタ。
Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention,
FIG. 2 is a diagram showing the format of the microinstruction word for controlling this. In FIG. 1, 1 is a control storage device, and 2 is a microinstruction register.

3は比較回路、4はデコーダ、5はOI(回路、6は切
換回路、8はAND回路、9は切換回路でろイクロ命令
レジスタ2にセットされる。マイクロ命令語は第2図に
示すように、データ処理部の各種動作と指定するデータ
処理部動作指定フィールドAと、複数の条件信号の値と
の被比較値を指定する定数フィールドBと、比較方法を
指定するモードピットCと、マイクロプログラムのクー
ケンス制御フィールドDと、次に実行すべきマイクロ命
令のアドレスを指定するアドレスフィールドEとを有し
ている。
3 is a comparison circuit, 4 is a decoder, 5 is an OI (circuit), 6 is a switching circuit, 8 is an AND circuit, and 9 is a switching circuit, which are set in the microinstruction register 2.The microinstruction words are as shown in FIG. , a data processing section operation specification field A that specifies various operations of the data processing section, a constant field B that specifies the value to be compared with the value of a plurality of condition signals, a mode pit C that specifies the comparison method, and a microprogram. It has a sequence control field D, and an address field E that specifies the address of the microinstruction to be executed next.

データ処理部動作指定フィールド人はマイクロ指令とし
てデータ処理部(図示せず)へ送出される。直前迄のマ
イクロ命令の実行結果に基づいて、データ処理部から送
られて来る複数条件信号100と定数フィールド200
とは比較回路3に入力され、前者の値の方が大きい場合
は比較結果信号300が出力される。OR回路5では比
較結果信号300と複数条件信号100のそれぞれとの
論理和がとられ、その結果の和信号500が切換回路9
の一方の入力となる。AND回路8では比較結果信号3
00と複数条件信号100のそれぞれとの論理積がとら
れ、その結果の積値う800が切換回路900の他方の
入力となる。切換回路9はモードピッ)Cからのモード
信号204が論理“1’のときは和信号500を、“0
“のときは積信号800を信号900として出力し切換
回路6の一方の入力に送出するO 切換回路6の他方の入力にはアドレスフィールドEの出
力ビットのうちの複数のビット202が入力される。シ
ーケンス制御フィールドDの出力信号はデコーダ4に入
力され、多方向分岐が指定されていれば切換信号400
がデコーダ4よシ出力され、アドレスフィールドEの出
力ビットのうちの複数ビット202が信号900と切換
えられ信号600となる。多方向分岐が指定されていな
ければ、切換信号400は出力されず、信号600には
アドレスフィールドEの出力ビットのうちの複数ピッ)
 202が出力される。切換回路7は信号600及びア
ドレスフィールドEの出力ビットのうちの残シのビット
203と他の信号(割込アドレス、インクリメントアド
レス等)50とを切換え、次のマイクロ命令アドレス信
号700を出力するものであるが、本発明には関係ない
ので詳れる。
The data processing section operation designation field is sent as a microcommand to the data processing section (not shown). Multiple condition signals 100 and constant field 200 sent from the data processing unit based on the execution results of the previous microinstructions
are input to the comparison circuit 3, and if the former value is larger, a comparison result signal 300 is output. The OR circuit 5 takes the logical sum of the comparison result signal 300 and each of the multiple condition signals 100, and the resulting sum signal 500 is sent to the switching circuit 9.
This is one of the inputs. In the AND circuit 8, the comparison result signal 3
00 and each of the plurality of condition signals 100 is taken, and the resulting product value, 800, becomes the other input of the switching circuit 900. The switching circuit 9 changes the sum signal 500 to "0" when the mode signal 204 from the mode pin C is logic "1".
", the product signal 800 is output as a signal 900 and sent to one input of the switching circuit 6. A plurality of bits 202 of the output bits of the address field E are input to the other input of the switching circuit 6. The output signal of the sequence control field D is input to the decoder 4, and if multi-directional branching is specified, a switching signal 400 is input.
is output from the decoder 4, and a plurality of bits 202 of the output bits of the address field E are switched to the signal 900 to become the signal 600. If a multidirectional branch is not specified, switching signal 400 is not output, and signal 600 contains multiple bits of the output bits of address field E.
202 is output. The switching circuit 7 switches between the signal 600, the remaining bit 203 of the output bits of the address field E, and other signals (interrupt address, increment address, etc.) 50, and outputs the next microinstruction address signal 700. However, it is not related to the present invention and will not be explained in detail.

以上述べたように7−ケンス制御フィールドで多方向分
岐が指定されていない場合は、切換信号400が出力さ
れないため、アドレスフィールド送出される。
As described above, if multidirectional branching is not specified in the 7-case control field, the switching signal 400 is not output, and therefore the address field is sent.

クーケンス制御フィールドで多方向分岐が指定された場
合は、切換信号400が出力されるが、今複数条件信号
100の値をi、定数フィールドの値をmとすると、i
’(mのときは比較結果信号300が出力されないため
、和信号500には複数条件信号100がそのまま出力
され、積信号800には複数条件信号1()0のとり得
る最小値が出力される。従ってモード信号204が論理
“1”のときはアドレス信号700には複数条件信号1
ノ00とアドレスフィールドEの出力ビットのうちの残
りのビット203とが出力され l (1*のときは複
数条件信号100のとり得る最小値とアドレスフィール
ドEの出力ビットのウチの残りのビット203とが出力
される。このときのアドレス信号700のとり得る値は
前者ではm通り、後者では1通シである。
When multi-directional branching is specified in the sequence control field, a switching signal 400 is output, but if the value of the multiple condition signal 100 is i and the value of the constant field is m, then i
'(When m, the comparison result signal 300 is not output, so the multiple condition signal 100 is output as is as the sum signal 500, and the minimum value that the multiple condition signal 1()0 can take is output as the product signal 800. Therefore, when the mode signal 204 is logic "1", the address signal 700 has a plurality of condition signals 1.
00 and the remaining bits 203 of the output bits of address field E are output. The address signal 700 at this time can have m values in the former case, and 1 value in the latter case.

一方i>mのときは比較結果信号300が出力され、和
信号500には複数条件信号100のとシ得る最大値が
出力され、積信号8001Cは複数条件信号100がそ
のまま出力される。従ってモード信号204が論理Il
lのときはアドレス信号700には複数条件−号100
のとり得る最大値ドアドレスフィールドEの出力ビット
のうちの残りのビット203とが出力され、′0“のと
きは複数条件信号100とアドレスフィールドEの出力
ビットのうちの残りのビット203とが出力される。こ
のときのアドレス信号700のとシ得る値は前者では1
通り、後者ではm通りである。
On the other hand, when i>m, the comparison result signal 300 is output, the maximum value of the multiple condition signal 100 is output as the sum signal 500, and the multiple condition signal 100 is output as is as the product signal 8001C. Therefore, mode signal 204 is logic Il.
When l, the address signal 700 has multiple conditions - No. 100.
The maximum possible value of the address field E and the remaining bits 203 of the output bits are output, and when it is '0'', the multiple condition signal 100 and the remaining bits 203 of the address field E output bits are output. The value of the address signal 700 at this time is 1 in the former case.
In the latter case, there are m ways.

以上のことから、分岐先マイクロ命令はm+1個用意す
ればよく、マイクロプログラム量が減少すると共に、予
めi(mの判定をする必要が無いためステップ数の増加
を招かない。
From the above, it is sufficient to prepare m+1 branch destination microinstructions, which reduces the amount of microprograms and does not require an increase in the number of steps since it is not necessary to determine i(m in advance).

〔発明の効果〕〔Effect of the invention〕

本発明によると、以上説明したように、多方向分岐制御
をマイクロプロゲラ5ングの少いステップ数で容易に行
えるという効果がある。
According to the present invention, as described above, multi-directional branching control can be easily performed with a small number of microprogramming steps.

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

第1図は本発明の一実施例のブロック図、第23・・−
・・・比較回路、4・・・・・・デコーダ、5・・・・
・・0几回路、6・・・・・・切換回路、8・・・・・
・AND回路、9・−・−・・切換回路。
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 23...-
... Comparison circuit, 4 ... Decoder, 5 ...
...0 circuit, 6...switching circuit, 8...
・AND circuit, 9・−・−・switching circuit.

Claims (1)

【特許請求の範囲】[Claims] マイクロ命令語中に複数の条件信号の値との被比較値を
持つ定数フィールドと、比較方法を指定力する比較手段
と、前記比較手段の比較結果が前記定数フィールドの値
の方が大きく且つ前記モードピットが論理”1″の場合
はマイクロ命令語中のアドレスフィールドの内機数ビッ
トを前記複数の条件信号で置換えたものを次のマイクロ
命令アドレスとして出力し、前記定数フィールドの値の
方が小さいか等しく且つ前記モードピットが論理“1“
の場合は前記アドレスフィールドの複数ビットを前記複
数の条件信号のとシ得る最大値で置換えたものを次のマ
イクロ命令アドレスとして出力し、前記定数フィールド
の値の方が小さいか等しく且つ前記モードピットが論理
10“の場合は前記アドレスフィールドの複数ビットを
前記複数の条件信号で置換えたものを次のマイクロ命令
アドレスとして出力し、前記定数フィールドの値の方が
大きく且つ前記モードピットが論理″0“の場合は前記
アドレスフィールドの複数ビットを前記複数の条件信号
のとり得る最小値で置換えたものを次のマイクロ命令ア
ドレスとして出力する切換手段とを含むことを特徴とす
るマイクロプログラム制御方式。
a constant field having a value to be compared with a plurality of condition signal values in a microinstruction word, a comparison means for specifying a comparison method, and a comparison result of the comparison means is such that the value of the constant field is larger and the If the mode pit is logic "1", the internal machine number bit in the address field in the microinstruction word is replaced with the plurality of condition signals and output as the next microinstruction address, and the value in the constant field is higher than the value in the constant field. less than or equal to and the mode pit is logic “1”
If the value of the constant field is smaller or equal to the value of the constant field and the mode pit is logic 10", the plurality of bits of the address field are replaced with the plurality of condition signals and output as the next microinstruction address, and the value of the constant field is larger and the mode pit is logic "0". "In the case of ", the plurality of bits of the address field are replaced with the minimum value that the plurality of condition signals can take, and the result is output as the next microinstruction address.
JP13231683A 1983-07-20 1983-07-20 Microprogram controlling system Pending JPS6024643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13231683A JPS6024643A (en) 1983-07-20 1983-07-20 Microprogram controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13231683A JPS6024643A (en) 1983-07-20 1983-07-20 Microprogram controlling system

Publications (1)

Publication Number Publication Date
JPS6024643A true JPS6024643A (en) 1985-02-07

Family

ID=15078460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13231683A Pending JPS6024643A (en) 1983-07-20 1983-07-20 Microprogram controlling system

Country Status (1)

Country Link
JP (1) JPS6024643A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010248908A (en) * 2004-09-22 2010-11-04 Tokyo Metropolitan Government Method for automatically operating dredging bucket apparatus for great depth manhole

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010248908A (en) * 2004-09-22 2010-11-04 Tokyo Metropolitan Government Method for automatically operating dredging bucket apparatus for great depth manhole

Similar Documents

Publication Publication Date Title
US4131943A (en) Microprogrammed computer employing a decode read only memory (DROM) and a microinstruction read only memory (ROM)
JPS6254359A (en) Computer apparatus
JPS61170828A (en) Microprogram control device
US5113503A (en) Data processor providing plural decoders for effecting fast register selection
US6026486A (en) General purpose processor having a variable bitwidth
US4160289A (en) Microprogram-control unit for data processor
US4674063A (en) Information processing apparatus having a sequence control function
US4791551A (en) Microprogrammable devices using transparent latch
US5124910A (en) Microprogram control apparatus for generating a branch condition signal to be designated by a micro-branch instruction
EP0164418B1 (en) Microprogram control system
US5123096A (en) Data processor with addressing mode decoding function
JPS6024643A (en) Microprogram controlling system
JPH0721035A (en) Data processor
EP0517269A2 (en) Microcomputer with test mode switching function
US6405301B1 (en) Parallel data processing
JPS6217773B2 (en)
JPS6024642A (en) Microprogram controlling system
JPH01271840A (en) Microcomputer
JPH03288228A (en) Information processor
JPH02105936A (en) Data processor
JPH0198023A (en) Conditional subroutine calling system
JPH0375904B2 (en)
JPH0557614B2 (en)
JPS6015969B2 (en) Microinstruction address generation method
JPH01180635A (en) Processor constituting system