JPS5920047A - Microprogram control system - Google Patents

Microprogram control system

Info

Publication number
JPS5920047A
JPS5920047A JP12925382A JP12925382A JPS5920047A JP S5920047 A JPS5920047 A JP S5920047A JP 12925382 A JP12925382 A JP 12925382A JP 12925382 A JP12925382 A JP 12925382A JP S5920047 A JPS5920047 A JP S5920047A
Authority
JP
Japan
Prior art keywords
control memory
address
register
control
specific 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.)
Granted
Application number
JP12925382A
Other languages
Japanese (ja)
Other versions
JPS6362769B2 (en
Inventor
Kenichi Tsukioka
月岡 健一
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 JP12925382A priority Critical patent/JPS5920047A/en
Publication of JPS5920047A publication Critical patent/JPS5920047A/en
Publication of JPS6362769B2 publication Critical patent/JPS6362769B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/26Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To control a microprogram in an excellent way, by providing the 1st and the 2nd control memories, the 1st and the 2nd address switching sections, an adder and a control section and the like, and constituting the system so that the start address of the 2nd control memory is used selectively. CONSTITUTION:Control memories 2, 11, address switching sections 13, 15, control memory address register 4, adder 5 and a control section 14 and the like are provided. A memory 11 is provided with the 1st and the 2nd specific field. The 1st specific field stores a required processing routine, the 2nd specific field discriminates the content of the 1st specific field so as to use selectively the start address of the memory 11. Then, the microprogram control is attained without increasing the capacity in the direction of bit of the memory 11 and without increasing the capacity of the microprogram.

Description

【発明の詳細な説明】 (発明の属する技術分野の説明) 本発明はデータ処理装置を制御するためのマイクロプロ
グラムにおいて、制御メモリをアクセスするために使用
するマイクロプログラム制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Description of the technical field to which the invention pertains) The present invention relates to a microprogram control method used to access control memory in a microprogram for controlling a data processing device.

(従来技術の説明) 従来からマイクロプログラム制御における制御メモリへ
のアドレス制御方式に関しては、命令レジスタの動作コ
ードを解読して制御メモリをアクセスする方式や、命令
レジスタと制御メモリとの間に、さらに第2の制御メモ
リを設け、第2の制御メモリに対してマクロ命令語ごと
に側部メモリの先頭アドレスを割当てる様にして、命令
語の動作コードに依り第2の制御メモリをアクセスする
方式が採用されていた。後者においては、第2の制御メ
モリをアクセスすると、これに対応したアドレスから該
当する命令語の制御メモリにおける先頭アドレスが読出
される。
(Description of Prior Art) Regarding address control methods for control memory in microprogram control, conventional methods include methods for accessing control memory by decoding the operation code of the instruction register, and methods for accessing the control memory by decoding the operation code of the instruction register, and methods for controlling the address of the control memory in microprogram control. There is a method in which a second control memory is provided, and the first address of the side memory is assigned to the second control memory for each macro instruction word, and the second control memory is accessed depending on the operation code of the instruction word. He had been hired. In the latter case, when the second control memory is accessed, the start address of the corresponding instruction word in the control memory is read from the corresponding address.

この先頭アドレスにより制御メモリをアクセスし、これ
によって制御メモリから読出されたマイクロ命令を実行
することによりデータ処理装置の制御が行われるわけで
ある。しかしながら、これらの方式においてはマクロ命
令ごとに先頭アドレスが異なることになるため、非常に
大きな容量の制御メモリが必要となる欠点があった。
The data processing device is controlled by accessing the control memory using this start address and executing microinstructions read from the control memory. However, these methods have the disadvantage that a very large capacity control memory is required because the start address is different for each macro instruction.

このような欠点を除去する方式として制御メモリをデー
タ準備ルーチンと実行ルーチンとに分け、マクロ命令が
第1の制御メモリの各ルーチンを共通に使用できる様に
して、さらに第2の制御メモリに各ルーチンの先頭アド
レスをマクロ命令ごとに記憶する様にしておく方法があ
る。
As a method to eliminate such drawbacks, the control memory is divided into data preparation routines and execution routines, so that macro instructions can commonly use each routine in the first control memory, and each routine is stored in the second control memory. There is a method of storing the start address of the routine for each macro instruction.

