JPS6051736B2 - information processing equipment - Google Patents

information processing equipment

Info

Publication number
JPS6051736B2
JPS6051736B2 JP6603978A JP6603978A JPS6051736B2 JP S6051736 B2 JPS6051736 B2 JP S6051736B2 JP 6603978 A JP6603978 A JP 6603978A JP 6603978 A JP6603978 A JP 6603978A JP S6051736 B2 JPS6051736 B2 JP S6051736B2
Authority
JP
Japan
Prior art keywords
control
memory
microinstruction
address
storage means
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
Application number
JP6603978A
Other languages
Japanese (ja)
Other versions
JPS54157054A (en
Inventor
真次 稲垣
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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP6603978A priority Critical patent/JPS6051736B2/en
Publication of JPS54157054A publication Critical patent/JPS54157054A/en
Publication of JPS6051736B2 publication Critical patent/JPS6051736B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明はマイクロ命令により制御を行なう情報処理装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing device that is controlled by microinstructions.

制御記憶装置を有する情報処理装置においては装置使用
者、プログラマおよび保守者等からの機能拡大の要求に
応えるため、制御記憶を大容量化しなくてはならない傾
向にあり、これに伴なう制御記憶装置の高価格化および
全情報処理装置に占める物理的割合の増大の問題が深刻
となつている。
In information processing devices that have a control memory device, there is a tendency for the control memory to have a larger capacity in order to meet the demands for expanded functionality from device users, programmers, maintenance personnel, etc. The problem of the rising cost of devices and the increasing proportion of physical devices in all information processing devices has become serious.

この問題を解決するために、制御記憶を書き換え可能と
し、動的に書換え(以下、オーバレイと称する)を行な
い、書き換えたマイクロ命令により制御を行なうことに
より、制御記憶の容量の縮少が可能となり、あるいは容
量の増大の防止が可能となる。従来、前述の制御記憶の
書き換えの手段として次のような方式が採用されている
To solve this problem, the capacity of the control memory can be reduced by making the control memory rewritable, dynamically rewriting it (hereinafter referred to as overlay), and controlling with the rewritten microinstructions. Alternatively, it becomes possible to prevent an increase in capacity. Conventionally, the following method has been adopted as a means for rewriting the aforementioned control memory.

(1)オペレータの介入による方式 (2)動的書換え用の特殊な命令による方式(1)の方
式ではオペレータが介入するため、すみやかに書換えを
行なうことが困難であり、(2)の方式では主記憶上に
格納されている情報を使用するときには、動的書換え用
の特殊命令を実行しなければならず、ソフトウェア上で
の制御記憶の管理が必要となり、取り扱いが複雑になる
という欠点がある。
(1) Method using operator intervention (2) Method using special commands for dynamic rewriting In method (1), the operator intervenes, making it difficult to perform rewriting quickly; When using information stored in main memory, special instructions for dynamic rewriting must be executed, and control memory management in software is required, making handling complicated. .

本発明の目的は使用頻度の低い命令を主記憶に記憶し必
要に応じてすみやかに制御記憶に動的に書換える情報処
理装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an information processing device that stores infrequently used instructions in main memory and dynamically rewrites them in control memory as needed.

本発明の装置は、命令により指定された記憶位置にアド
レスと書換え指定情報とを記憶する第1Jの記憶手段と
、この第1の記憶手段から与えられたアドレスに対応し
たアドレスにマイクロ命令を格納するマイクロ命令格納
手段と、このマイクロ命令格納手段に格納されたマイク
・口命令に対する書換え用のマイクロ命令を前記第1の
記憶手段から与えられたアドレスに対応した指定された
アドレスに格納する第2の記憶手段と前記第1の記憶手
段から与えられる書換え指定情報にもとづいて前記マイ
クロ命令格納手段に格納されたマイクロ命令を実行する
か前記第2の記憶手段に格納したマイクロ命令を前記マ
イクロ命令格納手段に書換えた後にこの書換えたマイク
ロ命令を実行するかを決定する手段とから構成されてい
る。
The device of the present invention includes a first J storage means for storing an address and rewriting designation information in a storage location specified by an instruction, and a microinstruction for storing a microinstruction at an address corresponding to the address given from the first storage means. a second micro-instruction storage means for storing a micro-instruction for rewriting the microphone/mouth command stored in the micro-instruction storage means at a designated address corresponding to the address given from the first storage means; The micro-instruction stored in the micro-instruction storage means is executed based on the rewriting designation information given from the storage means and the first storage means, or the micro-instruction stored in the second storage means is executed. and means for determining whether to execute the rewritten microinstruction after rewriting the rewritten microinstruction.

本発明の特徴は命令コードから制御記憶アドレスへの変
換作業を行なうメモリ手段をより効果的に用いて動的に
書換えを行なうようにしたことにある。
A feature of the present invention is that memory means for converting instruction codes into control storage addresses is used more effectively to perform dynamic rewriting.

次に本発明について図面を参照して説明する。Next, the present invention will be explained with reference to the drawings.

第1図は主記憶上のマイクロプログラム領域40と、該
領域40の制御記憶50上への割り当ての関係を示して
いる。つまり、主記憶上のマイクロプログラム領域40
は、マイクロプログラムのアツセンブル時に使用頻度に
応じて、大きく二つの部分に分類されている。一つは使
用頻度の高い部分41で、一般命令、制御の核となる部
分、およびマイクロプログラム化されたオペレーティン
グシステム等からなり、後述の制御記憶50の常駐部5
1に初期格納される。他の一つは、使用頻度−のより低
い部分42で、保守用の特殊命令、デバッグ用特殊命令
、およびユーザ用特殊命令等からなり、前述の動的書換
え用特殊命令またはオペレータにより、後述する制御記
憶50の非常駐部51に格納され、あるいは制御記憶書
込み回路を用,いて格納された後、実行される。さらに
、この使用頻度の低い部分42は、いくつかの部分に、
命令の種類、使用頻度等に応じて分割されており、これ
らの部分毎に制御記憶50の非常駐部52への格納領域
が定められている。また、制御記憶も大きく二つの部分
に分けられている。
FIG. 1 shows the relationship between the microprogram area 40 on the main memory and the allocation of the area 40 onto the control memory 50. In other words, the microprogram area 40 on the main memory
is broadly classified into two parts depending on the frequency of use when assembling a microprogram. One is the frequently used part 41, which consists of general instructions, a control core part, a microprogrammed operating system, etc., and is a resident part 5 of the control memory 50, which will be described later.
It is initially stored at 1. The other part is a less frequently used part 42, which consists of special instructions for maintenance, special instructions for debugging, special instructions for users, etc. It is executed after being stored in the non-resident part 51 of the control memory 50 or by using the control memory write circuit. Furthermore, this infrequently used part 42 is divided into several parts.
It is divided according to the type of command, frequency of use, etc., and a storage area in the non-resident part 52 of the control memory 50 is determined for each of these parts. Control memory is also broadly divided into two parts.

一つは前述した主記憶上のマイクロプログラム領域のう
ち、使用頻度の高い部分がロードされる常駐部51であ
り、一つは使用頻度の低い部分力殆−ドされる非常駐部
52である。常駐部.゛51は常に制御記憶上に存在し
、非常駐部52は必要に応じて書換えられる。さらに、
該非常駐部52はいくつかの部分に分割されており、該
部分毎に、前述したように主記憶マイクロプログラム領
域のいくつかの使用頻度の低い部分42に対応・してい
る。第2図は本発明の一実施例を示す図である。
One is a resident section 51 into which frequently used portions of the microprogram area on the main memory are loaded, and the other is a non-resident section 52 into which less frequently used sections are loaded. Resident department. 51 always exists in the control memory, and the non-resident part 52 is rewritten as necessary. moreover,
The non-resident area 52 is divided into several parts, each of which corresponds to some less frequently used parts 42 of the main memory microprogram area, as described above. FIG. 2 is a diagram showing an embodiment of the present invention.

第2図の本発明の装置は命令レジスタ1、命令コードか
ら制御記憶アドレスへの変換作業を行なうメモリ手段2
、制御を選択するためのゲート3、制御記憶の書込みア
ドレスを指定するためのデコーダ4、制御記憶の書込み
アドレスレジスタ5、このアドレスレジスタ5の内容を
+1する計数器6主記憶アドレス制御回路7、主記憶ア
ドレスレジスタ8、制御記憶アドレスレジスタ9、この
アドレスレジスタ9の入力を選択するスイッチ10、ア
ドレスレジスタ9の内容を+1する計数器11主記憶1
2、制御記憶書込み回路13、制御記憶1牡制御記憶デ
ータレジスタ15およびこのデータレジスタ15の出力
を制御信号に変換するためのデコーダ16から構成され
ている。次に第2図を用いて動作を説明する。
The apparatus of the invention shown in FIG.
, a gate 3 for selecting control, a decoder 4 for specifying the write address of the control memory, a write address register 5 for the control memory, a counter 6 for incrementing the contents of this address register 5 by 1, a main memory address control circuit 7, Main memory address register 8, control memory address register 9, switch 10 for selecting the input of this address register 9, counter 11 for adding 1 to the contents of address register 9, main memory 1
2, a control memory write circuit 13, a control memory 1, a control memory data register 15, and a decoder 16 for converting the output of the data register 15 into a control signal. Next, the operation will be explained using FIG. 2.

まず命令レジスタ1に準備された命令の命令コードによ
り指定されたメモリ手段2の記憶位置から読み出された
語の制御選択ビットの値により、以下の動作は二つの場
合に分けられる。(1)制御選択ビットの値21が論理
“0゛のときこの場合、ゲート3の指示31により、メ
モリ手段2から読み出された語情報は、スイッチ10を
介して、制御記憶アドレスレジスタ9に与えられる。こ
の制御記憶アドレスレジスタ9のアドレスにより制御記
憶14から読み出されたマイクロ命令が制御記憶データ
レジスタ15に格納され、デコーダ16により制御信号
および制御記憶アドレス161等に変換される。マイク
ロ命令の実行が順に行なわれるときには、計数器11に
より制御記憶アドレスレジスタ9の内容が+1され、マ
イクロ命令により分岐が行なわれるときにはデコーダ1
6で解読された次に実行すべき制御記憶アドレス161
が制御記憶アドレスレジスタ9に格納され、このアドレ
スのマイクロ命令が実行される。このようにして次々に
マイクロ命令が実行される。(2)制御選択ビットの値
21が論理゛゜1゛のとき前述のメモリ手段2から与え
られた語情報の制御選択ビットの値21が論理“1゛の
ときは、ゲート3の指示32により、この語情報は、一
部はデコーダ4に与えられ、一部は主記憶アドレスレジ
スタ8に与えられる。
First, the following operation is divided into two cases depending on the value of the control selection bit of the word read from the storage location of the memory means 2 specified by the instruction code of the instruction prepared in the instruction register 1. (1) When the value 21 of the control selection bit is logic “0” In this case, the word information read out from the memory means 2 by the instruction 31 of the gate 3 is transferred to the control storage address register 9 via the switch 10. A microinstruction read from the control memory 14 using the address of the control storage address register 9 is stored in the control storage data register 15, and converted by the decoder 16 into a control signal, a control storage address 161, etc. are executed in sequence, the contents of the control storage address register 9 are incremented by 1 by the counter 11, and when a branch is executed by a microinstruction, the contents of the decoder 1 are incremented by 1.
Control memory address 161 to be executed next decoded in step 6
is stored in the control storage address register 9, and the microinstruction at this address is executed. In this way, microinstructions are executed one after another. (2) When the value 21 of the control selection bit is logic "1" When the value 21 of the control selection bit of the word information given from the memory means 2 is logic "1", according to the instruction 32 of the gate 3, A part of this word information is given to the decoder 4 and a part to the main memory address register 8.

デコーダ4に与えられた情報22は後述の主記憶12上
のマイクロプログラム領域より書換えられるべき制御記
憶14上の指定アドレスに変換される。このアドレスは
第1図で示したように命令の種類および使用頻度に応じ
て、あらかじめ各命令群毎に制御記憶12への格納領域
が決定されている。デコーダ4で変換されたアドレスは
制御記憶書込みアドレスレジスタ5に与えられるととも
にスイッチ10を介して制御記憶アドレスレジスタ9に
も与えられる。一方主記憶アドレスレジスタ8に与えら
れた情報は主記憶アドレス制御回路7により、主記憶装
置12のマイクロプログラムが格納されている領域の先
頭アドレスに変換される。そして該アドレスを先頭とし
て、制御記憶書込み回路13により、主記憶書込み回路
13により、主記憶情報121が読み出され、制御記憶
書込みアドレスレジスタ5によりアドレスされる制御記
憶14上に書き込まれる。そして制御記憶書き込みアド
レスレジスタ5の内容が計数器6により+1されてさら
に主記憶情報が制御記憶14上に書込まれる。これを繰
り返して主記憶12上のマイクロプログラムが制御記憶
14上に書き込まれる。一律の指定された量の制御記憶
の書込みが終了すると、制御記憶アドレスレジスタ9に
よりアドレスされる制御記憶14からマイクロ命令が読
み出され前述した(1)の場合と同様の制御が行なわれ
る。このように、使用頻度の低い命令のマイクロプログ
ラムを主記憶12に記憶し、制御選択ビットの値21に
より必要に応じて制御記憶14上に書換えて実行するこ
とができる。
The information 22 given to the decoder 4 is converted from a microprogram area on the main memory 12, which will be described later, to a specified address on the control memory 14 to be rewritten. As shown in FIG. 1, the storage area of this address in the control memory 12 is determined in advance for each instruction group according to the type and frequency of use of the instruction. The address converted by the decoder 4 is applied to the control storage write address register 5 and also to the control storage address register 9 via the switch 10. On the other hand, the information given to the main memory address register 8 is converted by the main memory address control circuit 7 into the start address of the area of the main memory 12 where the microprogram is stored. Starting from this address, the main memory information 121 is read out by the control memory write circuit 13 and written onto the control memory 14 addressed by the control memory write address register 5. Then, the contents of the control memory write address register 5 are incremented by 1 by the counter 6, and further main memory information is written onto the control memory 14. By repeating this process, the microprogram in the main memory 12 is written into the control memory 14. When writing of a uniformly specified amount of control memory is completed, a microinstruction is read from the control memory 14 addressed by the control memory address register 9, and the same control as in case (1) described above is performed. In this way, a microprogram with instructions that are used infrequently is stored in the main memory 12, and can be rewritten on the control memory 14 and executed as necessary depending on the value 21 of the control selection bit.

このような動的書換え機能を追加することにより制御記
憶の容量を増加することなしに、機能の拡大を可能とし
または制御記憶の容量を縮少することが可能となる。本
発明には命令コードから制御記憶アドレスへの変換作業
を行なうメモリ手段の効果的利用により動的書換えを可
能にし実行できるという効果がある。
By adding such a dynamic rewrite function, it becomes possible to expand the functionality or reduce the capacity of the control memory without increasing the capacity of the control memory. The present invention has the advantage that dynamic rewriting can be performed by effectively utilizing the memory means for converting instruction codes into control storage addresses.

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

第1図は本発明の制御記憶と主記憶との格納領域の関係
を示す図および第2図は本発明の一実施例を示す図であ
る。 第2図において、1・・・・・命令レジスタ、2・・・
メモリ手段、3・・・・・・ゲート、4・・・・・・デ
コーダ、5・・制御記憶書込みアドレスレジスタ、6・
・・・・・計数器、7・・・・・・主記憶アドレス制御
回路、8・・・・・・主l記憶アドレスレジスタ、9・
・・・・・制御記憶アドレスレジスタ、10・・・・・
スイッチ、11・・・・・計数器、12・・・・・・主
記憶、13・・・・・制御記憶書込み回路、14・・・
・・制御記憶、15・・・・・制御記憶データレジスタ
、16・・・・・・デコーダ。
FIG. 1 is a diagram showing the relationship between storage areas of a control memory and a main memory according to the present invention, and FIG. 2 is a diagram showing an embodiment of the present invention. In FIG. 2, 1...instruction register, 2...
Memory means, 3...gate, 4...decoder, 5...control storage write address register, 6...
... Counter, 7 ... Main memory address control circuit, 8 ... Main memory address register, 9.
...Control storage address register, 10...
Switch, 11...Counter, 12...Main memory, 13...Control memory writing circuit, 14...
...Control memory, 15...Control memory data register, 16...Decoder.

Claims (1)

【特許請求の範囲】[Claims] 1 命令により指定された記憶位置にアドレスと書換え
指定情報とを記憶する第1の記憶手段と、この第1の記
憶手段から与えられたアドレスに対応したアドレスにマ
イクロ命令を格納するマイクロ命令格納手段と、このマ
イクロ命令格納手段に格納されたマイクロ命令に対する
書換え用のマイクロ命令を前記第1の記憶手段から与え
られたアドレスに対応したアドレスに格納する第2の記
憶手段と、前記第1の記憶手段から与えられる書換え指
定情報にもとづいて前記マイクロ命令格納手段に格納さ
れたマイクロ命令を実行するか前記第2の記憶手段に格
納したマイクロ命令を前記マイクロ命令格納手段に書き
換えた後にこの書き換えたマイクロ命令を実行するかを
決定する手段とから構成されたことを特徴とする情報処
理装置。
1. A first storage means for storing an address and rewriting designation information in a storage location specified by an instruction, and a microinstruction storage means for storing a microinstruction at an address corresponding to the address given from the first storage means. a second storage means for storing a microinstruction for rewriting the microinstruction stored in the microinstruction storage means at an address corresponding to the address given from the first storage means; and the first storage means. The microinstruction stored in the microinstruction storage means is executed based on the rewriting designation information given from the means, or the microinstruction stored in the second storage means is rewritten into the microinstruction storage means and then the rewritten microinstruction is executed. 1. An information processing device comprising means for determining whether to execute an instruction.
JP6603978A 1978-05-31 1978-05-31 information processing equipment Expired JPS6051736B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6603978A JPS6051736B2 (en) 1978-05-31 1978-05-31 information processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6603978A JPS6051736B2 (en) 1978-05-31 1978-05-31 information processing equipment

Publications (2)

Publication Number Publication Date
JPS54157054A JPS54157054A (en) 1979-12-11
JPS6051736B2 true JPS6051736B2 (en) 1985-11-15

Family

ID=13304334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6603978A Expired JPS6051736B2 (en) 1978-05-31 1978-05-31 information processing equipment

Country Status (1)

Country Link
JP (1) JPS6051736B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58168147A (en) * 1982-03-30 1983-10-04 Toshiba Corp Information processor
JPS609234A (en) * 1983-06-28 1985-01-18 Matsushita Electric Ind Co Ltd Selective call receiver with display

Also Published As

Publication number Publication date
JPS54157054A (en) 1979-12-11

Similar Documents

Publication Publication Date Title
JPS6122817B2 (en)
JPH09128267A (en) Data processor and data processing method
JPS6051736B2 (en) information processing equipment
US6182207B1 (en) Microcontroller with register system for the indirect accessing of internal memory via auxiliary register
JPH0410081B2 (en)
JPS6148735B2 (en)
JPS6138496B2 (en)
JPS595496A (en) Memory protect system
JPS6125168B2 (en)
KR100654477B1 (en) Object oriented processing with dedicated pointer memories
JPS6148741B2 (en)
JPS6348698A (en) Memory storage control device
JPH11259308A (en) Programmable controller
JPH0158522B2 (en)
JPS63228332A (en) Control system for executing instruction
JPS6046747B2 (en) Initial program loading method
JP2000172574A (en) Information processor
JPH0376503B2 (en)
JPS5842487B2 (en) Program loading method
JPS6325372B2 (en)
JPS61169937A (en) Expansion system of microprocessor instruction
JPH0222415B2 (en)
JPH01300352A (en) Dump area instruction control system
JPH1165829A (en) Address conversion circuit
JP2000353359A (en) Storage device initializing method