JPS60225253A - Information processing device - Google Patents

Information processing device

Info

Publication number
JPS60225253A
JPS60225253A JP59081585A JP8158584A JPS60225253A JP S60225253 A JPS60225253 A JP S60225253A JP 59081585 A JP59081585 A JP 59081585A JP 8158584 A JP8158584 A JP 8158584A JP S60225253 A JPS60225253 A JP S60225253A
Authority
JP
Japan
Prior art keywords
instruction
register
control
microprogram
read
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
JP59081585A
Other languages
Japanese (ja)
Other versions
JPH0778730B2 (en
Inventor
Atsushi Iwata
淳 岩田
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 JP59081585A priority Critical patent/JPH0778730B2/en
Priority to US06/726,440 priority patent/US4691278A/en
Priority to EP85104935A priority patent/EP0159699A3/en
Publication of JPS60225253A publication Critical patent/JPS60225253A/en
Publication of JPH0778730B2 publication Critical patent/JPH0778730B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To start a microprogram in accordance with each system architecture by preparing instruction control information corresponding to an instruction code for each of plural system architectures. CONSTITUTION:A system firmware which controls an instruction control arithmetic unit 3 recognizes an architecture to set a corresponding bit of a mode register 305 to ''1'' before an instruction firmware starts execution. Then, a selecting circuit 304 selects the output of a read register 303a from outputs of read registers 303. That is, address data read out from a compartment 302a of a control memory 302 is selected. When the instruction is stored in an instruction register 301 and is started, contents of a read register 303b are set to an address register 306, and a microprogram is read out from a control store 307, and the execution is started.

Description

【発明の詳細な説明】 発明の属する技術分野 本発明は、情報処理装置におけるマイクロプロラム制御
に関し、特に複数のシステムアーキテクチャ−に従って
動作することが可能なマイクロプログラム制御方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to microprogram control in an information processing device, and more particularly to a microprogram control method capable of operating according to a plurality of system architectures.

従来技術 従来の情報処理装置は、1つのシステムアーキテクチャ
−に従って動作するように設計され、1つのオペレーテ
ィングシステム(OS)がマシンを占有して走行してい
た。近年、1つのマシン上に複数のオペレーティングシ
ステムを走行させる形態で、各オペレーティングシステ
ムに対してマシンを仮想的に見せ、各オペレーティング
システムがそれぞれマシンを占有しているように制御す
る仮想マシンという概念が生まれている。
Prior Art Conventional information processing devices are designed to operate according to one system architecture, and one operating system (OS) runs exclusively on the machine. In recent years, the concept of a virtual machine has been introduced, which allows multiple operating systems to run on a single machine, making the machine appear virtual to each operating system, and controlling each operating system as if it were its own machine. being born.

仮想マシンでは、各オペレーティングシステムがそれぞ
れ異なるシステムアーキテクチャ−に従うため、仮想マ
シンを実現するための情報処理装置は、複数の異なるシ
ステムアーキテクチャ−を満足するように、ハードウェ
アおよびファームウェアを構成しなければならない、し
々)し、各システムアーキテクチャ−に規定される命令
体系において、命令の命令コードは命令の機能とは無関
係に付与されているので、命令コード対応に一律に起動
するマイクロプログラムを決定して命令を処理するよう
な従来の情報処理装置では、各オペレーティングシステ
ムがマシンを占有するごとにマイクロプログラムの配列
を変更しなければならないという欠点が生じる。
In a virtual machine, each operating system follows a different system architecture, so the information processing device that implements the virtual machine must have hardware and firmware configured to satisfy multiple different system architectures. However, in the instruction system specified for each system architecture, the instruction code of the instruction is assigned regardless of the function of the instruction, so the microprogram to be uniformly activated is determined according to the instruction code. Conventional information processing devices that process instructions have the disadvantage that the arrangement of microprograms must be changed each time an operating system occupies the machine.

発明の目的 本発明の目的は、上述の従来の欠点を解決し、あらかじ
め複数のシステムアーキテクチャ−ごとに命令コードに
対応した命令制御情報を用意しておいて、システムファ
ームウェアがシステムアーキテクチャ−モードを管理し
て、各システムアーキテクチャ−に応じたマイクロプロ
グラムの起動を可能として、複数のシステムアーキテク
チャ−に従うことができる情報処理装置を提供すること
にある。
OBJECTS OF THE INVENTION An object of the present invention is to solve the above-mentioned conventional drawbacks, and to prepare instruction control information corresponding to instruction codes for each of a plurality of system architectures in advance so that the system firmware manages system architecture modes. The object of the present invention is to provide an information processing device that can comply with a plurality of system architectures by making it possible to start a microprogram according to each system architecture.