しかし、この方法では第2の制御メモリに記憶されてい
るアドレスがマクロ命令ごとに設けられた各ワード内に
複数個含まれることになり、制御メモリのピット方向に
容量が増加すると云う欠点がある。
However, this method has the disadvantage that multiple addresses stored in the second control memory are included in each word provided for each macro instruction, and the capacity increases in the direction of the pits of the control memory. .

以上説明した様に、従来の方式ではいずれにしてもハー
ドウェア量が増加すると云う欠点がある。
As explained above, the conventional methods have the disadvantage that the amount of hardware increases in any case.

(発明の詳細な説明) 本発明の目的は命令語の動作コードによυ第2の制御メ
モリをアクセスする時、さらに第2の制御メモリの特定
領域を詳細にアクセスするために必要な制御を行うため
の特定フィールドを設け、マクロ命令が実行される時、
触初に第2の制御メモリの内容を読出し、読出された内
容に含まれている特定フィールドの制御に従って、再び
第2の制御メモリから必要な内容を読出すことによって
第2の制御メモリのビット方向の容量を減することがで
き、さらに第1の制御メモリの容量を増加させることな
くマイクロプログラムを格納し、且つ、有効に活用する
ことができる様に構成したデータ処理装置を提供するこ
とにある。
(Detailed Description of the Invention) An object of the present invention is to provide control necessary for accessing the second control memory by the operation code of the instruction word, and further accessing a specific area of the second control memory in detail. When a macro instruction is executed,
bits of the second control memory by first reading the contents of the second control memory and then reading the necessary contents from the second control memory again according to the control of a specific field included in the read contents. To provide a data processing device configured such that the directional capacity can be reduced, and a microprogram can be stored and effectively utilized without increasing the capacity of a first control memory. be.

(発明の構成と作用の説明) 本発明によるマイクロプログラム制御方式を実現するた
めのデータ処理装置は命令レジスタと、第1の制御メモ
リと、マイクロ命令レジスタと、制御メモリアドレスレ
ジスタと、第2の制御メモリと、読出しレジスタと、第
1のアドレス切替部と、第2のアドレス切替部と、加算
器と、制御部とを具備している。
(Description of structure and operation of the invention) A data processing device for realizing the microprogram control method according to the present invention includes an instruction register, a first control memory, a microinstruction register, a control memory address register, and a second control memory. It includes a control memory, a read register, a first address switching section, a second address switching section, an adder, and a control section.

命令レジスタは命令語を保持するためのレジスタである
。第1の制御メモリはマイクロプログラムを記憶するた
めのメモリである。
The instruction register is a register for holding instruction words. The first control memory is a memory for storing microprograms.

マイクロ命令レジスタは第1の制御メモリから読出され
たマイクロ命令を保持するためのレジスタである。制御
メモリアドレスレジスタは次に実行すべきマイクロ命令
のアドレスを保持しておき、第1の制御メモリへこのア
ドレスを供給するためのレジスタである。第2の制御メ
モリは第1、および第2の特定フィールドを含むもので
あり、第1の特定フィールドには必要な処理ルーチンの
アドレスを格納し、第2の特定フィールドには第1の特
定フィールドの内容を識別するための情報を保持し、こ
れによって有効に必要な開始アドレスを選択できる様に
構成しである。読出しレジスタは第2の制御メモリの第
1の特定フィールドから続出されたアドレス情報を保持
するためのレジスタである。
The microinstruction register is a register for holding microinstructions read from the first control memory. The control memory address register is a register that holds the address of the next microinstruction to be executed and supplies this address to the first control memory. The second control memory includes first and second specific fields, the first specific field stores the address of a necessary processing routine, and the second specific field stores the first specific field. It is configured to hold information for identifying the contents of the address and use this information to effectively select the necessary start address. The read register is a register for holding address information successively read from the first specific field of the second control memory.

