JPS6047610B2 - data processing equipment - Google Patents
data processing equipmentInfo
- Publication number
- JPS6047610B2 JPS6047610B2 JP51138770A JP13877076A JPS6047610B2 JP S6047610 B2 JPS6047610 B2 JP S6047610B2 JP 51138770 A JP51138770 A JP 51138770A JP 13877076 A JP13877076 A JP 13877076A JP S6047610 B2 JPS6047610 B2 JP S6047610B2
- Authority
- JP
- Japan
- Prior art keywords
- register
- table buffer
- contents
- control memory
- branch
- 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
Links
Landscapes
- Executing Machine-Instructions (AREA)
Description
【発明の詳細な説明】
本発明は、データ処理装置、特に分岐命令をまとめて格
納するランダム・アクセス型の分岐用テーブル・バッフ
ァと順次子め定められた順序に実行される順序処理命令
群をまとめて格納するランダム・アクセス型の順序命令
制御メモリとをもうけ、上記分岐用テーブル・バッファ
の内容を交換することによつて処理態様を随時変更でき
るようにしたデータ処理装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a data processing device, particularly a random access type branch table buffer that collectively stores branch instructions, and a group of sequential processing instructions that are sequentially executed in a predetermined order. The present invention relates to a data processing device which includes a random access sequential instruction control memory for collectively storing data, and is capable of changing the processing mode at any time by exchanging the contents of the branch table buffer.
例えばコンパイラなどにおいては、トランジシヨン・マ
トリクスと呼ばれる如きプログラムがあるが、このよう
な処理を実行できるハードウェアを構成しようとすると
、従来公知のマイクロプログラムの形態のままでは多く
の難点が存在する。それは、予め定められた順序にした
がつて順次実行してゆく順序処理命令群と例えば条件に
したがつて分岐を行なう分岐命令とが混在していること
に起因している。本発明は、上記の点を解決することを
目的とし、ており、上記2つのタイプの命令を分離ちて
格納するメモリをもうけ、データ処理装置の処理態様を
随時変更できるようにしたデータ処理装置を提供するこ
とを目的としている。For example, in a compiler, there is a program called a transition matrix, but when attempting to configure hardware that can execute such processing, there are many difficulties in using the conventionally known microprogram format. This is due to the fact that sequential processing instructions that are executed sequentially in a predetermined order and branch instructions that branch according to conditions coexist. The present invention aims to solve the above-mentioned problems, and is a data processing device that has a memory that separately stores the two types of instructions mentioned above, and that allows the processing mode of the data processing device to be changed at any time. is intended to provide.
そしてそのため、本発明のデータ処理装置はマイクロプ
ログラムが格納される制御メモリを有するマイクロプロ
グラム方式のデータ処理装置において、上記マイクロプ
ログラム中の分岐命令をまとめて格納するランダム・ア
クセス型の分岐用テーブル・バッファと、順次子め定め
られた順序に実行される順序処理命令群をまとめて格納
するランダム・アクセス型の順序命令制御メモリと、命
令により上記分岐用テーブル・バッファをアクセスする
モ―ドと上記順序命令制御メモリをアクセスするモード
とがセットされるモード・レジスタと、上記分岐用テー
ブル◆バッファをアクセスするアドレス情報がセットさ
れる論理プロセッサ・アドレス・レジスタとをもうけ、
上記モード・レジスタの内容にもとづいて上記分岐用テ
ーブル・バッファにおける上記論理プロセッサ◆アドレ
ス●レジスタの内容で指定される番地をアクセスするよ
う構成され、上記分岐用テーブル・バッファの内容にも
とづいて上記順序命令制御メモリ中の指定された先頭番
地をアクセスし以後の処理を実行すると共に、当該以後
の処理の実質上末尾が実行された時点で上記分岐用テー
ブル・バッファがアクセスされて上記順序命令制御メモ
リにおける他の以後の処理の実行に移行するよう構成さ
れたことを特徴としている。以下図面を参照しつつ説明
する。図は本発明の一実施例構成を示す。Therefore, the data processing device of the present invention is a microprogram-based data processing device having a control memory in which a microprogram is stored, and a random access type branch table for collectively storing branch instructions in the microprogram. a buffer, a random access sequential instruction control memory that collectively stores a group of sequential processing instructions to be executed in a predetermined order, a mode for accessing the branch table buffer by instructions, and It has a mode register in which a mode for accessing the sequential instruction control memory is set, and a logical processor address register in which address information for accessing the branch table ◆ buffer is set,
Based on the contents of the mode register, the logical processor in the branch table buffer is configured to access the address specified by the contents of the address register, and in the order described above based on the contents of the branch table buffer. The specified start address in the instruction control memory is accessed to execute subsequent processing, and at the point when the substantially end of the subsequent processing has been executed, the branch table buffer is accessed and the sequential instruction control memory is accessed. It is characterized in that it is configured to move on to execution of other subsequent processing. This will be explained below with reference to the drawings. The figure shows the configuration of an embodiment of the present invention.
図中1−0はランダム●アクセス型の分岐用テーブル●
バッファであつて分よ命令がまとめて格納されるもの、
1−1は順序命令制御メモリであって予め定められた順
序にしたがつて順に実行される命令群4が格納されるも
の、2はストーリツジ・データ・レジスタ、3はデコー
ダであつてデータ・レジスタ2にロードされたマイクロ
命令を解読して処理を実行せしめるもの、4はストーリ
ツジ・データ・アドレス・レジスタであつて上記分岐用
テー.ブル・バッファ1−0および順序命令制御メモリ
1−1に対するアクセス◆アドレスがセットされるもの
、5は分岐条件制御部であつて分岐命令にしたがつて読
出される複数個の分岐先の1つをマシン状態にしたがつ
て選択するもの、6はローカ・ル・ストーリツジ、7は
論理プロセッサ●アドレス◆レジスタであつて上記分岐
用テーブル●バッファ1−0に対するアクセス・アドレ
スがセットされるもの、8はモード・レジスタであつて
上記分岐用テーブル●バッファ1−0をアクセスするか
上記順序命令制御メモリ1−1をアクセスするかを指示
するモード指示情報がセットされるもの、9はリンク●
アドレス●バッファ●レジスタであつて上記論理プロセ
ッサ・アドレス・レジスタ7の内容が転送されて保持さ
れるもの、10,11は夫々ラッチ、12,13は夫々
アンド回路を表わしている。本発明の場合、分岐命令図
示A,Bなどのみがlまとめて分岐用テーブル・バッフ
ァ1−0にまとめて格納され、先頭番地が指示されれば
以下予め定められた順序で処理を実行してゆく順序命令
群Pl,P2などのみがまとめて順序命令制御メモリ1
−1内に格納される。In the figure, 1-0 is random●Access type branching table●
A buffer that stores instructions all at once.
1-1 is a sequential instruction control memory in which a group of instructions 4 to be executed sequentially in a predetermined order is stored; 2 is a storage data register; and 3 is a decoder which is a data register. 2 is a storage data address register which decodes the microinstruction loaded into the register and executes the process. Access to bull buffer 1-0 and sequential instruction control memory 1-1 ◆The address is set, and 5 is a branch condition control unit, which is one of multiple branch destinations read according to a branch instruction. is selected according to the machine state, 6 is local storage, 7 is a logical processor address ◆ register in which the access address for the above branch table buffers 1-0 is set, 8 9 is a mode register in which mode instruction information indicating whether to access buffer 1-0 or sequential instruction control memory 1-1 is set in the branch table mentioned above; 9 is a link
The address buffer register is one in which the contents of the logical processor address register 7 are transferred and held, 10 and 11 are latches, and 12 and 13 are AND circuits. In the case of the present invention, only the branch instructions A, B, etc. shown in the diagram are stored together in the branch table buffer 1-0, and once the start address is specified, the following processes are executed in a predetermined order. Only the following sequential instruction groups Pl, P2, etc. are collectively stored in the sequential instruction control memory 1.
-1.
メモリ1−1から読出される順序命令の1つであるマイ
クロ命令には公知の如く次アドレス指定パートNAをも
つており、後述する如く該次アドレス指定パートNAの
内容にしたがつて次々と次に実行すべきマイクロ命令を
読出してゆくようにされる。また上記分岐”用テーブル
・バッファ1−0や順序命令制御メモリ1−1から読出
されたマイクロ命令は、言うまでもなくストーリツジ・
データ・レジスタ2にロードされ、デコーダ3によつて
解読される。そして該解読出力によつて公知の如く当該
マイクロ命令で指定された演算を実行すべくバス・ゲー
トなどをオンまたはオフするよう制御する。上記論理プ
ロセッサ・アドレス・レジスタ7の内容は、命令などに
よつて任意の値をセットしたり、あるいはカウンタなど
で随時セットされる。As is well known, the microinstruction, which is one of the sequential instructions read out from the memory 1-1, has a next address designation part NA, and as will be described later, the microinstruction is read out from the memory 1-1 one after another according to the contents of the next address designation part NA. The microinstructions to be executed are read out. Needless to say, the microinstructions read from the branch table buffer 1-0 and the sequential instruction control memory 1-1 are stored in the storage
Loaded into data register 2 and decoded by decoder 3. Based on the decoded output, bus gates and the like are controlled to be turned on or off in order to execute the operation specified by the microinstruction, as is known in the art. The contents of the logical processor address register 7 can be set to an arbitrary value by a command, or can be set at any time by a counter or the like.
なお当該セットされる値は、図示分岐命令図示Aや分岐
命令図示Bの格納アドレスに対応している。したがつて
当該値を適宜セットすることによつて、順序命令群P1
やP2・・・・・・などの組合わせとその順番とを変化
させることが容易となる。またモード・レジスタ8の内
容は、順序命令制御メモリ1−1から読出される命令に
よつて任意に書替えられる。今、論理プロセッサ●アド
レス・レジスタ7にある値がセットされ、その内容がリ
ンク・アドレス●バッファ●レジスタ9に転送されてい
る状態のもとで、モード・レジスタ8の内容が論理RO
Jに切替えられたとする。Note that the set value corresponds to the storage address of the illustrated branch instruction A and the branch instruction illustrated B. Therefore, by setting the value appropriately, the ordered instruction group P1
, P2, etc. and their order can be easily changed. Further, the contents of the mode register 8 can be arbitrarily rewritten by an instruction read from the sequential instruction control memory 1-1. Now, with a value set in logical processor address register 7 and its contents transferred to link address buffer register 9, the contents of mode register 8 are set to logical RO.
Suppose that it is switched to J.
これによつて、アンド回路12がオフされ、アンド回路
13がオンされる。そしてリンク・アドレス・バッファ
・レジスタ9の内容がストーリツジ・アドレス・レジス
タ4にロードされ、ラッチ11に一時保持される。この
とき上記モード●レジスタ8の内容RO.Jが上記スト
ーリツジ・アドレス◆レジスタ4の内容の先頭ビットに
附加される。これによつて、先頭ビットが10ョである
ことから分岐用テーブル●バッファ●レジスタ1−0の
所定番地がアクセスされて、データ●レジスタ2にロー
ドされる。即ち、当該番地に格納されている分岐命令例
えばAが読出され、デコーダ3によつて解読されて実行
され、例えば分岐先となるてあろう複数個の順序命令群
の先頭番地に格納されるマイクロ命令が順序命令制御メ
モリ1−1から読出される。そして上記モード レジス
タ8の内容は1しに戻される。このとき、分岐条件制御
部5においてマシン状態にもとづいて分岐先が決定され
、上記読出される複数の命令の1つ例えば命令群P1の
先頭の命令が選択されてデータ●レジスタ2にロードさ
れる。上記の如くモード・レジスタ8の内容がRlJに
なつたために、以降の処理においてはアンド回路12が
オンされ、データ・レジスタ2にロードされたマイクロ
命令中の次アドレス・パートNAの内容がストーリツジ
●アドレス・レジスタ4にセットされ、ラッチ11にラ
ッチされるときモード・レジスタの内容1しが先頭ビッ
トに附加され、以後命令群P1の命令が順次読出されて
実行される。As a result, AND circuit 12 is turned off and AND circuit 13 is turned on. The contents of the link address buffer register 9 are then loaded into the storage address register 4 and temporarily held in the latch 11. At this time, the above mode ● Contents of register 8 RO. J is added to the first bit of the contents of the storage address ◆register 4. As a result, since the first bit is 10, the predetermined address of the branch table buffer register 1-0 is accessed and loaded into the data register 2. That is, the branch instruction stored at the address, for example A, is read out, decoded and executed by the decoder 3, and the microcontroller stored at the first address of a group of sequential instructions that will be the branch destination, for example. Instructions are read from sequential instruction control memory 1-1. The contents of the mode register 8 are then returned to 1. At this time, the branch condition control unit 5 determines the branch destination based on the machine state, and one of the plurality of instructions read out, for example, the first instruction of the instruction group P1, is selected and loaded into the data register 2. . Since the contents of the mode register 8 have become RlJ as described above, the AND circuit 12 is turned on in the subsequent processing, and the contents of the next address part NA in the microinstruction loaded into the data register 2 are changed to the storage When set in the address register 4 and latched in the latch 11, the contents of the mode register 1 are added to the first bit, and thereafter the instructions of the instruction group P1 are sequentially read out and executed.
この間論理プロセッサ・アドレス・レジスタ7の内容が
更新されて、リンク・アドレス・バッファ・レジスタ9
内に保持される。そして、上記命令群P1の例えば最後
の命令によつて上記モード・レジスタ8の内容をROョ
に切替える。これによつて再び分岐用テーブル・バッフ
ァ1−0の所定番地がアクセスされ、例えば図示の分岐
命令Bが読出される。以下同様に次々と処理が実行され
てゆくが、順序命令制御メモリ1−1からの命令が順次
実行されてゆく間に、次に如何なる分岐命令を用意すべ
きかは処理に応じて決定できる。During this time, the contents of the logical processor address register 7 are updated and the contents of the link address buffer register 9 are updated.
held within. Then, the contents of the mode register 8 are switched to RO by, for example, the last instruction of the instruction group P1. As a result, the predetermined location of the branch table buffer 1-0 is accessed again, and, for example, the illustrated branch instruction B is read out. Thereafter, processes are executed one after another in the same manner, but while the instructions from the sequential instruction control memory 1-1 are being executed sequentially, it can be determined which branch instruction should be prepared next depending on the process.
この点を利用して、リンク●アドレス●バッファ●レジ
スタ9の内容にもとづいて分岐用テーブル・バッファ1
−0から分岐命令をプリフエツチせしめることができる
。この場合、分岐用テーブル●バッファ1一0と順序命
令制御メモリ1−1とに対するアクセス・アドレスを独
立化することが好ましい。分岐用テーブル●バッファ1
−0の内容は、必要に応じて例えばコンソール・ファイ
ル(図示せず)の内容と交換することができる。また必
要に応じて主記憶装置に書込まれるマクロ命令によつて
書替えることもできる。更に言うまでもなく、順序命令
制御メモI川−1の内容もまた必要に応じてコンソール
・ファイルの内容と交換することができる。以上説明し
た如く、本発明によれば分岐用テーブル●バッファ1−
0内に分岐命令をまとめて格゜納するようにしたので、
該分岐用テーブル・バッファ1−0の内容を交換すれば
任意の処理態様をとるようにすることが自由となる。そ
して論理プロセッサ・アドレス・レジスタ7の内容を選
択することができ、従来公知のマイクロプログラム方、
式のデータ処理装置にくらべて自由度が一段と増し、し
かもプログラムの細部ステップを直接変更することが可
能となる。Using this point, link address ● buffer ● Based on the contents of register 9, branch table buffer 1
Branch instructions can be prefetched from -0. In this case, it is preferable to make the access addresses for the branch table buffer 1-0 and the sequential instruction control memory 1-1 independent. Branch table ●Buffer 1
The contents of -0 can be replaced, for example, with the contents of a console file (not shown), if desired. Furthermore, it can be rewritten by a macro instruction written to the main memory as necessary. Furthermore, it will be appreciated that the contents of the sequential command control memo I-1 can also be exchanged with the contents of the console file, if desired. As explained above, according to the present invention, the branch table ●Buffer 1-
Since the branch instructions are stored together in 0,
By exchanging the contents of the branch table buffer 1-0, it becomes possible to take any processing mode. The contents of the logical processor address register 7 can then be selected by a conventionally known microprogram method.
The degree of freedom is further increased compared to conventional data processing devices, and it is also possible to directly change detailed steps of a program.
図は本発明の一実施例構成を示す。 The figure shows the configuration of an embodiment of the present invention.
Claims (1)
るマイクロプログラム方式のデータ処理装置において、
上記マイクロプログラム中の分岐命令をまとめて格納す
るランダム・アクセス型の分岐用テーブル・バッファと
、順次子め定められた順序に実行される順序処理命令群
をまとめて格納するランダム・アクセス型の順序命令制
御メモリと、命令により上記分岐用テーブル・バッファ
をアクセスするモードと上記順序命令制御メモリをアク
セスするモードとがセットされるモード・レジスタと、
上記分岐用テーブル・バッファをアクセスするアドレス
情報がセットされる論理プロセッサ・アドレス・レジス
タとをもうけ、上記モード・レジスタの内容にもとづい
て上記分岐用テーブル・バッファにおける上記論理プロ
セッサ・アドレス・レジスタの内葉で指定される番地を
アクセスするよう構成され、上記分岐用テーブル・バッ
ファの内容にもとづいて上記順序命令制御メモリ中の指
定された先頭番地をアクセスし以後の処理を実行すると
共に、当該以後の処理の実質上末尾が実行された時点で
上記分岐用テーブル・バッファがアクセスされて上記順
序命令制御メモリにおける他の以後の処理の実行に移行
するよう構成されたことを特徴とするデータ処理装置。 2 上記順序命令制御メモリ内に格納されるマイクロ命
令によつて上記モード・レジスタの内容を切替えるよう
構成されることを特徴とする特許請求の範囲第1項記載
のデータ処理装置。3 上記分岐用テーブル・バッファ
の内容を、マイクロ命令によつて書替え得るよう構成さ
れることを特徴とする特許請求の範囲第1項または第2
項記載のデータ処理装置。[Claims] 1. A microprogram type data processing device having a control memory in which a microprogram is stored,
A random access type branch table buffer that collectively stores the branch instructions in the above microprogram, and a random access type order buffer that collectively stores a group of sequential processing instructions that are executed in a sequentially determined order. an instruction control memory; a mode register in which a mode for accessing the branch table buffer and a mode for accessing the sequential instruction control memory are set by the instruction;
A logical processor address register in which address information for accessing the branch table buffer is set, and based on the contents of the mode register, the logical processor address register in the branch table buffer is set. It is configured to access the address specified by the leaf, and based on the contents of the branch table buffer, accesses the specified start address in the sequential instruction control memory and executes the subsequent processing, and also executes the subsequent processing. A data processing device characterized in that the branching table buffer is accessed at the time when substantially the end of the processing is executed, and the execution of other subsequent processing in the sequential instruction control memory is started. 2. The data processing device according to claim 1, wherein the data processing device is configured to switch the contents of the mode register by a microinstruction stored in the sequential instruction control memory. 3. Claim 1 or 2, characterized in that the content of the branch table buffer is configured to be rewritten by a microinstruction.
The data processing device described in Section 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP51138770A JPS6047610B2 (en) | 1976-11-18 | 1976-11-18 | data processing equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP51138770A JPS6047610B2 (en) | 1976-11-18 | 1976-11-18 | data processing equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5363828A JPS5363828A (en) | 1978-06-07 |
| JPS6047610B2 true JPS6047610B2 (en) | 1985-10-22 |
Family
ID=15229781
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP51138770A Expired JPS6047610B2 (en) | 1976-11-18 | 1976-11-18 | data processing equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6047610B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS588011B2 (en) * | 1974-02-14 | 1983-02-14 | 三洋電機株式会社 | Microprogram Seigiyohoshiki |
| JPS514061A (en) * | 1974-07-02 | 1976-01-13 | Hidematsu Kashima | Enchumataha entojokonkuriitokozobutsutetsukinno seizohoho |
-
1976
- 1976-11-18 JP JP51138770A patent/JPS6047610B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5363828A (en) | 1978-06-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6298440A (en) | programmable access memory | |
| JPS6047610B2 (en) | data processing equipment | |
| US5893928A (en) | Data movement apparatus and method | |
| JP2025511310A (en) | Techniques for processing access operations with ordering constraints. | |
| JP2619425B2 (en) | Sequence controller | |
| JPS5856277A (en) | Method and device for information processing | |
| JP2000029690A (en) | Method and device for data processing | |
| JP2000029508A (en) | Programmable controller | |
| JPH03269650A (en) | Buffer storage | |
| JPH08305564A (en) | Microcomputer | |
| JP2581298B2 (en) | Memory access right information supply mechanism | |
| JPS6027418B2 (en) | Instruction preemption control device | |
| JPS60193046A (en) | Instruction exception detection method | |
| JP3239042B2 (en) | Microcomputer | |
| JPS626341A (en) | Information processor | |
| JPH06139084A (en) | Information processing equipment | |
| JPH01126759A (en) | Interlocking system for main storage | |
| JPH0136198B2 (en) | ||
| JPH08297583A (en) | Interrupt handling apparatus and method thereof | |
| JPS6113612B2 (en) | ||
| JPS60189043A (en) | Processor | |
| JPS58134350A (en) | Memory controller | |
| JPH06309283A (en) | Electronic computer | |
| JPH0540685A (en) | Address decoder | |
| JPH0548498B2 (en) |