発明の構成 本発明の情報処理装置は、命令コードで読出しアドレス
指定される複数のコンパートメントのそれぞれに複数の
アーキテクチャ−における各命令コード対応にマイクロ
プログラムの起動アドレス等を格納した制御メモリと、
一連のマイクロ命令から構成される複数のマイクロプロ
グラムを格納した制御ストアと、該制御ストアの出力情
報により複数のシステムアーキテクチャ−のうちのどれ
に従うかを指定するシステム管理情報を格納するモード
レジスタと、該モードレジスタの出力によって前記制御
メモリの複数のコンパートメントから出力される複数の
アドレス情報等を択一的に選択して前記制御ストアの読
出しアドレス信号等を出力する選択回路とを備えて、複
数のシステムアーキテクチャ−のサポートが可能なマイ
クロプロダラム制御を行なうことを特徴とする。
Structure of the Invention The information processing apparatus of the present invention includes a control memory storing a microprogram start address, etc. corresponding to each instruction code in a plurality of architectures in each of a plurality of compartments read and addressed by the instruction code;
a control store storing a plurality of microprograms consisting of a series of microinstructions; a mode register storing system management information specifying which of the plurality of system architectures is to be followed based on output information of the control store; a selection circuit that selectively selects a plurality of address information, etc. output from a plurality of compartments of the control memory according to the output of the mode register, and outputs a read address signal, etc. of the control store; It is characterized by performing microprogram control that can support system architecture.

発明の実施例 1 次に、本発明について、図面を参照して詳細に説明する
Embodiment 1 of the Invention Next, the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

すなわち、命令語は、主記憶装置lから記憶制御ユニッ
ト2を介して命令制御演算ユニット3に読出され、命令
制御演算ユニット3内の命令レジスタ301 に格納さ
れる。8ビツトの命令コード 301aは、命令レジス
タ301の一部に格納される。命令レジスタ301に格
納された命令コード 301aは、制御メモリ302の
読出しアドレス信号として使用される。
That is, the instruction word is read from the main memory device 1 via the storage control unit 2 to the instruction control arithmetic unit 3 and stored in the instruction register 301 in the instruction control arithmetic unit 3. An 8-bit instruction code 301a is stored in a part of the instruction register 301. The instruction code 301a stored in the instruction register 301 is used as a read address signal for the control memory 302.

制御メモリ302は、4つのコンパートメント302a
〜302dを持ち、各コンパートメントには、それぞれ
各システムアーキテクチャ−の命令コードに対応して起
動すべきマイクロプログラムの起動アドレスをあらかじ
め記憶させておく。コンパートメント302aは、16
ビツト×256ワードの容量を持ち、システムアーキテ
クチャ−Aの命令コードに対応する命令制御情報、例え
ばマイクロプログラムの起動アドレス等が格納される。
Control memory 302 has four compartments 302a
~ 302d, and in each compartment, the activation address of the microprogram to be activated is stored in advance in correspondence with the instruction code of each system architecture. Compartment 302a has 16
It has a capacity of 256 bits x 256 words, and stores instruction control information corresponding to the instruction code of system architecture-A, such as the starting address of a microprogram.

コンパートメント302b〜302dには、それぞれシ
ステムアーキテクチャ−B−Dの命令コード対応にマイ
クロプログラムの起動アドレス等が格納されている。読
出しレジスタ303は16ビツト×4のレジスタで、4
つの読出しレジスタ303a〜303dから構成され、
コンバートメン) 302a〜302dの出力(各16
ビツト)を格納する。読出しレジスタ303a〜303
dの出力は、4人カl出力の選択回路304に入力され
1選択回路304はモードレジスタ305の指示により
上記4つの入力を枳−的に選択出力してアドレスレジス
タ30Bにセットする。アドレスレジスタ30Bは、1
6ビツトのレジスタで、選択回路304の出力を格納し
、これを制御ストア307の読出しアドレス信号として
出力する。
The compartments 302b to 302d store microprogram startup addresses and the like corresponding to the instruction codes of the system architecture B to D, respectively. The read register 303 is a 16-bit x 4 register.
Consisting of two read registers 303a to 303d,
Converter) 302a to 302d output (each 16
bits). Read registers 303a-303
The output of d is input to a four-person output selection circuit 304, and the one selection circuit 304 automatically selects and outputs the four inputs according to instructions from the mode register 305 and sets it in the address register 30B. Address register 30B is 1
A 6-bit register stores the output of the selection circuit 304 and outputs it as a read address signal for the control store 307.