第1のアドレス切替部は少くとも第2の制御メモリの第
1の特定フィールドの内容と、第1の特定フィールドの
内容を保持するための読出しレジスタの出方とを六方し
ていずれかを選択し、制御メモリアドレスレジスタに対
して必要なアドレス情報を供給するためのものである。
The first address switching section selects at least one of the contents of the first specific field of the second control memory and the output direction of the read register for holding the contents of the first specific field. It is used to supply necessary address information to the control memory address register.

第2のアドレス切替部は第2の制御メモリの第1の特定
フィールドの内容を読出すために、命令レジスタに保持
されている動作コードと、第2の制御メモリの第2の特
定フィールドの内容とによって決定された条件に応じて
、選択的に必要なアドレス情報を第2の制御メモリへ供
給するものである。
In order to read the contents of the first specific field of the second control memory, the second address switching section reads the operation code held in the instruction register and the contents of the second specific field of the second control memory. Necessary address information is selectively supplied to the second control memory according to the conditions determined by the above.

加算器ハ制御メモリアドレスレジスタにセットされてい
るアドレス情報を1づつ増分し、アドレス加算を行うた
めのものである。制御部は第1、および第2の制御メモ
リからの指示に基づいて第1、および@2のアドレス切
替部を制御するためのものである。
The adder is used to increment the address information set in the control memory address register by one and perform address addition. The control section is for controlling the first and @2 address switching sections based on instructions from the first and second control memories.

(実施例の説明) 次に本発明について図面を参照して詳細に説明する。第
1図は本発明によるマイクロプログラム制御方式を実現
するためのデータ処理装置の一実施例を部分的に示すブ
ロック図である。
(Description of Examples) Next, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram partially showing an embodiment of a data processing device for realizing a microprogram control system according to the present invention.

第1図において、1に命令レジスタ、2は第1の制御メ
モリ、3はマイクロ命令レジスタ、4は制御メモリアド
レスレジスタ、5 td 加算器、1工は第2の制御メ
モリ、12に@2の制御メモリにおける第1の特定フィ
ールドの内容を保持するための読出しレジスタ、13ハ
第1のアドレス切替部、14ハ制御部、15に第2のア
ドレス切替部である。第1の制御メモリ2は通常、デー
タ処理装置において実行されるマクロ命令を解読し、マ
クロ命令に応じてマイクロ命令を実行する時に使用され
るものである。すなわち、マクロ命令が実行される時に
は、制御メモリアドレスレジスタ4に対して信号線13
1を介して開始アドレスが第1のアドレス切替部13か
ら送出される。そこで、制御メモリアドレスレジスタ4
から信号線401 、403を介して加算器5ヘアドレ
スを1だけ増分するためのアドレス情報が送られてくる
。加算器5では信号線501 ’!il”介して増分情
報を$1のアドレス切替部13に送出する。そこで、第
1のアドレス切替部13から信号線131を介して再び
+1だけ増分されたアドレスが制御メモリアドレスレジ
スタ4に加えられる。この時、第1のアドレス切替部1
3では信号線501を介して加算器5から加えられたア
ドレス情報か、あるいは信号線121を介して転送され
てくる開始アドレスか、またに信号線112゜113を
介して転送されてくる開始アドレスかを制御信号線14
2上の制御信号に従って選択する。
In Figure 1, 1 is an instruction register, 2 is a first control memory, 3 is a microinstruction register, 4 is a control memory address register, 5 is an adder, 1 is a second control memory, 12 is a @2 A read register for holding the contents of the first specific field in the control memory, c) a first address switching unit, c) a control unit, and c) a second address switching unit. The first control memory 2 is normally used when decoding a macroinstruction executed in a data processing device and executing a microinstruction in accordance with the macroinstruction. That is, when a macro instruction is executed, the signal line 13 is connected to the control memory address register 4.
The start address is sent from the first address switching section 13 via the first address switching section 13. Therefore, control memory address register 4
Address information for incrementing the address by 1 is sent from the adder 5 to the adder 5 via signal lines 401 and 403. In adder 5, signal line 501'! The increment information is sent to the address switching section 13 of $1 via "il". Then, the address incremented by +1 is again added to the control memory address register 4 from the first address switching section 13 via the signal line 131. At this time, the first address switching unit 1
3, the address information added from the adder 5 via the signal line 501, the start address transferred via the signal line 121, or the start address transferred via the signal lines 112 and 113. Control signal line 14
Select according to the control signal on 2.

