JPS63153637A - Data processor - Google Patents

Data processor

Info

Publication number
JPS63153637A
JPS63153637A JP30210286A JP30210286A JPS63153637A JP S63153637 A JPS63153637 A JP S63153637A JP 30210286 A JP30210286 A JP 30210286A JP 30210286 A JP30210286 A JP 30210286A JP S63153637 A JPS63153637 A JP S63153637A
Authority
JP
Japan
Prior art keywords
operand address
operand
main memory
address
macro
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
Application number
JP30210286A
Other languages
Japanese (ja)
Inventor
Akihiro Yoshitake
吉竹 昭博
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP30210286A priority Critical patent/JPS63153637A/en
Publication of JPS63153637A publication Critical patent/JPS63153637A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

PURPOSE:To improve the processing speed of a macroinstruction and to drastically reduce a microinstruction step by providing an operand address calculation circuit and using one microinstruction so as to calculate the operand address and to access the operand. CONSTITUTION:The operand address of the microinstruction is calculated and the operand address is given to a processing means 1 and a main storage control means 2 by an operand address calculation circuit 4. The processing means 1 reads and decodes the macroinstruction from a main storage device 3 storing in advance a program comprising macroinstructions via the main storage controller 2. The operand address calculation circuit 4 calculates the operand address of the macroinstruction and the operand is outputted to the processing means 1 and the main storage control means 2. Thus, one microinstruction is used to calculate the operand address and to execute the access of the operand.

Description

【発明の詳細な説明】 〔概要〕 本願発明はマイクロプログラム制御方式によるデータ処
理装置に於いて、マクロ命令を実行する際、オペランド
アドレスの算出及びこのオペランドアドレスに基づいて
主記憶装置へアクセスを行うにあたり、その処理速度を
向上するため、オペランドアドレス計算回路を備え、一
つのマイクロ命令でオペランドアドレスを算出すると共
に該オペランドアドレスを処理装置に出力し、また同時
に主記憶装置の該当するオペランドアドレスに対してア
クセスするようにしたものである。
[Detailed Description of the Invention] [Summary] The present invention calculates an operand address and accesses the main memory based on the operand address when executing a macro instruction in a data processing device using a microprogram control method. In order to improve the processing speed, it is equipped with an operand address calculation circuit that calculates the operand address with one microinstruction, outputs the operand address to the processing unit, and simultaneously writes data to the corresponding operand address in the main memory. It is designed so that it can be accessed by

〔産業上の利用分野〕[Industrial application field]

本発明は、マイクロプログラム制御方式によるデータ処
理装置でのオペランドアクセスの処理速度の向上を図っ
たデータ処理装置に関するものである。
The present invention relates to a data processing device that uses a microprogram control method to improve the processing speed of operand access.

データ処理装置は、マクロ命令を実行する場合、高速度
でマクロ命令をエミュレートすることが要求される。そ
こで、高速度でマクロ命令をエミュレートするための一
つの手段として、マクロ命令のオペランドアドレスの算
出及びアクセスを高速度で行なうこととしたものである
When a data processing device executes a macro instruction, it is required to emulate the macro instruction at high speed. Therefore, one means for emulating macro instructions at high speed is to calculate and access operand addresses of macro instructions at high speed.

〔従来の技術〕[Conventional technology]

従来技術に於けるデータ処理装置としては、第3図に示
すものがある。
As a data processing device in the prior art, there is one shown in FIG.

501はコンピュータシステムの中枢となるデータ処理
装置(以下、rcPUJという、)であり、ストアドブ
ログラム制御方式及びマイクロプログラム制御方式を基
本的なアーキテクチャとしている。510はマクロ命令
で構成したプログラムの実行制御を行なうマイクロプロ
セッサ(以下、rMPUJという、)であり、LSIで
実現している。520はマイクロ命令で構成したマイク
ロプログラムを格納している制御記憶であり、高速度で
読出し可能なメモリで実現している。この制御記憶52
0のうち521はマクロ命令のオペランドアドレスの算
出を行なうマイクロプログラムルーチンであり、マイク
ロ命令で構成している。530は主記憶制御回路であり
、MPU510からのメモリリクエスト信号519によ
り後述する主記憶装置502へのアクセス(読出し又は
書き込み)に必要な制御信号560を出力する。502
は前述した主記憶装置であり、マクロ命令で構成したプ
ログラムを格納し、RAMで実現している。553はC
PU501が現在エミュレーとしているマクロ命令であ
る。
501 is a data processing device (hereinafter referred to as rcPUJ) which is the core of the computer system, and its basic architecture is a stored program control method and a microprogram control method. 510 is a microprocessor (hereinafter referred to as rMPUJ) that controls the execution of a program composed of macro instructions, and is realized by an LSI. A control memory 520 stores a microprogram composed of microinstructions, and is realized by a memory that can be read at high speed. This control memory 52
Out of 0, 521 is a microprogram routine that calculates the operand address of a macroinstruction, and is composed of microinstructions. A main memory control circuit 530 outputs a control signal 560 necessary for accessing (reading or writing) to the main memory device 502, which will be described later, in response to a memory request signal 519 from the MPU 510. 502
is the main storage device mentioned above, which stores a program composed of macro instructions and is realized by RAM. 553 is C
This is the macro instruction that the PU 501 is currently emulating.