モードレジスタ305は、第2図に示すような4ビツト
のレジスタであり、各ビットには、システムアーキテク
チャ−A−Dのうちいずれを指定するかという情報が格
納される。アーキテクチャ−Aに従って動作するときは
第3図(A)に示すようにビット0が“l”にセットさ
れ、アーキテクチャ−B−Dに従うときは、それぞれ同
図(B)〜(D)に示すように、ビット1〜3が“1′
”にセットされる。この情報は制御ストア307の読出
しレジスタ308の出力で変更することができる。
The mode register 305 is a 4-bit register as shown in FIG. 2, and each bit stores information indicating which of system architectures A to D is specified. When operating according to architecture-A, bit 0 is set to "l" as shown in FIG. 3(A), and when operating according to architecture-B-D, as shown in FIG. 3(B) to (D), respectively. , bits 1 to 3 are “1”
”. This information can be changed at the output of the read register 308 of the control store 307.

すなわち、システムファームウェアによって設定される
。また、モードレジスタ305の内容は、命令制御演算
ユニット3のハードウェアおよびファームウェアから何
時でも参照することが可能である。
That is, it is set by the system firmware. Furthermore, the contents of the mode register 305 can be referenced by the hardware and firmware of the instruction control arithmetic unit 3 at any time.

制御ストア307には、各種マイクロプログラムが格納
されており、その出力は読出しレジスタ308に格納さ
れ、読出しレジスタ308の出力によって命令制御演算
ユニット3内の図示されない各部が制御され、マイクロ
プログラムが実行される。また、その1部はモードレジ
スタ305の内容の変更に使用される。
Various microprograms are stored in the control store 307, and the output thereof is stored in a read register 308. The output of the read register 308 controls each part (not shown) in the instruction control arithmetic unit 3, and the microprogram is executed. Ru. Further, a part of it is used to change the contents of the mode register 305.

次に、本実施例の動作について説明する0本装置がシス
テムアーキテクチャ−A−Dに従って動作するとき、命
令制御演算ユニット3を制御するシステムファームウェ
アは、命令ファームウェアが実行を開始する前に、どの
アーキテクチャ−かを認識してモードレジスタ305の
対応するビットを“t ”にセットする。
Next, we will explain the operation of this embodiment. When this device operates according to system architectures A to D, the system firmware that controls the instruction control arithmetic unit 3 determines which architecture - is recognized and the corresponding bit of mode register 305 is set to "t".

今、例えば、システムアーキテクチャ−Bに従うオペレ
ーティングシステムが走行するときは、システムファー
ムウェアがそれを認識すると、第3図(B)に示すよう
にモードレジスタ305のビット1を′1”にセットす
る。これにより、選択回路304は読出しレジスタ30
3の出力のうち、読出しレジスタ303aを選択する。
Now, for example, when an operating system according to system architecture-B is running, the system firmware recognizes this and sets bit 1 of the mode register 305 to '1' as shown in FIG. 3(B). Accordingly, the selection circuit 304 selects the read register 30
Out of the three outputs, the read register 303a is selected.

すなわち、制御メモリ302のうち、コンバートメン)
 302aから読出されたアドレスデータを選択する。
In other words, among the control memory 302, the conversion member)
The address data read from 302a is selected.

制御メモリ302の各コンパートメント302a〜30
2dには、それぞれアーキテクチャ−A−Dにおける命
令コード対応のマイクロプログラム起動アドレスADD
(A)〜ADD (D)が格納されている(第4図参照
)。
Each compartment 302a-30 of control memory 302
2d are microprogram start addresses ADD corresponding to instruction codes in architectures A to D, respectively.
(A) to ADD (D) are stored (see FIG. 4).