ここで、加算器5から加えられるアドレス情報が選択さ
れている場合には、上に説明した様にこのアドレス情報
が制御メモリアドレスレジスタ4に送出される。その結
果、このアドレス情報に依って信号線401 、402
 t−介して第1の制御メモリ2をアクセスし、信号線
201を介して上記アドレスに記憶されているマイクロ
命令がマイクロ命令レジスタ3に読出される。通常、加
算器5によって得られたアドレス情報に依って順次、第
1の制御メモリ2がらマイクロ命令がマイクロ命令レジ
スタ3に続出されて実行される。
Here, if address information to be added from adder 5 is selected, this address information is sent to control memory address register 4 as explained above. As a result, signal lines 401 and 402 are connected depending on this address information.
The first control memory 2 is accessed via the signal line 201, and the microinstruction stored at the above address is read into the microinstruction register 3 via the signal line 201. Normally, microinstructions are sequentially outputted from the first control memory 2 to the microinstruction register 3 and executed in accordance with the address information obtained by the adder 5.

一般にマクロ命令が実行される時には、最初にマクロ命
令が外部の主記憶装置から続出されて命令レジスタ1に
保持される。次に、制御メモリアドレスレジスタ4によ
り第1の制御メモリ2がアクセスされ、第1の制御メモ
リ2の出力信号線202上に実行中のマクロ命令の最後
のマイクロ命令ステップを示しているマイクロ命令が送
出されているときには、この出力信号に対して制御部1
4ハ応答する。すなわち、このマクロ命令の最後のマイ
クロ命令ステップを示すマイクロ命令に対して制御部1
4が応答すると、命令レジスタ1に保持されている命令
語の動作コードに依シ、第2のアドレス切替部15を介
して第2の制御メモリ11がアクセスされる。
Generally, when a macro instruction is executed, the macro instruction is first sequentially issued from an external main memory and held in the instruction register 1. Next, the first control memory 2 is accessed by the control memory address register 4, and a microinstruction indicating the last microinstruction step of the macroinstruction being executed is written on the output signal line 202 of the first control memory 2. When the output signal is being sent out, the control unit 1
4H respond. That is, the control unit 1
4 responds, the second control memory 11 is accessed via the second address switching section 15 depending on the operation code of the instruction word held in the instruction register 1.