554はマクロ命令553のオペランドである。554 is an operand of macro instruction 553.

540.541は夫々CPU501と主記憶装置502
との間に設けたデータバス、アドレスバスである。
540 and 541 are the CPU 501 and main storage device 502, respectively.
This is a data bus and an address bus provided between the

次に、前記MPU510の構成を説明する。Next, the configuration of the MPU 510 will be explained.

511は、次に実行すべきマイクロ命令のアドレスを指
示するマイクロプログラムカウンタ(以下、rMPCJ
 という、)であり、このMPC511が指示する値は
制御記憶520のアドレスを示す、512はシーケンス
制御回路であり、MPC511が指示した制御記憶52
0に於けるアドレスより読出したマイクロ命令をデコー
ドして各種の制御信号を発生する。513はワークレジ
スタ(以下、rWRJという。)であり、マクロ命令を
主記憶装置502からデータバス540.主記憶制御回
路530を介してWR513内に読み出したマクロ命令
の後述するBXD部を格納するレジスタ551、MPU
510がオペランドアドレス算出ルーチン521により
算出したオペランドアドレスの値を格納するレジスタ5
52等で構成する。514は一般の種々のデータが格納
される汎用レジスタ(以下、rGRJ という。)であ
る、515はGR514とWR513に格納されている
データに基づいて数値演算又は論理演算を行なう論理演
算ユニット(以下、rALUJという、)である。
511 is a microprogram counter (hereinafter referred to as rMPCJ) that indicates the address of the next microinstruction to be executed.
), and the value instructed by the MPC 511 indicates the address of the control memory 520. 512 is a sequence control circuit, and the value instructed by the MPC 511 indicates the address of the control memory 520.
The microinstruction read from the address at address 0 is decoded to generate various control signals. 513 is a work register (hereinafter referred to as rWRJ), which transfers macro instructions from the main memory 502 to the data bus 540. A register 551 that stores a BXD section (described later) of a macro instruction read into the WR 513 via the main memory control circuit 530, and an MPU
510 is a register 5 in which the value of the operand address calculated by the operand address calculation routine 521 is stored.
It consists of 52 etc. 514 is a general-purpose register (hereinafter referred to as rGRJ) in which various general data are stored; 515 is a logic operation unit (hereinafter referred to as rGRJ) that performs numerical or logical operations based on the data stored in GR 514 and WR 513; rALUJ).