従って、命令語が命令レジスタ301に格納されると、
命令コード30!aで制御メモリ302のアドレスが指
定され、制御メモリ302の各コンパートメントから上
記アドレスの内容が読出されて読出しレジスタ303に
セットされ、選択回路304によって読出しレジスタ3
03bが選択出力される。そして、命令が起動されると
、読出しレジスタ303bの内容がアドレスレジスタ3
08にセットされ、制御ストア307の該当アドレスか
らマイクロプログラムが読出されてマイクロプログラム
が実行を開始し、以後走行するオペレーティングシステ
ムが替るまで、本装置はシステムアーキテクチャ−Bに
従うマシンとして運転される。走行するオペレーティン
グシステムが替るときは、再びシステムファームウェア
がモードレジスタ305の対応するビットに“1″をセ
ットし、上述と同様にして任意のオペレーティングシス
テムの命令コードに対応して制御ストア307からマイ
クロプログラムを読出すことにより、任意のシステムア
ーキテクチャ−に従うマシンとして動作する。
Therefore, when an instruction word is stored in the instruction register 301,
Instruction code 30! The address of the control memory 302 is specified in step a, the contents of the address are read from each compartment of the control memory 302 and set in the read register 303, and the selection circuit 304 selects the contents of the read register 303.
03b is selectively output. Then, when the instruction is activated, the contents of the read register 303b are changed to the address register 3.
08, the microprogram is read from the corresponding address in the control store 307, the microprogram starts execution, and the device is operated as a machine according to system architecture-B until the running operating system is changed. When the running operating system changes, the system firmware again sets the corresponding bit in the mode register 305 to "1" and reads the microprogram from the control store 307 in response to the instruction code of any operating system in the same manner as described above. By reading , it operates as a machine following any system architecture.

発明の効果 以上のように1本発明においては、複数のシステムアー
キテクチャ−に対応して、ぞれぞれの命令コード対応に
マイクロプログラム起動アドレス等の命令制御情報を格
納した制御メモリと、該制御メモリの出力を択一的に選
択する選択回路とを備えて、走行するオペレーティング
システムのシステムアーキテクチャ−に対応して前記制
御メモリから命令コードに対応するマイクロプログラム
の起動アドレスを読出して、該アドレスによってマイク
ロプログラムを実行するように構成したから、複数のシ
ステムアーキテクチャ−をサポートできるマイクロプロ
グラム制御が可能となるという効果がある。
Effects of the Invention As described above, the present invention provides a control memory that stores instruction control information such as a microprogram start address corresponding to each instruction code, and a control memory that corresponds to a plurality of system architectures. a selection circuit that selectively selects the output of the memory, reads out a starting address of the microprogram corresponding to the instruction code from the control memory in accordance with the system architecture of the running operating system, and reads out the starting address of the microprogram corresponding to the instruction code from the control memory; Since it is configured to execute microprograms, it has the effect of enabling microprogram control that can support a plurality of system architectures.

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

第1図は本発明の一実施例を示すブロック図、第2図は
上記実施例のモードレジスタを示す図、第3図(A)〜
(D)はそれぞれシステムアーキテクチャ−A−Dに従
って動作するときのモードレジスタのセット情報を示す
図、第4図は制御メモリの各コンパートメントの内容を
示す図である。 図において、l:主記憶装置、2:記憶制御ユニット、
3:命令制御演算ユニット、301:命令レジスタ、3
01a :命令コード、302:制御メモリ、302a
 〜302d : =Iンパートメント、303,30
3a 〜303d:読出しレジスタ、304:選択回路
、305:モードレジスタ、306:アドレスレジスタ
、307:制御ストア、308:読出しレジスタ。 出願人 日本電気株式会社 代理人 弁理士 住田俊宗 牙1 図 第2図 第3図 /j・4図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing a mode register of the above embodiment, and FIGS.
(D) is a diagram showing the set information of the mode register when operating according to system architectures A to D, respectively, and FIG. 4 is a diagram showing the contents of each compartment of the control memory. In the figure, l: main storage device, 2: storage control unit,
3: Instruction control arithmetic unit, 301: Instruction register, 3
01a: Instruction code, 302: Control memory, 302a
~302d: =I partment, 303,30
3a to 303d: read register, 304: selection circuit, 305: mode register, 306: address register, 307: control store, 308: read register. Applicant NEC Co., Ltd. Agent Patent Attorney Toshisuke Sumita 1 Figure 2 Figure 3/j and Figure 4

Claims (1)