次にアドレス切替え動作を詳細に説明するため、第2の
アドレス切替部15の回路構成の一実施例を第2図に示
す。第2図において、第2のアドレス切替部15は第1
、および第2の切替回路41 、42から成立つ。信号
線101 、103、ならびに信号線101 、102
を介して、それぞれ第1の切替回路41、ならびに第2
の切替回路42に対して動作コードが命令レジスタ1よ
シ送出される。そこで、第1および第2の切替回路41
゜42ではさらに入力データの最上位ビットにそれぞれ
Olおよびlを付加している。制御部14から信号線1
41を介して送出された制御信号の状態が0の時には、
第1の切替回路41は入力データを選択して信号線15
1に送出し、第2の制御メモリ11をアクセスする。い
っぽう、制御部14から信号線141を介して送出され
た制御信号の状態が1の時には、第2の切替回路42ニ
入力データを選択して信号線151に送出し、第2の制
御メモリ11をアクセスする。第2の制御メモリ11に
おいて、第1の特定フィールドには第1の制御メモリ2
の開始アドレスを記憶し、第2の特定フィールドには識
別ビットを記憶している。識別ビットは開始アドレスが
命令実行準備ルーチンの開始アドレスであるか、あるい
は命令実行ルーチンの開始アドレスであるかを識別する
ものである。もし開始アドレスが命令実行準備ルーチン
の開始アドレスであるならば、第2の特定フィールドに
は例えば状態1が指定され、開始アドレスが命令実行ル
ーチンの開始アドレスであるならば、第2の特定フィー
ルドには例えば状態0が指定される。従って、第1の特
定フィールドが命令実行ルーチンのアドレスを表わすも
のであるならば、状態0が指定されることになる。この
場合、マクロ命令が実行されて第1の制御メモリ2の出
力信号線202に対して該当マクロ命令のマイクロ命令
ステップ終了指示マイクロ命令が送出されると、制御部
14にその旨告知され、制御部14には信号線114を
介して第2の制御メモリ11の第2の特定フィールドの
内容が送出されてくる。
Next, in order to explain the address switching operation in detail, one embodiment of the circuit configuration of the second address switching section 15 is shown in FIG. In FIG. 2, the second address switching unit 15
, and second switching circuits 41 and 42. Signal lines 101, 103 and signal lines 101, 102
via the first switching circuit 41 and the second switching circuit 41, respectively.
The operation code is sent from the instruction register 1 to the switching circuit 42. Therefore, the first and second switching circuits 41
At 42, Ol and l are added to the most significant bits of the input data, respectively. From the control unit 14 to the signal line 1
When the state of the control signal sent through 41 is 0,
The first switching circuit 41 selects the input data and connects the signal line 15 to the signal line 15.
1 and accesses the second control memory 11. On the other hand, when the state of the control signal sent from the control unit 14 via the signal line 141 is 1, the second switching circuit 42 selects the input data and sends it to the signal line 151, and the second control memory 11 selects the input data and sends it to the signal line 151. access. In the second control memory 11, the first specific field contains the first control memory 2.
, and an identification bit is stored in the second specific field. The identification bit identifies whether the start address is the start address of the instruction execution preparation routine or the start address of the instruction execution routine. If the start address is the start address of the instruction execution preparation routine, the second specific field is designated with state 1, for example, and if the start address is the start address of the instruction execution routine, the second specific field is For example, state 0 is specified. Therefore, if the first specific field represents the address of an instruction execution routine, state 0 will be designated. In this case, when a macroinstruction is executed and a microinstruction instruction to end the microinstruction step of the corresponding macroinstruction is sent to the output signal line 202 of the first control memory 2, the control unit 14 is notified of this and the control The contents of the second specific field of the second control memory 11 are sent to the section 14 via the signal line 114.

第3図は第1図における制御部14の回路構成の一実施
例を示すブロック図である。第3図において、制御部1
4は第1、および第2のANDケート52.53と、フ
リップフロップ51とを具備して構成しである。信号線
114を介して卸」細部14に入力された第2の特定フ
ィールドの内容に依シ、フリップフロップ51はセット
され、フリップフロップ51に第2の特定フィールドの
内容が記憶される。このフリップフロップ51はイ言号
線114上の信号の状態が1の時にセットされ、第2の
ANDゲート53の出力信号の状態力;1の時にリセッ
トされる。第2 (7) A N Dゲート53は信号
線202にマクロ命令のマイクロ命令ステップ終了指示
マイクロ命令が現われ、且つ、フリップフロップ51が
セットされている時に限って開き、これに依って出力信
号線531 、141上の状態は1となシ、従って信号
線531を介してフリップフロップ51はリセットされ
る。
FIG. 3 is a block diagram showing an example of the circuit configuration of the control section 14 in FIG. 1. In FIG. 3, the control unit 1
4 comprises first and second AND gates 52 and 53 and a flip-flop 51. The flip-flop 51 is set depending on the content of the second specific field input to the wholesaler details 14 via the signal line 114, and the content of the second specific field is stored in the flip-flop 51. This flip-flop 51 is set when the state of the signal on the signal line 114 is 1, and is reset when the state of the output signal of the second AND gate 53 is 1. The second (7) A N D gate 53 opens only when a microinstruction step end instruction microinstruction of the macroinstruction appears on the signal line 202 and the flip-flop 51 is set. The states on 531 and 141 are 1, so the flip-flop 51 is reset via the signal line 531.

信号線202上に実行中のマクロ命令のマイクロステッ
プ終r指示マイクロ命令が到来し、制御部14に内蔵さ
れているフリップフロップ51の出力の状態が0である
と、第1のアドレス切替部15に対し2て制御部14か
ら信号線141を介して送出されている信号の状態け0
である。
When a micro-step end r instruction micro-instruction of the macro-instruction being executed arrives on the signal line 202 and the output state of the flip-flop 51 built in the control unit 14 is 0, the first address switching unit 15 2, the state of the signal sent from the control unit 14 via the signal line 141 is 0.
It is.

