JPS605341A - Information processing device - Google Patents
Information processing deviceInfo
- Publication number
- JPS605341A JPS605341A JP11271583A JP11271583A JPS605341A JP S605341 A JPS605341 A JP S605341A JP 11271583 A JP11271583 A JP 11271583A JP 11271583 A JP11271583 A JP 11271583A JP S605341 A JPS605341 A JP S605341A
- Authority
- JP
- Japan
- Prior art keywords
- microinstruction
- address
- register
- processing device
- branching
- 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
Links
- 230000010365 information processing Effects 0.000 title claims description 10
- 238000010586 diagram Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 3
Abstract
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は、マイクロプログラム制御の情報処理装置に関
するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a microprogram-controlled information processing device.
マイクロプログラム制御の情報処理装置は、処理装置の
基本動作を指定するマイクロ命令セットによりプログラ
ミングを行ない、これを制御記憶装置に格納し、これか
ら途次マイクロ命令を読み出して実行する事により、処
理装置の動作を実現する。このマイクロ命令の読み出し
制御は、マイクロプログラムシーケンサにより行ってい
る。A microprogram-controlled information processing device is programmed with a set of microinstructions that specify the basic operations of the processing device, stores this in a control storage device, and reads and executes microinstructions as needed to control the processing device. Realize the action. This microinstruction reading control is performed by a microprogram sequencer.
従来のマイクロプログラムシーケンサを使用した処理装
置のブロック図を第1図に示す。A block diagram of a processing device using a conventional microprogram sequencer is shown in FIG.
この例に示すマイクロプログラムシーケンサ1は、アド
レスレジスタ6とアドレス更新回路5と演算器4の出力
結果の1部を保持するレジスタ8とアドレス選択回路7
より構成され、アドレス選択回路7により選択されたア
ドレスに従い制御記憶装置2に格納されているマイクロ
命令を読み出してマイクロ命令レジスタ3にセットする
。マイクロ命令レジスタ3にセットされた内容により演
算器4.マイクロプログラムシーケンサ1の動作が決定
する。マイクロ命令が演算器4の出力結果により、以後
の動作が変わる処理がある場合には、第2図に示した様
に、マイクロ命令レジスタ3にセットされたブランチア
ドレス9と演算器の出力結果の1部のデータ10を合成
して次のマイクロ命令アドレスとして分岐する。この時
アドレス選択回路7は、該合成アドレスを選択する。The microprogram sequencer 1 shown in this example includes an address register 6, an address update circuit 5, a register 8 that holds a part of the output result of the arithmetic unit 4, and an address selection circuit 7.
According to the address selected by the address selection circuit 7, the microinstruction stored in the control storage device 2 is read out and set in the microinstruction register 3. Based on the contents set in the microinstruction register 3, the arithmetic unit 4. The operation of the microprogram sequencer 1 is determined. If there is a process in which a microinstruction changes the subsequent operation depending on the output result of the arithmetic unit 4, as shown in FIG. One part of the data 10 is combined and branched as the next microinstruction address. At this time, the address selection circuit 7 selects the combined address.
本例にて示した様に、従来の情報処理装置のマイクロプ
ログラムシーケンサによるマイクロ命令の分岐において
、演算結果によりマイクロ命令を分岐する場合は、マイ
クロ命令のブランチアドレス部と演算結果を合成してブ
ランチアドレスを作成していた為、レジスタ8のデータ
長により分岐数が決められていた。例えば、レジスタ8
のデータ長が2ビツトの4wayブランチの場合には、
4通りにしか分岐できない為、16通りに分岐したい場
合には、先ず演算結果により4通りに分岐した後、演算
結果を2ビツト右シフトし、この結果により更に4通り
に分岐するという方法をとっていた。As shown in this example, when branching a microinstruction using the microprogram sequencer of a conventional information processing device, if the microinstruction is to be branched based on the operation result, the branch address part of the microinstruction and the operation result are combined and the branch is executed. Since addresses were created, the number of branches was determined by the data length of register 8. For example, register 8
In the case of a 4-way branch with a data length of 2 bits,
Since it is possible to branch only in 4 ways, if you want to branch in 16 ways, first branch into 4 ways depending on the calculation result, then shift the calculation result to the right by 2 bits, and use this result to branch into 4 more ways. was.
本発明の目的は、1マイクロ命令で、最適な分岐数によ
り分岐する事が可能な情報処理装置を提供することにあ
る。SUMMARY OF THE INVENTION An object of the present invention is to provide an information processing device that is capable of branching with an optimal number of branches using one microinstruction.
本発明は、演算結果自身をマイクロ命令アドレスとする
事により、1マイクロ命令で任意の分岐数によるマイク
ロ命令分岐を行なうことを特徴とするものである。The present invention is characterized in that by using the operation result itself as a microinstruction address, microinstruction branching can be performed by an arbitrary number of branches using one microinstruction.
以下、本発明の一実施例につぎ図を用いて説明する。第
6図は、本発明の一実施例を示す情報処理装置のブロッ
ク図である。An embodiment of the present invention will be described below with reference to the drawings. FIG. 6 is a block diagram of an information processing device showing an embodiment of the present invention.
マイクロプログラムシーケンサ1は、アドレスレジスタ
6とアドレス更新回路5と演算器4の出力結果を保持す
るレジスタ8とアドレス選択回路7より構成され、アド
レス選択回路7により選択されたアドレスに従い制御記
憶装置2に格納されているマイクロ命令を読み出してマ
イクロ命令レジスタ3にセットする。The microprogram sequencer 1 is composed of an address register 6, an address update circuit 5, a register 8 that holds the output results of the arithmetic unit 4, and an address selection circuit 7. The stored microinstruction is read out and set in the microinstruction register 3.
レジスタ8のデータ長は、マイクロ命令アト、 3 。The data length of register 8 is 3 microinstructions.
レスのデータ長と同じであり、演算器の出力結果のデー
タ長が該データ長より長い場合は、上位のビットは無視
し、下位のみレジスタ8にセットする。マイクロ命令が
、演算器の出力結果により分岐したい場合には、アドレ
ス選択回路7によりレジスタ8の出力を選択し、レジス
タ8の出力自身をマイクロ命令アドレスとして分岐する
。If the data length of the output result of the arithmetic unit is longer than the data length, the upper bits are ignored and only the lower bits are set in the register 8. When the microinstruction wants to branch based on the output result of the arithmetic unit, the address selection circuit 7 selects the output of the register 8, and branches using the output of the register 8 itself as the microinstruction address.
次に当該マイクロブログラムシーケンサラ用いて演算結
果により16通りに分岐する場合の例をマイクロ命令ス
テップ毎の動作により説明する。Next, an example in which the microprogram sequencer is used to branch in 16 ways depending on the operation result will be explained based on the operation for each microinstruction step.
ステップ1 テストしたい演算の出力結果を処理装置内
のワークレジスタ1にセットする。Step 1 Set the output result of the operation to be tested in the work register 1 in the processing device.
ステップ2 ワークレジスタ1の内容と別によりめた下
位4ビツトがてべて1″で上位が全て0”の値の論理積
をワークレジスタ2にセットする。下位3ビツトがすべ
て1″で上位が全てlO″の値は、マイクロ命令のリテ
ラル部(マイクロ命令の値自身を数値とする。)より与
え、4 +
る。Step 2 Set the logical product of the contents of the work register 1 and the values in which the lower 4 bits are all 1'' and the upper bits are all 0'' to the work register 2. The value in which the lower three bits are all 1'' and the upper bits are all lO'' is given from the literal part of the microinstruction (the value of the microinstruction itself is a numerical value) and is 4 + .
ステップ3 ブランチアドレスの基準アドレスヲワーク
レジスタ乙にセットする。基準アドレスは下位4ビツト
が全て加”の値でマイクロ命令のリテラル部より与える
。Step 3 Set the reference address of the branch address to work register B. The reference address is given from the literal part of the microinstruction with the lower 4 bits all being plus values.
ステップ4 ワークレジスタ2とワークレジスタ6の論
理和をとりマイクロプログラムシーケンサのレジスタ8
にセットする。Step 4 Take the logical sum of work register 2 and work register 6 and register 8 of the microprogram sequencer.
Set to .
ステップ5 レジスタ8の値をマイクロ命令アドレスと
して分岐する。Step 5 Branch using the value of register 8 as the microinstruction address.
ステップ1からステップ5を実行する事により演算結果
の下位4ビツトの値によりマイクロ命令を分岐する事が
できる。本例では、16通りに分岐する方法を述べたが
、それ以上の値も同様にマイクロ命令のリテラル部の値
を変える事により行なえる。By executing steps 1 to 5, the microinstruction can be branched based on the value of the lower 4 bits of the operation result. In this example, a method of branching in 16 ways has been described, but it is also possible to branch in more than 16 ways by changing the value of the literal part of the microinstruction.
以上の制御により、本実施例によれば、演算結果の任意
のビット数と基準ブランチアドレスをマイクロ命令にて
合成して、マイクロ命令アドレスとする事により、1マ
イクロ命令で演算結果の任意のビット数の値に従い分岐
する事ができる。With the above control, according to this embodiment, an arbitrary number of bits of the operation result and the reference branch address are synthesized using a microinstruction to form a microinstruction address, so that any bit of the operation result can be generated with one microinstruction. It is possible to branch according to the value of the number.
本発明によれば、演算結果によりマイクロ命令の処理が
分力、る場合、1マイクロ命令にて任意の分岐数にて分
岐する事ができるので、分岐に要する処理時間の短縮化
が図れ、処理装置の高速化に効果がある。According to the present invention, when the processing of a microinstruction becomes difficult due to the operation result, it is possible to branch to any number of branches using one microinstruction, so that the processing time required for branching can be shortened, and the processing time can be reduced. Effective in speeding up the device.
第1図は、従来例を示す情報処理装置のブロック図、第
2図は従来例のブランチアドレス作成方法を示す説明図
、第3図は本発明の一実施例を示す情報処理装置にのブ
ロック図である。
1・・・マイクロプログラムシーケンサ、2・・・制御
記憶装置、3・・・マイクロ命令レジスタ、4・・・演
算器、5・・・アドレス更新回路、6・・・アドレスレ
ジスタ、7・・・アドレス選択回路、8・・・演p二出
力保持レジスタ1
、7 。
第 / 図
茅 2月FIG. 1 is a block diagram of an information processing device showing a conventional example, FIG. 2 is an explanatory diagram showing a conventional branch address creation method, and FIG. 3 is a block diagram of an information processing device showing an embodiment of the present invention. It is a diagram. DESCRIPTION OF SYMBOLS 1... Micro program sequencer, 2... Control storage device, 3... Micro instruction register, 4... Arithmetic unit, 5... Address update circuit, 6... Address register, 7... Address selection circuit, 8...operation p2 output holding registers 1, 7. No. / Illustration February
Claims (1)
クロ命令の読み出しを制御するマイクロプログラムシー
ケンサの指定により順次マイクロ命令レジスタに読み出
されて実行されるマイクロプログラム制御の情報処理装
置においテ、前記マイクロプログラムシーケンサが、演
S器の出力結果のうち、マイクロ命令アドレスと同じ長
さ分のみ保持するレジスタと、アドレス更新回路の結果
を保持するアドレスレジスタと両レジスタを選択する選
択回路とから構成されていることを特徴とする情報処理
装置。In a microprogram-controlled information processing device in which microinstructions stored in a control storage device are sequentially read out to a microinstruction register and executed according to specifications of a microprogram sequencer that controls reading of the microinstructions, The program sequencer consists of a register that holds only the same length as the microinstruction address out of the output results of the processor, an address register that holds the results of the address update circuit, and a selection circuit that selects both registers. An information processing device characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11271583A JPS605341A (en) | 1983-06-24 | 1983-06-24 | Information processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11271583A JPS605341A (en) | 1983-06-24 | 1983-06-24 | Information processing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS605341A true JPS605341A (en) | 1985-01-11 |
Family
ID=14593697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11271583A Pending JPS605341A (en) | 1983-06-24 | 1983-06-24 | Information processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS605341A (en) |
-
1983
- 1983-06-24 JP JP11271583A patent/JPS605341A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0363092B2 (en) | ||
JPS605341A (en) | Information processing device | |
JP2793357B2 (en) | Parallel processing unit | |
JPH06110884A (en) | Editing device | |
JPS6152748A (en) | Trace selection system of microprogram development device | |
JP2885197B2 (en) | Arithmetic processing device and arithmetic processing method | |
KR880000817B1 (en) | Data processing apparatus and method | |
JPS58200349A (en) | Microprogram controller | |
JPS6339928B2 (en) | ||
JP3413860B2 (en) | Debug method | |
JPS608943A (en) | Multi-branch controlling system | |
JPH0353321A (en) | Information processor | |
JPS60258647A (en) | Conditional branch control circuit | |
JPS63211037A (en) | Program debugging method | |
JPS59160239A (en) | Information processing device | |
JPH0557615B2 (en) | ||
JPS63189948A (en) | Batch type debugging system in interactive debugger | |
JPS59173817A (en) | Processing method of functional operation | |
JPS59223846A (en) | Arithmetic processor | |
JPS63229526A (en) | Information processor | |
JPH05224711A (en) | Control method for programmable controller | |
JPH0581017A (en) | Program processor | |
JPS60251439A (en) | Selective multi-branch circuit | |
JPH01180044A (en) | Data processor | |
JPH0378834A (en) | Data processing system |