マクロ命令の形式を第4図に示す、300はマクロ命令
の種類を指定するオペレーションコード部(以下、rO
P部」という、)、301はペースレジスタ指定部(以
下、「B部」という、)、302はインデックスレジス
タ指定部(以下、rX部」という、)、303はディス
プレースメント(以下、10部」という、)を夫々示す
0以上、301.302.303をまとめてBXn熊と
呼−ζニー  3(’lil+マ〃ロ会への車行に〃。
The format of the macro instruction is shown in FIG. 4. 300 is an operation code section (rO
301 is a pace register designation part (hereinafter referred to as "B part"), 302 is an index register designation part (hereinafter referred to as "rX part"), and 303 is a displacement (hereinafter referred to as "10 part"). 0 or more, 301, 302, and 303, which respectively indicate ), are collectively called BXn bear - ζ knee 3 ('lil + on the way to the Maro meeting.

要な種々の指定子をもつ拡張部であり、所定のマクロ命
令について有効である。
is an extension with various specifiers that are valid for certain macro instructions.

このような構成に於けるCPU501の作動。Operation of CPU 501 in such a configuration.

特にオペランドアドレスの算出及び該オペランドアドレ
スのアクセスを中心に説明する。尚、マクロ命令は主記
憶装置502からデータバス540及び主記憶制御回路
530を介してMPU510の命令レジスタ(図示省略
)に既に格納されているものとする。
In particular, the calculation of the operand address and the access to the operand address will be mainly explained. It is assumed that the macro instruction has already been stored in the instruction register (not shown) of the MPU 510 from the main memory 502 via the data bus 540 and the main memory control circuit 530.

MPU510はマクロ命令の02部300をデコードし
、主記憶袋gi502に対してアクセスを要する命令で
あると認識したときは、MPC511をオペランドアク
セス算出ルーチン521の先頭アドレスの値に設定し、
オペランドアドレス算出ルーチン521を実行する。す
ると、先ず、マクロ命令のBXD部を記憶装置502か
らデータバス540及び主記憶制御回路530を介して
MPU510のレジスタ551に読み込むと共にALU
515を利用してB部、X部及びD部の加算を行うこと
により才ペランドアドレスを求め、該オペランドアドレ
スをWR512のレジスタ552に設定する。
The MPU 510 decodes the 02 part 300 of the macro instruction, and when recognizing that it is an instruction that requires access to the main memory bag gi 502, sets the MPC 511 to the value of the start address of the operand access calculation routine 521,
The operand address calculation routine 521 is executed. Then, first, the BXD part of the macro instruction is read from the storage device 502 into the register 551 of the MPU 510 via the data bus 540 and the main memory control circuit 530, and the ALU
The operand address is obtained by adding the B part, the X part, and the D part using the WR 515, and the operand address is set in the register 552 of the WR 512.

その後、レジスタ552に設定したオペランドアドレス
に基づいて、マクロ命令553のOF部300の指定す
る処理、例えば読出し命令ならばオペランド554に格
納されているデータを読出して汎用レジスタ514に設
定する一連の処理を複数のマイクロ命令により順次実行
する。そして、マクロ命令の処理が終了したならば次の
マクロ命令を主記憶装置502から読出して、前述同様
の作動を行なう。
Thereafter, based on the operand address set in the register 552, processing specified by the OF section 300 of the macro instruction 553, for example, in the case of a read instruction, a series of processing of reading data stored in the operand 554 and setting it in the general-purpose register 514. are executed sequentially using multiple microinstructions. When the processing of the macro instruction is completed, the next macro instruction is read from the main memory 502 and the same operation as described above is performed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、このような従来のデータ処理装置では主
記憶装置から読出したマクロ命令が主記憶装置に対する
アクセスを要するものであるときは、先ず、制御記憶に
格納されている複数のマイクロ命令で構成したオペラン
ドアドレス算出ルーチンによりオペランドアドレスを算
出し、次に該オペランドアドレスとマクロ命令の02部
に基づいてマクロ命令を実行する構成となっていたため
、該当するマクロ命令の実行速度がオペランドのアクセ
スを必要としないマクロ命令に比べて遅く、またオペラ
ンドアドレス算出ルーチンは処理速度の低下を防ぐため
、マクロ命令をエミュレートする全てのマイクロプログ
ラムルーチンに組み込む必要があるため、マイクロプロ
グラムのステップ数の増加を招来するといった問題点が
存在していた。
However, in such conventional data processing devices, when a macroinstruction read from the main memory requires access to the main memory, the operand consisting of multiple microinstructions stored in the control memory is first read out from the main memory. The operand address is calculated by the address calculation routine, and then the macro instruction is executed based on the operand address and the 02 part of the macro instruction, so the execution speed of the corresponding macro instruction does not require operand access. They are slower than macro instructions, and the operand address calculation routine must be incorporated into every microprogram routine that emulates macro instructions to prevent processing speed from slowing down, resulting in an increase in the number of steps in the microprogram. There were problems.

〔問題点を解決するための手段〕[Means for solving problems]

本願発明は、このような従来の問題点に鑑みてなされた
もので、マクロ命令の実行速度を改善することができる
データ処理装置を提供することをその目的としている。
The present invention has been made in view of these conventional problems, and an object of the present invention is to provide a data processing device that can improve the execution speed of macro instructions.

そして、その手段は、マクロ命令で構成したプログラム
を予め格納した主記憶装置からマイクロ命令でマクロ命
令を読出し、解読し、並びに実行する処理手段と、主記
憶装置に対するアクセスを行なう主記憶制御手段を備え
たデータ処理装置に於いて、マクロ命令のオペランドア
ドレスを計算し、該オペランドアドレスを前記処理手段
並びに主記憶制御手段に出力するオペランドアドレス計
算回路を備えたことである。
The means includes processing means for reading, decoding, and executing macro instructions using micro instructions from a main memory device in which a program composed of macro instructions is stored in advance, and main memory control means for accessing the main memory device. The data processing device includes an operand address calculation circuit that calculates an operand address of a macro instruction and outputs the operand address to the processing means and main memory control means.

〔作用〕[Effect]

本発明の作用を第1図に示す本発明の原理ブロック図に
基づいて説明する。
The operation of the present invention will be explained based on the principle block diagram of the present invention shown in FIG.

処理手段lはマクロ命令で構成したプログラムを予め格
納した主記憶装置3からマクロ命令を主記憶制御装置を
介して読出し、解読する。オペランドアドレス計算回路
4はマクロ命令のオペランドアドレスを計算し、該オペ
ランドアドレスを前記処理手段l並びに主記憶制御手段
2に出力する。
The processing means 1 reads macro instructions from the main memory 3 in which a program composed of macro instructions is stored in advance, via the main memory control device, and decodes the macro instructions. The operand address calculation circuit 4 calculates the operand address of the macro instruction and outputs the operand address to the processing means 1 and the main memory control means 2.

このため、一つのマイクロ命令でオペランドアドレスの
算出とオペランドのアクセスを実行することができる。
Therefore, operand address calculation and operand access can be executed with one microinstruction.

〔実施例〕〔Example〕

以下、この発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below based on the drawings.

第2図は本発明の一実施例に於けるデータ処理装置の構
成図を示す、200はコンピュータシステムの中枢とな
るデータ処理装置(以下、rcPUJという、)であり
、マイクロプログラム制御方式及びストアドブログラム
制御方式を基本的なアーキテクチャとしている。
FIG. 2 shows a configuration diagram of a data processing device in an embodiment of the present invention. 200 is a data processing device (hereinafter referred to as rcPUJ) which is the core of the computer system, and has a microprogram control system and a stored blog. The basic architecture is a RAM control method.

211は複数のマクロ命令で構成し、後述する主記憶装
置231に予め格納されているプログラムの実行制御を
行なうマイクロプロセッサ(以下、rMPUJという、
)であり、LSIで構成している。201は、次に実行
すべきマイクロ命令のアドレスを格納しているマイクロ
プログラムカウンタ(以下、rMPcJという、)であ
り、このMPC201が示すアドレスは後述する制御記
憶214に於けるマイクロプログラムのアドレスである
。203はMPC201で指示された後述する制御記憶
214に於けるアドレスより読出したマイクロ命令をデ
コードして各種の制御信号を出力するシーケンス制御回
路である。
211 is a microprocessor (hereinafter referred to as rMPUJ) which is composed of a plurality of macro instructions and controls the execution of a program stored in advance in the main memory 231, which will be described later.
) and is composed of LSI. 201 is a microprogram counter (hereinafter referred to as rMPcJ) that stores the address of the microinstruction to be executed next, and the address indicated by this MPC 201 is the address of the microprogram in the control memory 214, which will be described later. . Reference numeral 203 is a sequence control circuit that decodes a microinstruction read from an address in a control memory 214, which will be described later, and which is instructed by the MPC 201, and outputs various control signals.

202はワークレジスタ(以下、rWR」という、)で
あり、複数のレジスタで構成されている。
A work register (hereinafter referred to as "rWR") 202 is composed of a plurality of registers.

214はマイクロ命令で構成したマイクロプログラムを
格納している前述した制御記憶であり、高速読出し回走
なメモリで構成している。22’0は所定のマクロ命令
に対応するマイクロプログラムルーチンであり、複数の
マイクロ命令221で構成されている。前記MPU21
1とオペランドアドレス計算回路とで特許請求の範囲に
記載した処理手段1を構成している。
Reference numeral 214 denotes the aforementioned control memory which stores a microprogram composed of microinstructions, and is constituted by a high-speed read/run memory. 22'0 is a microprogram routine corresponding to a predetermined macroinstruction, and is composed of a plurality of microinstructions 221. Said MPU21
1 and the operand address calculation circuit constitute the processing means 1 described in the claims.

22、特許請求の範囲に記載したオペラドアドレス計算
回路4に相当するオペランドアドレス計算回路である。
22. This is an operand address calculation circuit corresponding to the operand address calculation circuit 4 described in the claims.

224はオペランドアドレス計算回路229の制御回路
であり、シーケンス制御回路203からデコード信号2
04を入力したときにオペランドアドレスの計算に必要
な各種制御信号を所定のタイミンタで出力する。213
はマクロ命令のBXD部を格納するレジスタである。
224 is a control circuit for the operand address calculation circuit 229, which receives the decode signal 2 from the sequence control circuit 203.
When 04 is input, various control signals necessary for calculating the operand address are outputted by a predetermined timer. 213
is a register that stores the BXD part of the macro instruction.

210は一般の種々のデータが格納される汎用レジスタ
(以下、rGRJという、)である。
210 is a general-purpose register (hereinafter referred to as rGRJ) in which various general data are stored.

212は加算器であり、GR210に格納されているマ
クロ命令のBX部とレジスタ213に格納されているD
部の値を加算してオペランドアドレスを算出するように
なっている。222はオペランドアドレスを加算器21
2からオペランドアドレスを入力して保持するオペラン
ドアドレスレジスタ(以下、rOARJという、)であ
る。
212 is an adder, which combines the BX part of the macro instruction stored in the GR 210 and the D part stored in the register 213.
The operand address is calculated by adding the values of the parts. 222 adds the operand address to the adder 21
This is an operand address register (hereinafter referred to as rOARJ) that inputs and holds an operand address from No. 2.

230は特許請求の範囲に記載した主記憶制御手段2に
相当する主記憶制御回路であり、オペランドアドレス計
算回路229の制御回路224からのメモリリクエスト
信号215を入力すると、後述の主記憶装置231への
アクセス(読出し又は書き込み)に必要な制御信号26
0を出力する主記憶制御回路である。202.203は
夫々CPU200の主記憶制御回路230と後述する主
記憶装置231との間に設けたデータバス、アドレスバ
スである。
230 is a main memory control circuit corresponding to the main memory control means 2 described in the claims, and when a memory request signal 215 from the control circuit 224 of the operand address calculation circuit 229 is input, it is sent to the main memory device 231, which will be described later. Control signals 26 necessary for access (reading or writing)
This is a main memory control circuit that outputs 0. 202 and 203 are a data bus and an address bus, respectively, provided between the main memory control circuit 230 of the CPU 200 and a main memory device 231, which will be described later.

231はマクロ命令と各種データで構成したプログラム
を格納している主記憶装置であり、RAMで構成してい
る。250はエミュレートしようとするマクロ命令であ
る。251はマクロ命令のオペランドである。マクロ命
令250のBXD部は主記憶装M231からデータバス
203、主記憶制御回路230を介してレジスタ213
に読み込まれるようになっている。マクロ命令の命令形
式は第3図に示したものと同様である。
A main memory 231 stores a program composed of macro instructions and various data, and is composed of a RAM. 250 is a macro instruction to be emulated. 251 is an operand of a macro instruction. The BXD part of the macro instruction 250 is transferred from the main memory M231 to the register 213 via the data bus 203 and the main memory control circuit 230.
It is now loaded into . The instruction format of the macro instruction is the same as that shown in FIG.

このような構成となるデータ処理装置200の作動、特
にオペランドアドレスの算出及びこの算出したオペラン
ドアドレスに基づく主記憶装置231へのアクセスを中
心に説明する。尚、マクロ命令250は主記憶装置23
1からデータバス203及び主記憶制御回路230を介
してMPU211の命令レジスタ(図示省略)に格納さ
れているものとする。
The operation of the data processing device 200 having such a configuration will be explained, particularly focusing on calculation of an operand address and access to the main storage device 231 based on the calculated operand address. Note that the macro instruction 250 is stored in the main memory 23.
1 to an instruction register (not shown) of the MPU 211 via the data bus 203 and the main memory control circuit 230.

MPU211はマクロ命令250のOF部のデコードを
行い、マクロ命令250をエミュレートするマイクロプ
ログラムルーチン220に実行を移す。マクロ命令25
0がオペランドのアクセスを要する命令の場合はマイク
ロルーチン220にはオペランドアドレスの計算を行な
う一つのマイクロ命令221が格納されており、このマ
イクロ命令221が制御記憶214からシーケンス制御
回路203に入力される。すると、シーケンス制御回路
203はオペランドアドレス計算回路229内の制御回
路224にオペランドアドレスの計算を行なわせるデコ
ード信号204を出力する。
The MPU 211 decodes the OF portion of the macro instruction 250 and transfers execution to the microprogram routine 220 that emulates the macro instruction 250. Macro instruction 25
If 0 is an instruction that requires operand access, the microroutine 220 stores one microinstruction 221 that calculates the operand address, and this microinstruction 221 is input from the control memory 214 to the sequence control circuit 203. . Then, the sequence control circuit 203 outputs a decode signal 204 that causes the control circuit 224 in the operand address calculation circuit 229 to calculate the operand address.

制御回路224がデコード信号204を受けると、各種
の制御信号を出力してマクロ命令250のBXD部を主
犯t!装ご231からデータバス203及び主記憶制御
回路230を介してレジスタ213に読出す、そして、
レジスタ213に格納されたマクロ命令250(7)B
X部はGR210を指し示す0次に、加算器212はレ
ジスタ213のD部とGR210に格納されているB部
が示すGR(8)、X部が示すGR(χ)の加算を行な
うと共に計算結果であるオペランドアドレスを0AR2
22に出力する。尚、本実施例では、GR(B)+Dを
0AR222にセットした後、そのOAR222の内容
とG R(X)を加算して再び0AR222にセットす
る。最後に。
When the control circuit 224 receives the decode signal 204, it outputs various control signals to target the BXD part of the macro instruction 250 as the main culprit t! read from the device 231 to the register 213 via the data bus 203 and the main memory control circuit 230, and
Macro instruction 250(7)B stored in register 213
The X section points to the GR210.The adder 212 adds GR(8) indicated by the D section of the register 213 and the B section stored in the GR210, and GR(χ) indicated by the X section. The operand address that is 0AR2
Output to 22. In this embodiment, after setting GR(B)+D to 0AR222, the contents of OAR222 and GR(X) are added and the result is set to 0AR222 again. lastly.

0AR222の内容であるオペランドアドレスをマイク
ロ命令221が指定したWR202にセットすると共に
主記憶制御回路230に出力する。
The operand address, which is the content of OAR 222, is set in WR 202 specified by microinstruction 221 and output to main memory control circuit 230.

主記憶制御回路230は主記憶N231に対して制御信
号260とアドレスバス232を介してオペランドアド
レスを出力する。主記憶装置1231がオペランドアド
レスと制御信号260を入力すると、オペランド251
をアクセスする。オペランド251に格納されているデ
ータはデータバス203と主記憶制御回路230を介し
てオペランドアドレス計算回路229内のテンポラリレ
ジスタ(図示省略)に格納されることとなる。
Main memory control circuit 230 outputs an operand address to main memory N231 via control signal 260 and address bus 232. When the main storage device 1231 inputs the operand address and control signal 260, the operand 251
access. The data stored in the operand 251 is stored in a temporary register (not shown) in the operand address calculation circuit 229 via the data bus 203 and the main memory control circuit 230.

従って、この実施例によれば、1つのマイクロ命令22
1のみでオペランドアドレスがWR202にセットされ
ると共にオペランドへのアクセスが行なわれることにな
る。
Therefore, according to this embodiment, one microinstruction 22
When only 1 is input, the operand address is set in the WR 202 and the operand is accessed.

MPU211はマイクロ命令221の実行の後マクロ命
令がオペランドアドレスをGR210にセットする命令
(LEA命令)の場合には、WR202にセットされた
オペランドアドレスをGR210に格納する。また、マ
クロ命令がオペランドアドレスが示す主記憶装!123
1に於けるオペランドをGR210にセットする命令の
場合にはテンポラリレジスタの内容をGR210に格納
する。このようにして、オペランドからの読出しをレジ
スタへの読出しと同様な処理で読出し、GR210に格
納することが可能となる。
After executing the microinstruction 221, the MPU 211 stores the operand address set in the WR 202 in the GR 210 if the macroinstruction is an instruction (LEA instruction) to set the operand address in the GR 210. Also, the main memory where the macro instruction is indicated by the operand address! 123
In the case of an instruction that sets the operand in step 1 to GR210, the contents of the temporary register are stored in GR210. In this way, it is possible to read from the operand and store it in the GR 210 using the same process as reading from a register.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、オペランドアドレス計算回路を設け、
一つのマイクロ命令でオペランドアドレスの算出及びオ
ペランドのアクセスを行なうようにしたので、処理装置
は次のマイクロ命令でオペランドを読出し、及びオペラ
ンドアドレスの汎用レジスタへのセット等を行ないうる
ことになり、マクロ命令の処理速度の向上及びマイクロ
命令ステップの大幅な削減が可能となる。
According to the present invention, an operand address calculation circuit is provided,
Since the operand address is calculated and the operand is accessed using one microinstruction, the processing unit can read the operand and set the operand address to a general-purpose register using the next microinstruction. It is possible to improve the instruction processing speed and significantly reduce the number of microinstruction steps.

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

第1図は本発明の原理ブロック図、第2図は本発明の一
実施例を示すデータ処理装置の構成図、第3図は従来の
データ処理装置の構成図、第4図はマクロ命令の形式で
ある。 1・・・処理手段 2・・・主記憶制御手段 3・・・主記憶装置 4・・・オペランドアドレス計算回路 徒氷のデータ処理褒1り槙賎図
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram of a data processing device showing an embodiment of the present invention, Fig. 3 is a block diagram of a conventional data processing device, and Fig. 4 is a block diagram of a macro instruction. It is a form. 1...Processing means 2...Main memory control means 3...Main memory device 4...Operand address calculation circuit data processing reward 1.

Claims (1)

【特許請求の範囲】 マクロ命令で構成したプログラムを予め格納した主記憶
装置(3)からマイクロ命令でマクロ命令を読出し、解
読し、並びに実行する処理手段(1)と、主記憶装置(
3)に対するアクセスを行なう主記憶制御手段(2)を
備えたデータ処理装置に於いて、 マクロ命令のオペランドアドレスを計算し、該オペラン
ドアドレスを前記処理手段(1)並びに主記憶制御手段
(2)に出力するオペランドアドレス計算回路(4)を
備えたことを特徴とするデータ処理装置。
[Claims] Processing means (1) for reading, decoding, and executing macro instructions using micro instructions from a main memory (3) in which a program composed of macro instructions is stored in advance;
3), in a data processing device equipped with a main memory control means (2) that performs access to the main memory control means (2), calculates an operand address of a macro instruction, and transmits the operand address to the processing means (1) and the main memory control means (2). 1. A data processing device comprising an operand address calculation circuit (4) that outputs an operand address.
JP30210286A 1986-12-17 1986-12-17 Data processor Pending JPS63153637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30210286A JPS63153637A (en) 1986-12-17 1986-12-17 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30210286A JPS63153637A (en) 1986-12-17 1986-12-17 Data processor