この場合、動作コードに第1の切替回路41によって選
択され、これによって第2の制御メモリ11がアクセス
される。ここで、第2の制御メモリ11から読出された
第2の特定ビットは命令準備ルーチンを表示しており、
信号線114上に送出された信号の状態は1となってい
る。いっぽう、第2の制御メモリ11の第1の特定フィ
ールドの内容は信号線111 、112’を介して読出
しレジスタ12に送出され、続出しレジスタ12に記憶
されると共に、信号線111 、113を介して第1の
アドレス切替部13にも送出されている。信号線114
上の信号の状態が1のときには、信号線142上の制御
信号に工り第1のアドレス切替部13は信号線111 
、113を介して入力された開始アドレスを選択してい
る。開始アドレスの選択が終了すると、第1のアドレス
切替部13を介して選択された開始アドレスは制御メモ
リアドレスレジスタ4に入力される。
In this case, the operation code is selected by the first switching circuit 41, thereby accessing the second control memory 11. Here, the second specific bit read from the second control memory 11 indicates an instruction preparation routine,
The state of the signal sent onto the signal line 114 is 1. On the other hand, the contents of the first specific field of the second control memory 11 are sent to the readout register 12 via signal lines 111 and 112' and stored in the readout register 12, and are also sent via signal lines 111 and 113. It is also sent to the first address switching unit 13. Signal line 114
When the state of the above signal is 1, the first address switching section 13 uses the control signal on the signal line 142 to switch to the signal line 111.
, 113 is selected. When the selection of the start address is completed, the start address selected via the first address switching unit 13 is input to the control memory address register 4.

上記動作に引続き、信号線141を介して制御部14か
ら第2のアドレス切替部15に選択信号が送出され、信
号線141上の信号の状態が1になる。この状態では第
2の切替回路42が選択され、信号線151を介して第
2の制御メモリ11がアクセスされる。この場合には、
第1の特定フィールドに格納されている開始アドレスが
信号線111 、112を介して読出しレジスタ12に
送出され、読出しレジスタ12に記憶される。そこで、
第1の制御メモリ2から出力信号線202に出力が送出
され、読出しレジスタ12を選択するマイクロ命令が制
御部14に送出された時、制御部14から信号線142
を介して選択信号が送出される。この選択信号に依って
続出しレジスタ12から送出されたアドレス情報が信号
線121を介して第1のアドレス切替部13に加えられ
る。
Following the above operation, a selection signal is sent from the control section 14 to the second address switching section 15 via the signal line 141, and the state of the signal on the signal line 141 becomes 1. In this state, the second switching circuit 42 is selected and the second control memory 11 is accessed via the signal line 151. In this case,
The start address stored in the first specific field is sent to the read register 12 via signal lines 111 and 112 and is stored in the read register 12. Therefore,
When an output is sent from the first control memory 2 to the output signal line 202 and a microinstruction for selecting the read register 12 is sent to the control section 14, the signal line 142 is sent from the control section 14.
A selection signal is sent out via. Address information sent from the successive register 12 in response to this selection signal is applied to the first address switching section 13 via the signal line 121.

そこで、送出されたアドレス情報に依り制御メモリアド
レスレジスタ4を介して第1の制御メモリ2がアクセス
される。この様にして、出力信号線202上に現れるマ
イクロ命令にエリ第1のアドレス切替部13の入力が選
択され、制御メモリアドレスレジスタ4に加えられるた
め、これによってマクロ命令の各ステツブが実行される
Therefore, the first control memory 2 is accessed via the control memory address register 4 according to the sent address information. In this way, the input of the first address switching unit 13 is selected for the microinstruction appearing on the output signal line 202 and added to the control memory address register 4, so that each step of the macroinstruction is executed. .