【特許請求の範囲】[Claims] 命令コードで読出しアドレス指定される複数のコンパー
トメントのそれぞれに複数のアーキテクチャ−における
各命令コード対応にマイクロプログラムの起動アドレス
等を格納した制御メモリと、一連のマイクロ命令から構
成される複数のマイクロプログラムを格納した制御スト
アと、該制御ストアの出力情報により複数のシステムア
ーキテクチャ−のうちのどれに従うかを指定するシステ
ム管理情報を格納するモードレジスタと、該モードレジ
スタの出力によって前記制御メモリの複数のコンパーメ
ントから出力される複数のアドレス情報等を択一的に選
択して前記制御ストアの読出しアドレス信号等を出力す
る選択回路とを備えて、複数のシステムアーキテクチャ
−のサポートが可能なマイクロプログラム制御を行なう
ことを特徴とする情報処理装置。
Each of the plurality of compartments whose reading address is specified by the instruction code contains a control memory storing the start address of the microprogram corresponding to each instruction code in the plurality of architectures, and a plurality of microprograms consisting of a series of microinstructions. a mode register that stores system management information specifying which of a plurality of system architectures is to be followed by the output information of the control store; and a selection circuit that selectively selects a plurality of address information output from the control store and outputs a read address signal, etc. of the control store, thereby providing microprogram control capable of supporting multiple system architectures. An information processing device characterized by:
JP59081585A 1984-04-23 1984-04-23 Information processing equipment Expired - Lifetime JPH0778730B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP59081585A JPH0778730B2 (en) 1984-04-23 1984-04-23 Information processing equipment
US06/726,440 US4691278A (en) 1984-04-23 1985-04-23 Data processor executing microprograms according to a plurality of system architectures
EP85104935A EP0159699A3 (en) 1984-04-23 1985-04-23 A data processor executing microprograms according to a plurality of system architectures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59081585A JPH0778730B2 (en) 1984-04-23 1984-04-23 Information processing equipment

Publications (2)

Publication Number Publication Date
JPS60225253A true JPS60225253A (en) 1985-11-09
JPH0778730B2 JPH0778730B2 (en) 1995-08-23

Family

ID=13750396

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59081585A Expired - Lifetime JPH0778730B2 (en) 1984-04-23 1984-04-23 Information processing equipment

Country Status (1)

Country Link
JP (1) JPH0778730B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0312742A (en) * 1989-06-09 1991-01-21 Ricoh Co Ltd Central processing unit
JP2008171428A (en) * 2007-01-09 2008-07-24 Internatl Business Mach Corp <Ibm> Method and apparatus for selecting architecture level to which processor appears to conform in specification

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5595148A (en) * 1979-01-10 1980-07-19 Hitachi Ltd Binary arithmetic circuit
JPS5769453A (en) * 1980-10-17 1982-04-28 Nec Corp Data processor for microprogram control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5595148A (en) * 1979-01-10 1980-07-19 Hitachi Ltd Binary arithmetic circuit
JPS5769453A (en) * 1980-10-17 1982-04-28 Nec Corp Data processor for microprogram control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0312742A (en) * 1989-06-09 1991-01-21 Ricoh Co Ltd Central processing unit
JP2008171428A (en) * 2007-01-09 2008-07-24 Internatl Business Mach Corp <Ibm> Method and apparatus for selecting architecture level to which processor appears to conform in specification

Also Published As

Publication number Publication date
JPH0778730B2 (en) 1995-08-23

Similar Documents

Publication Publication Date Title
JPH0719426B2 (en) Disk controller
JPS6122817B2 (en)
JPS60225253A (en) Information processing device
JPS5815810B2 (en) digital processing equipment
US4085439A (en) Computer programming system having greatly reduced storage capacity and high speed
JPH0628243A (en) Semiconductor integrated circuit
JPS6148174B2 (en)
JPS6346855B2 (en)
JPS6033644A (en) Memory bank switching method and its device
JPS6112579B2 (en)
JP2847729B2 (en) Information processing device
JPS6165334A (en) Specification system for start address
JPS6086637A (en) Extended virtual storage control system
JPS62168235A (en) Data processor
JPS63123137A (en) Address coincidence signal generating system
JPH04364532A (en) Data processing method of central processor
JPS59186048A (en) Microprogram control system
JPH0277942A (en) Memory and microprogram controller
JPS63174127A (en) One chip microprocessor
JPH0531170B2 (en)
JPH03257572A (en) Multiprocessor system
JPS6270950A (en) Memory system for information hysteresis
JPH02110631A (en) Microprogram controlling method
JPH10154392A (en) Memory device and memory accessing method
JPS59225450A (en) Microprogram controller