Publications (1)

Publication Number Publication Date
JPS63153637A true JPS63153637A (en) 1988-06-27

Family

ID=17904952

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30210286A Pending JPS63153637A (en) 1986-12-17 1986-12-17 Data processor

Country Status (1)

Country Link
JP (1) JPS63153637A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009117526A (en) * 2007-11-05 2009-05-28 Canon Inc External light sensor module

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009117526A (en) * 2007-11-05 2009-05-28 Canon Inc External light sensor module

Similar Documents

Publication Publication Date Title
JPS62197830A (en) Data processing system
JP2514963B2 (en) Data processing device
JPS63153637A (en) Data processor
JP2680828B2 (en) Digital device
JPS6217773B2 (en)
JPH0218729B2 (en)
JP2583506B2 (en) Data processing device
JPS6134188B2 (en)
JPS6349938A (en) Instruction prefetch control device
JPH024010B2 (en)
JPH07110769A (en) Vliw type computer
JP2731618B2 (en) emulator
JP2743947B2 (en) Micro program control method
JPS5955546A (en) Firmware processor
JPS6028014B2 (en) microprocessor
JPS595354A (en) Data processing device
JPH02103627A (en) Microprogram conversion device
JPH0667896A (en) Single chip microcomputer
JPH03164945A (en) Data processor
JPS60134346A (en) Parity error detecting system
JPS61145643A (en) Variable word length instruction processing system
JPH0353321A (en) Information processor
JPH0221613B2 (en)
JPH0471219B2 (en)
JPS6353644A (en) Instruction control device