(発明の詳細な説明) 本発明は以上説明した様に、命令レジスタと、第1およ
び第2の制御メモリと、第1および第2のアドレス切替
部と、続出しレジスタと、制御メモリアドレスレジスタ
と、加算器と、マイクロ命令レジスタと、制御部とを具
備して構成したデータ処理装置において、第2の制御メ
モリに第1および第2の特定フィールドを設け、第1の
特定フィールドには必要な処理ルーチンを格納し、第2
の特定フィールドには第1の特定フィールドの内容を識
別し、これに裏って第2の制御メモリの開始アドレスを
選択的に使用できる様に構成したマイクロプログラム制
卸方式を採用することにより、第2の制御メモリのビッ
ト方向の容量を増加させることなく、また第1の制御メ
モリに格納されているマイクロプログラムの大きさを増
加させることもl〈マイクロプログラム制御を行うこと
ができると云う効果がある。
(Detailed Description of the Invention) As described above, the present invention includes an instruction register, first and second control memories, first and second address switching units, a continuation register, and a control memory address register. In a data processing device configured to include an adder, a microinstruction register, and a control unit, a second control memory is provided with first and second specific fields, and the first specific field contains necessary information. A second processing routine is stored.
By adopting a microprogram control method configured to identify the contents of the first specific field and selectively use the start address of the second control memory in the specific field, The effect of being able to perform microprogram control is to increase the size of the microprogram stored in the first control memory without increasing the bitwise capacity of the second control memory. There is.

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

第1図は本発明によるマイクロプログラム制御方式を実
現するためのデータ処理装置の一実施例を部分的に示す
ブロック図である。 第2図は第1図に示す第2のアドレス切替部の構成にお
ける一実施例を示すブロック図である。 第3図は第1図に示す制御部の構成における一実施例を
示すブロック図である。 1・・・命令レジスタ 2,11・・・制御メモリ3・
・・マイクロ命令レジスタ 4・・・制御メモリアドレスレジスタ 5・・・加算器  12・・・読出しレジスタ13 、
15・・・アドレス切替部  14・・・制御部41 
、42・・・切替回路 51・・・フリップフロップ 52 、53・・・ANDゲート 101〜103 、111〜114 、121 、13
1 、1.41 。 142 、151 、401〜403 、201〜20
4 、411 。 421 、501 、511 、531・・・信号線特
許出願人  日本電気株式会社 代理人 弁理士 井ノロ  壽 第1図 才2図 才3図 sj+
FIG. 1 is a block diagram partially showing an embodiment of a data processing device for realizing a microprogram control system according to the present invention. FIG. 2 is a block diagram showing an embodiment of the configuration of the second address switching section shown in FIG. 1. FIG. 3 is a block diagram showing one embodiment of the configuration of the control section shown in FIG. 1. 1...Instruction register 2, 11...Control memory 3.
...Microinstruction register 4...Control memory address register 5...Adder 12...Read register 13,
15...Address switching unit 14...Control unit 41
, 42...Switching circuit 51...Flip-flop 52, 53...AND gates 101-103, 111-114, 121, 13
1, 1.41. 142, 151, 401-403, 201-20
4, 411. 421, 501, 511, 531...Signal line patent applicant NEC Corporation agent Patent attorney Hisashi Inoro 1st figure 2nd figure 3rd figure sj+

Claims (1)

【特許請求の範囲】[Claims] 命令語を保持するための命令レジスタと、マイクロプロ
グラムを記憶するための第1の制御メモリと、前記第1
の制御メモリから読出されたマイクロ命令を保持するた
めのマイクロ命令レジスタと、次に実行すべきマイクロ
命令のアドレスを保持しておき、前記第1の制御メモリ
へこれを供給するための制御メモリアドレスレジスタと
、第1および第2の特定フィールドを含む第2の制御メ
モリと、前記第2の制御メモリの第1の特定フィールド
から読出されたアドレス情報を保持するための読出し7
レジスタと、少くとも前記第2の制御メモリの前記第1
の特定フィールドの内容と前記第1の特定フィールドの
内容を保持するための読出しレジスタの出力とを入力し
ていずれかを選択し、前記制御メモリアドレスレジスタ
に対して必要なアドレス情報を供給するための第1のア
ドレス切替部と、前記第2の制御メモリの前記第1の特
定フィールドの内容を読出すために、前記命令レジスタ
に保持されている動作コードと前記第2の制御メモリの
前記第2の特定フィールドの内容とによって決定された
条件に応じて選択的に必要なアドレス情報を前記第2の
制御メモリへ供給するための第2のアドレス切替部と、
前記制御メモリアドレスレジスタにセットされたアドレ
ス情報を1づつ増分するための加算器と、前記第1およ
び第2の制御メモリからの指示に基づいて前記第1およ
び第2のアドレス切替部を制御するための制御部とを具
備したデータ処理装置を使用し、これによって前記第1
の特定フィールドに必要な処理ルーチンのアドレスを格
納し、前記第2の特定フィールドに前記第1の特定フィ
ールドの内容を識別するための情報を保持して前記第2
の制御メモリにおける前記第1の特定フィールドの開始
アドレスを前記処理ルーチンに応じて選択できる様に構
成したことを特徴とするマイクロプログラム制御方式。
an instruction register for holding instruction words; a first control memory for storing a microprogram;
a microinstruction register for holding a microinstruction read from the control memory of the first control memory; and a control memory address for holding an address of a microinstruction to be executed next and supplying it to the first control memory. a second control memory comprising a register, a first and a second specific field, and a readout 7 for holding address information read from the first specific field of said second control memory;
a register and said first register of at least said second control memory;
and the output of a read register for holding the contents of the first specific field, and select one of them, and supply necessary address information to the control memory address register. and an operation code held in the instruction register and the first address switching section of the second control memory in order to read the contents of the first specific field of the second control memory. a second address switching unit for selectively supplying necessary address information to the second control memory according to a condition determined by the contents of the second specific field;
an adder for incrementing address information set in the control memory address register by 1; and controlling the first and second address switching units based on instructions from the first and second control memories. A data processing device equipped with a control unit for controlling the first
The second specific field stores the address of a necessary processing routine in a specific field, holds information for identifying the content of the first specific field in the second specific field, and
A microprogram control system, characterized in that the start address of the first specific field in the control memory of the microprogram is configured to be selectable according to the processing routine.
JP12925382A 1982-07-23 1982-07-23 Microprogram control system Granted JPS5920047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12925382A JPS5920047A (en) 1982-07-23 1982-07-23 Microprogram control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12925382A JPS5920047A (en) 1982-07-23 1982-07-23 Microprogram control system

Publications (2)

Publication Number Publication Date
JPS5920047A true JPS5920047A (en) 1984-02-01
JPS6362769B2 JPS6362769B2 (en) 1988-12-05

Family

ID=15004991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12925382A Granted JPS5920047A (en) 1982-07-23 1982-07-23 Microprogram control system

Country Status (1)

Country Link
JP (1) JPS5920047A (en)

Also Published As

Publication number Publication date
JPS6362769B2 (en) 1988-12-05

Similar Documents

Publication Publication Date Title
JPH0346850B2 (en)
KR920004279B1 (en) Microprocessor with Pointer Register
JPH0776932B2 (en) Data transmission method
JPH031231A (en) Microprogram controller
US5564057A (en) Microprocessor architecture which facilitates input/output utilizing pairs of registers which the same address
EP0325226A2 (en) Information processing apparatus and method
JPS6362769B2 (en)
JP2847863B2 (en) Microprocessor interrupt control method
JPS586970B2 (en) ROM address sequence control method
JPS6320631A (en) Register selecting system
JP2635169B2 (en) Micro program controller
JPS6148735B2 (en)
JPS59186048A (en) Microprogram control system
JPS6161139B2 (en)
JPS60181859A (en) Control system of collected channel
JPS6112577B2 (en)
JPS5998253A (en) Microprogram controller
JPS59148957A (en) Microprogram control system
JPS6058493B2 (en) information processing equipment
JPS60105045A (en) data processing equipment
JPS62221030A (en) Microprogram control system
JPH03257572A (en) Multiprocessor system
JPH0133852B2 (en)
JPS6115256A (en) Input and output controller
JPS63317857A (en) Memory access circuit