JPH0546381A - Data processor - Google Patents

Data processor

Info

Publication number
JPH0546381A
JPH0546381A JP3207035A JP20703591A JPH0546381A JP H0546381 A JPH0546381 A JP H0546381A JP 3207035 A JP3207035 A JP 3207035A JP 20703591 A JP20703591 A JP 20703591A JP H0546381 A JPH0546381 A JP H0546381A
Authority
JP
Japan
Prior art keywords
data
immediate
internal bus
holding register
holding
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.)
Withdrawn
Application number
JP3207035A
Other languages
Japanese (ja)
Inventor
Takashi Inoue
隆 井上
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3207035A priority Critical patent/JPH0546381A/en
Publication of JPH0546381A publication Critical patent/JPH0546381A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To simplify the interface of a function block connected to an internal bus by simplifying an instruction issued by a CPU for the purpose of an arithmetic processing containing an immediate operation, and also, decreasing the number of wirings of the internal bus for a data transfer. CONSTITUTION:A first holding register 1 for holding data on a first internal bus 101 is connected directly to an ALU, and on the other hand, between a second holding register 2 for holding data on a second internal bus 102, and the ALU 4, an immediate generating circuit 3 to which a control command 5 is given from a CPU 6 is interposed. The immediate generating circuit 3 gives one of immediate data generated by itself and the data held by a second holding register 2 to the ALU 4 in accordance with the control command 105. Operation result data outputted from the ALU 4 is outputted to a second internal bus 102 through a third holding register 5.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、即値演算を含む演算処
理を実行するためのデータ処理装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device for executing arithmetic processing including immediate value arithmetic.

【0002】[0002]

【従来の技術】図2は、従来のデータ処理装置のブロッ
ク図を示したものである。同図において、1は第1の内
部バス101上のデータを保持するための第1の保持レ
ジスタであり、2は第2の内部バス102上のデータを
保持するための第2の保持レジスタである。4は、第1
の保持レジスタ1が保持しているデータと第2の保持レ
ジスタ2が保持しているデータとを2つの入力データと
して該2つの入力データの間の算術演算又は論理演算を
実行し、該演算の結果を演算結果データとして出力する
演算器(以下、ALUという。)である。5は、ALU
4から出力された演算結果データを保持し、かつ該保持
した演算結果データを第3の内部バス103へ出力する
第3の保持レジスタである。6は、中央処理装置(以
下、CPUという。)であって、第2の内部バス102
に接続される一方でALU4に演算指令106を与える
ものである。7及び8は、各々第1〜第3の内部バス1
01,102,103のいずれにも接続される第1及び
第2の機能ブロックである。
2. Description of the Related Art FIG. 2 is a block diagram of a conventional data processing device. In the figure, 1 is a first holding register for holding data on the first internal bus 101, and 2 is a second holding register for holding data on the second internal bus 102. is there. 4 is the first
The data held by the holding register 1 and the data held by the second holding register 2 are used as two input data to execute an arithmetic operation or a logical operation between the two input data, An arithmetic unit (hereinafter referred to as ALU) that outputs the result as arithmetic result data. 5 is ALU
4 is a third holding register for holding the operation result data output from the No. 4 and outputting the held operation result data to the third internal bus 103. Reference numeral 6 denotes a central processing unit (hereinafter referred to as CPU), which is the second internal bus 102.
While being connected to the ALU 4, the ALU 4 is provided with a calculation command 106. Reference numerals 7 and 8 denote first to third internal buses 1 respectively.
The first and second functional blocks are connected to any of 01, 102, and 103.

【0003】以上のように構成された従来のデータ処理
装置について、以下にその動作を説明する。
The operation of the conventional data processing apparatus configured as described above will be described below.

【0004】まず、第1の機能ブロック7が有するデー
タと第2の機能ブロック8が有するデータとの間で演算
を実行し、演算結果データを第2の機能ブロック8に書
き込む演算動作について説明する。この演算動作を指示
する命令をCPU6が発行すると、まず第1の機能ブロ
ック7が第1の内部バス101に接続されるとともに、
第2の機能ブロック8が第2及び第3の内部バス10
2,103に接続される。そして、第1の機能ブロック
7から一方のデータが第1の内部バス101を通して第
1の保持レジスタ1に格納され、第2の機能ブロック8
から他方のデータが第2の内部バス102を通して第2
の保持レジスタ2に格納される。この後、ALU4は、
第1の保持レジスタ1が保持しているデータと第2の保
持レジスタ2が保持しているデータとを2つの入力デー
タとして、CPU6から与えられた演算指令106に従
って該2つの入力データの間の演算を実行し、該演算の
結果を演算結果データとして出力する。この演算結果デ
ータは、第3の保持レジスタ5に格納され、該第3の保
持レジスタ5から第3の内部バス103を通して第2の
機能ブロック8に書き込まれる。
First, the operation of executing an operation between the data of the first function block 7 and the data of the second function block 8 and writing the operation result data to the second function block 8 will be described. .. When the CPU 6 issues an instruction for this arithmetic operation, the first functional block 7 is first connected to the first internal bus 101, and
The second functional block 8 has the second and third internal buses 10.
2, 103 are connected. Then, one data from the first functional block 7 is stored in the first holding register 1 through the first internal bus 101, and the second functional block 8 is stored.
From the other data through the second internal bus 102 to the second
Are stored in the holding register 2. After this, ALU4
The data held by the first holding register 1 and the data held by the second holding register 2 are used as two input data, and the data between the two input data is output in accordance with the operation command 106 given from the CPU 6. The calculation is executed and the result of the calculation is output as calculation result data. This operation result data is stored in the third holding register 5 and written from the third holding register 5 to the second functional block 8 through the third internal bus 103.

【0005】次に、第1の機能ブロック7が有するデー
タと即値データ(イミディエート・データ)との間で演
算を実行し、演算結果データを第2の機能ブロック8に
書き込む即値演算動作について説明する。この即値演算
動作を指示する命令をCPU6が発行すると、まず第1
の機能ブロック7が第1の内部バス101に接続され、
第2の機能ブロック8が第3の内部バス103に接続さ
れるとともに、CPU6が第2の内部バス102に接続
される。そして、第1の機能ブロック7から一方のデー
タが第1の内部バス101を通して第1の保持レジスタ
1に格納され、CPU6から即値データが第2の内部バ
ス102を通して第2の保持レジスタ2に格納される。
この後、ALU4は、第1の保持レジスタ1が保持して
いるデータと第2の保持レジスタ2が保持しているデー
タとを2つの入力データとして、CPU6から与えられ
た演算指令106に従って該2つの入力データの間の演
算を実行し、該演算の結果を演算結果データとして出力
する。この演算結果データは、第3の保持レジスタ5に
格納され、該第3の保持レジスタ5から第3の内部バス
103を通して第2の機能ブロック8に書き込まれる。
Next, an immediate value operation for executing an operation between the data of the first functional block 7 and the immediate data (immediate data) and writing the operation result data in the second functional block 8 will be described. .. When the CPU 6 issues an instruction instructing this immediate value operation, first the first
The functional block 7 of is connected to the first internal bus 101,
The second functional block 8 is connected to the third internal bus 103, and the CPU 6 is connected to the second internal bus 102. Then, one data from the first functional block 7 is stored in the first holding register 1 through the first internal bus 101, and immediate data is stored in the second holding register 2 through the second internal bus 102 from the CPU 6. To be done.
After that, the ALU 4 sets the data held by the first holding register 1 and the data held by the second holding register 2 as two input data in accordance with the operation command 106 given from the CPU 6 An operation is performed between two input data, and the result of the operation is output as operation result data. This operation result data is stored in the third holding register 5 and written from the third holding register 5 to the second functional block 8 through the third internal bus 103.

【0006】[0006]

【発明が解決しようとする課題】上記のとおり従来のデ
ータ処理装置では、CPU6は、即値演算動作に際して
第1の機能ブロック7、CPU6自身及び第2の機能ブ
ロック8の各々を第1〜第3の内部バス101,10
2,103にそれぞれ接続するための命令を発行する必
要があった。このため、CPU6が発行する命令のソー
ス及びディスティネーションの指定が複雑となる問題が
あった。
As described above, in the conventional data processing device, the CPU 6 has the first to third functional blocks 7, the CPU 6 itself and the second functional block 8 in the immediate value operation. Internal buses 101, 10
It was necessary to issue a command for connecting to each of 2, 103. Therefore, there is a problem in that the source and destination of the instruction issued by the CPU 6 become complicated.

【0007】また、ALU4に即値データを与えるため
に1組の内部バス(第2の内部バス102)を用いてい
たので、全部で3組の内部バス(第1〜第3の内部バス
101,102,103)を設ける必要があった。した
がって、データ転送のための内部バスの配線数が多くな
り、該内部バスと各機能ブロック7,8との間のインタ
ーフェースが複雑になる問題もあった。
Further, since one set of internal buses (second internal bus 102) is used to give immediate data to the ALU 4, a total of three sets of internal buses (first to third internal buses 101, 101, 102, 103) had to be provided. Therefore, there is a problem that the number of wires of the internal bus for data transfer increases and the interface between the internal bus and each of the functional blocks 7 and 8 becomes complicated.

【0008】本発明の目的は、即値演算を含む演算処理
のためにCPUが発行する命令を簡略化し、かつデータ
転送のための内部バスの配線数を減らして該内部バスに
接続される機能ブロックのインターフェースを簡素化す
ることにある。
It is an object of the present invention to simplify a command issued by a CPU for arithmetic processing including an immediate operation, reduce the number of wires of an internal bus for data transfer, and connect the functional block to the internal bus. Is to simplify the interface of.

【0009】[0009]

【課題を解決するための手段】上記の目的を達成するた
めに本発明は、CPUと第1及び第2の内部バスとを備
えたデータ処理装置において、第1の内部バス上のデー
タを保持するための第1の保持レジスタをALUに直接
接続する一方で、第2の内部バス上のデータを保持する
ための第2の保持レジスタとALUとの間にCPUの制
御を受ける即値生成回路を介在させ、該即値生成回路
は、CPUによる制御の下で自己が生成した即値データ
と第2の保持レジスタが保持しているデータとのうちの
いずれか一方をALUに与える構成を採用することによ
り、内部バスを介さずにALUに即値データを与えるよ
うにしたものである。
In order to achieve the above object, the present invention is a data processing device having a CPU and first and second internal buses, which holds data on the first internal bus. While the first holding register for holding the data is directly connected to the ALU, an immediate value generation circuit controlled by the CPU is provided between the second holding register for holding the data on the second internal bus and the ALU. By interposing, the immediate value generation circuit adopts a configuration in which either the immediate value data generated by itself under the control of the CPU or the data held by the second holding register is applied to the ALU. The immediate data is given to the ALU without going through the internal bus.

【0010】具体的に説明すると、本発明は、第1の内
部バス上のデータを保持するための第1の保持レジスタ
と、第2の内部バス上のデータを保持するための第2の
保持レジスタと、CPUから制御指令が与えられ該制御
指令が即値データの生成を指示する指令である場合は即
値データを生成しかつ該生成した即値データを出力し該
制御指令が即値データの生成を指示する指令でない場合
は第2の保持レジスタが保持しているデータをそのまま
出力する即値生成回路と、第1の保持レジスタが保持し
ているデータと即値生成回路から出力されたデータとを
2つの入力データとしCPUから与えられた演算指令に
従って該2つの入力データの間の演算を実行し該演算の
結果を演算結果データとして出力するALUと、該AL
Uから出力された演算結果データを保持しかつ該保持し
た演算結果データを第2の内部バスへ出力する第3の保
持レジスタとを備えた構成を採用したものである。
More specifically, according to the present invention, a first holding register for holding data on a first internal bus and a second holding register for holding data on a second internal bus. When a control command is given from a register and a CPU and the control command is a command for instructing generation of immediate data, the immediate data is generated and the generated immediate data is output, and the control command instructs generation of immediate data. If it is not a command to do so, the immediate value generation circuit that directly outputs the data that is held by the second holding register, and the data that is held by the first holding register and the data that is output from the immediate value generation circuit are input as two inputs. An ALU that executes an operation between the two input data in accordance with an operation command given from the CPU as data and outputs the result of the operation as operation result data;
A third holding register for holding the operation result data output from U and outputting the held operation result data to the second internal bus is adopted.

【0011】[0011]

【作用】本発明によれば、第1の内部バス上のデータと
第2の内部バス上のデータとの間で演算を実行し演算結
果データを第2の内部バス上へ出力する演算動作は、次
のようにして進められる。まず、第1の内部バス上のデ
ータが第1の保持レジスタに格納され、第2の内部バス
上のデータが第2の保持レジスタに格納される。即値生
成回路にはCPUから即値データの生成を指示する指令
ではない制御指令が与えられ、該即値生成回路は第2の
保持レジスタが保持しているデータをALUに対してそ
のまま出力する。この後、ALUは、第1の保持レジス
タが保持しているデータと即値生成回路から出力された
データすなわち第2の保持レジスタが保持しているデー
タとを2つの入力データとして、CPUから与えられた
演算指令に従って該2つの入力データの間の演算を実行
し、該演算の結果を演算結果データとして出力する。こ
の演算結果データは、第3の保持レジスタに格納され、
該第3の保持レジスタから第2の内部バス上へ出力され
る。
According to the present invention, the arithmetic operation for executing an operation between the data on the first internal bus and the data on the second internal bus and outputting the operation result data to the second internal bus is , Proceed as follows. First, the data on the first internal bus is stored in the first holding register, and the data on the second internal bus is stored in the second holding register. A control command, which is not a command for instructing generation of immediate data, is given to the immediate value generation circuit, and the immediate value generation circuit outputs the data held in the second holding register to the ALU as it is. After that, the ALU is supplied from the CPU with the data held in the first holding register and the data output from the immediate value generation circuit, that is, the data held in the second holding register, as two input data. The calculation between the two input data is executed in accordance with the calculation command and the result of the calculation is output as calculation result data. This operation result data is stored in the third holding register,
The data is output from the third holding register onto the second internal bus.

【0012】一方、第1の内部バス上のデータと即値デ
ータとの間で演算を実行し演算結果データを第2の内部
バス上へ出力する演算動作は、次のようにして進められ
る。まず、第1の内部バス上のデータが第1の保持レジ
スタに格納される。即値生成回路にはCPUから即値デ
ータの生成を指示する制御指令が与えられ、該即値生成
回路は、CPUから与えられた制御指令に従って即値デ
ータを生成し、該生成した即値データを出力する。この
後、ALUは、第1の保持レジスタが保持しているデー
タと即値生成回路から出力されたデータすなわち即値デ
ータとを2つの入力データとして、CPUから与えられ
た演算指令に従って該2つの入力データの間の演算を実
行し、該演算の結果を演算結果データとして出力する。
この演算結果データは、第3の保持レジスタに格納さ
れ、該第3の保持レジスタから第2の内部バス上へ出力
される。
On the other hand, the arithmetic operation for executing the arithmetic operation between the data on the first internal bus and the immediate data and outputting the arithmetic result data on the second internal bus proceeds as follows. First, the data on the first internal bus is stored in the first holding register. A control command for instructing generation of immediate data is given to the immediate value generation circuit, and the immediate value generation circuit generates immediate data according to the control command given from the CPU and outputs the generated immediate data. After that, the ALU takes the data held in the first holding register and the data output from the immediate value generation circuit, that is, the immediate value data as two input data, according to the operation command given from the CPU, and outputs the two input data. The calculation is performed and the result of the calculation is output as calculation result data.
The operation result data is stored in the third holding register and is output from the third holding register onto the second internal bus.

【0013】[0013]

【実施例】以下、本発明の一実施例について図面を参照
しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0014】図1は、本発明の実施例に係るデータ処理
装置のブロック図を示したものである。同図において、
1は第1の内部バス101上のデータを保持するための
第1の保持レジスタであり、2は第2の内部バス102
上のデータを保持するための第2の保持レジスタであ
る。3は、制御指令105が与えられ、該制御指令10
5が即値データの生成を指示する指令である場合は即値
データを生成しかつ該生成した即値データを出力し、該
制御指令105が即値データの生成を指示する指令でな
い場合は第2の保持レジスタ2が保持しているデータを
そのまま出力する即値生成回路である。4は、第1の保
持レジスタ1が保持しているデータと即値生成回路3か
ら出力されたデータとを2つの入力データとして該2つ
の入力データの間の算術演算又は論理演算を実行し、該
演算の結果を演算結果データとして出力するALUであ
る。5は、ALU4から出力された演算結果データを保
持し、かつ該保持した演算結果データを第2の内部バス
102へ出力する第3の保持レジスタである。6は、C
PUであって、即値生成回路3に前記の制御指令105
を与えるとともにALU4に演算指令106を与えるも
のである。7及び8は、各々第1及び第2の内部バス1
01,102のいずれにも接続される第1及び第2の機
能ブロックである。
FIG. 1 is a block diagram of a data processing device according to an embodiment of the present invention. In the figure,
Reference numeral 1 is a first holding register for holding data on the first internal bus 101, and 2 is a second internal bus 102.
It is a second holding register for holding the above data. 3 is given a control command 105, and the control command 10
If 5 is a command for instructing generation of immediate data, it generates immediate data and outputs the generated immediate data, and if the control command 105 is not a command for generating immediate data, the second holding register 2 is an immediate value generation circuit that directly outputs the data held therein. 4 uses the data held in the first holding register 1 and the data output from the immediate value generation circuit 3 as two input data to execute an arithmetic operation or a logical operation between the two input data. It is an ALU that outputs the result of the operation as operation result data. Reference numeral 5 is a third holding register which holds the operation result data output from the ALU 4 and outputs the held operation result data to the second internal bus 102. 6 is C
It is a PU, and the control command 105 is sent to the immediate value generation circuit 3.
And the operation command 106 is given to the ALU 4. 7 and 8 are the first and second internal buses 1 respectively
The first and second functional blocks are connected to both 01 and 102.

【0015】以上のように構成された本実施例に係るデ
ータ処理装置について、以下にその動作を説明する。
The operation of the data processing apparatus according to this embodiment configured as described above will be described below.

【0016】まず、第1の機能ブロック7が有するデー
タと第2の機能ブロック8が有するデータとの間で演算
を実行し、演算結果データを第2の機能ブロック8に書
き込む演算動作について説明する。この演算動作を指示
する命令をCPU6が発行すると、まず第1の機能ブロ
ック7が第1の内部バス101に接続されるとともに、
第2の機能ブロック8が第2の内部バス102に接続さ
れる。そして、第1の機能ブロック7から一方のデータ
が第1の内部バス101を通して第1の保持レジスタ1
に格納され、第2の機能ブロック8から他方のデータが
第2の内部バス102を通して第2の保持レジスタ2に
格納される。一方、即値生成回路3にはCPU6から即
値データの生成を指示する指令ではない制御指令105
が与えられ、該即値生成回路3は、第2の保持レジスタ
2が保持しているデータをALU4に対してそのまま出
力する。この後、ALU4は、第1の保持レジスタ1が
保持しているデータと即値生成回路3から出力されたデ
ータすなわち第2の保持レジスタ2が保持しているデー
タとを2つの入力データとして、CPU6から与えられ
た演算指令106に従って該2つの入力データの間の演
算を実行し、該演算の結果を演算結果データとして出力
する。この演算結果データは、第3の保持レジスタ5に
格納され、該第3の保持レジスタ5から第2の内部バス
102を通して第2の機能ブロック8に書き込まれる。
First, the operation of executing the operation between the data of the first function block 7 and the data of the second function block 8 and writing the operation result data into the second function block 8 will be described. .. When the CPU 6 issues an instruction for this arithmetic operation, the first functional block 7 is first connected to the first internal bus 101, and
The second functional block 8 is connected to the second internal bus 102. Then, one data from the first functional block 7 is passed through the first internal bus 101 to the first holding register 1
And the other data from the second functional block 8 is stored in the second holding register 2 through the second internal bus 102. On the other hand, the immediate value generation circuit 3 receives a control command 105 which is not a command from the CPU 6 to generate immediate data
Is given, the immediate value generation circuit 3 outputs the data held in the second holding register 2 to the ALU 4 as it is. After that, the ALU 4 uses the data held in the first holding register 1 and the data output from the immediate value generation circuit 3, that is, the data held in the second holding register 2 as two input data, and the CPU 6 A calculation between the two input data is executed in accordance with the calculation command 106 given by the above, and the result of the calculation is output as calculation result data. This operation result data is stored in the third holding register 5 and written from the third holding register 5 to the second functional block 8 through the second internal bus 102.

【0017】次に、第1の機能ブロック7が有するデー
タと即値データとの間で演算を実行し、演算結果データ
を第2の機能ブロック8に書き込む即値演算動作につい
て説明する。この即値演算動作を指示する命令をCPU
6が発行すると、上記と同様にまず第1の機能ブロック
7が第1の内部バス101に接続されるとともに、第2
の機能ブロック8が第2の内部バス102に接続され
る。そして、第1の機能ブロック7から一方のデータが
第1の内部バス101を通して第1の保持レジスタ1に
格納される。即値生成回路3にはCPU6から即値デー
タの生成を指示する制御指令105が与えられ、即値生
成回路3は、該制御指令105に従って即値データを生
成し、該生成した即値データを出力する。この後、AL
U4は、第1の保持レジスタ1が保持しているデータと
即値生成回路3から出力されたデータすなわち即値デー
タとを2つの入力データとして、CPU6から与えられ
た演算指令106に従って該2つの入力データの間の演
算を実行し、該演算の結果を演算結果データとして出力
する。この演算結果データは、第3の保持レジスタ5に
格納され、該第3の保持レジスタ5から第2の内部バス
102を通して第2の機能ブロック8に書き込まれる。
Next, an immediate value operation for executing an operation between the data of the first functional block 7 and the immediate data and writing the operation result data in the second functional block 8 will be described. The CPU issues an instruction to instruct this immediate operation
6 is issued, the first functional block 7 is first connected to the first internal bus 101 and the second functional block 7 is issued.
The functional block 8 of is connected to the second internal bus 102. Then, one data from the first functional block 7 is stored in the first holding register 1 through the first internal bus 101. The CPU 6 gives a control command 105 to the immediate value generation circuit 3 to generate immediate data, and the immediate value generation circuit 3 generates immediate data according to the control command 105 and outputs the generated immediate data. After this, AL
U4 uses the data held in the first holding register 1 and the data output from the immediate value generation circuit 3, that is, the immediate data as two input data, according to the operation command 106 given from the CPU 6 to input the two input data. The calculation is performed and the result of the calculation is output as calculation result data. This operation result data is stored in the third holding register 5 and written from the third holding register 5 to the second functional block 8 through the second internal bus 102.

【0018】以上のとおり本実施例によれば、第2の保
持レジスタ2とALU4との間に制御指令105により
制御される即値生成回路3を介在させており、即値演算
動作の場合には該即値生成回路3が即値データを生成す
るので、CPU6が内部バスを通してALU4に即値デ
ータを与える必要はなくなる。したがって、内部バスの
数を従来の3組から2組(第1及び第2の内部バス10
1,102)に減らすことができる。
As described above, according to this embodiment, the immediate value generation circuit 3 controlled by the control command 105 is interposed between the second holding register 2 and the ALU 4, and in the case of the immediate value calculation operation, Since the immediate value generation circuit 3 generates immediate data, the CPU 6 does not need to give immediate data to the ALU 4 through the internal bus. Therefore, the number of internal buses is changed from the conventional three to two (first and second internal buses 10 and 10).
1, 102).

【0019】[0019]

【発明の効果】以上説明してきたとおり本発明によれ
ば、第2の内部バス上のデータを保持するための第2の
保持レジスタとALUとの間に即値生成回路を介在さ
せ、該即値生成回路はCPUの制御下で自己が生成した
即値データと第2の保持レジスタが保持しているデータ
とのうちのいずれか一方をALUに与える構成を採用し
たので、ALUには内部バスを介さずに即値データが与
えられる。したがって、CPUは、即値演算動作に際し
て2つの機能ブロックの各々を第1及び第2の内部バス
にそれぞれ接続するための命令を発行すればよく、CP
Uが発行する命令のソース及びディスティネーションの
指定が簡略化される。また、即値データが内部バスを経
由せずにALUに与えられるので、従来とは違って即値
演算動作のためにわざわざ3組の内部バスを設ける必要
がない。つまり、上記のとおり2組の内部バス(第1及
び第2の内部バス)を設けるだけで十分であるので、内
部バスのための配線数が低減し、該内部バスに接続され
る各機能ブロックのインターフェースが簡素化される。
As described above, according to the present invention, the immediate value generating circuit is interposed between the ALU and the second holding register for holding the data on the second internal bus, and the immediate value generating circuit is generated. Since the circuit adopts a configuration in which either the immediate data generated by itself under the control of the CPU or the data held by the second holding register is given to the ALU, the ALU does not go through the internal bus. Immediate data is given to. Therefore, the CPU only has to issue an instruction for connecting each of the two functional blocks to the first and second internal buses in the immediate value calculation operation.
The specification of the source and destination of the instruction issued by U is simplified. In addition, since the immediate data is given to the ALU without passing through the internal bus, it is not necessary to purposely provide three sets of internal buses for the immediate operation unlike the conventional case. That is, since it is sufficient to provide two sets of internal buses (first and second internal buses) as described above, the number of wires for the internal bus is reduced, and each functional block connected to the internal bus is reduced. The interface of is simplified.

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

【図1】 本発明の実施例に係るデータ処理装置のブロ
ック図である。
FIG. 1 is a block diagram of a data processing device according to an embodiment of the present invention.

【図2】 従来のデータ処理装置のブロック図である。FIG. 2 is a block diagram of a conventional data processing device.

【符号の説明】[Explanation of symbols]

1 第1の保持レジスタ 2 第2の保持レジスタ 3 即値生成回路 4 ALU(演算器) 5 第3の保持レジスタ 6 CPU(中央処理装置) 7 第1の機能ブロック 8 第2の機能ブロック 101 第1の内部バス 102 第2の内部バス 103 第3の内部バス 105 制御指令 106 演算指令 1 1st holding register 2 2nd holding register 3 immediate value generation circuit 4 ALU (arithmetic unit) 5 3rd holding register 6 CPU (central processing unit) 7 1st functional block 8 2nd functional block 101 1st Internal bus 102 Second internal bus 103 Third internal bus 105 Control command 106 Calculation command

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置と第1及び第2の内部バス
とを備えたデータ処理装置であって、 前記第1の内部バス上のデータを保持するための第1の
保持レジスタと、 前記第2の内部バス上のデータを保持するための第2の
保持レジスタと、 前記中央処理装置から制御指令が与えられ、該制御指令
が即値データの生成を指示する指令である場合は即値デ
ータを生成しかつ該生成した即値データを出力し、該制
御指令が即値データの生成を指示する指令でない場合は
前記第2の保持レジスタが保持しているデータをそのま
ま出力する即値生成回路と、 前記第1の保持レジスタが保持しているデータと前記即
値生成回路から出力されたデータとを2つの入力データ
として、前記中央処理装置から与えられた演算指令に従
って該2つの入力データの間の演算を実行し、該演算の
結果を演算結果データとして出力する演算器と、 前記演算器から出力された演算結果データを保持し、か
つ該保持した演算結果データを前記第2の内部バスへ出
力する第3の保持レジスタとを備えたことを特徴とする
データ処理装置。
1. A data processing device comprising a central processing unit and first and second internal buses, comprising: a first holding register for holding data on the first internal bus; A second holding register for holding data on the second internal bus, and a control command given from the central processing unit, and when the control command is a command for instructing generation of immediate data, immediate data is stored. An immediate value generation circuit that generates and outputs the generated immediate data, and outputs the data held in the second holding register as it is if the control command is not a command for instructing generation of immediate data; The data held in the first holding register and the data output from the immediate value generation circuit are used as two input data, and the two input data are input in accordance with the operation command given from the central processing unit. An arithmetic unit for executing an arithmetic operation between them and outputting the result of the arithmetic operation as arithmetic result data; an arithmetic operation result data output from the arithmetic operation unit; And a third holding register for outputting to the data processing device.
JP3207035A 1991-08-19 1991-08-19 Data processor Withdrawn JPH0546381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3207035A JPH0546381A (en) 1991-08-19 1991-08-19 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3207035A JPH0546381A (en) 1991-08-19 1991-08-19 Data processor

Publications (1)

Publication Number Publication Date
JPH0546381A true JPH0546381A (en) 1993-02-26

Family

ID=16533128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3207035A Withdrawn JPH0546381A (en) 1991-08-19 1991-08-19 Data processor

Country Status (1)

Country Link
JP (1) JPH0546381A (en)

Similar Documents

Publication Publication Date Title
JPH04245324A (en) Arithmetic unit
JPH0546381A (en) Data processor
JPS61175816A (en) Printing controlling system
JPH11306074A (en) Information processor
JPS6362064A (en) Bus converter
JPS6057440A (en) Information processor
JPH0664540B2 (en) Large scale integrated circuit test circuit
JPH05150944A (en) Digital signal processor
JPS62237556A (en) Dma data transfer system
JPH04155481A (en) Microprocessor
JPS59201153A (en) Host connection system for stand-alone type picture processing system
JPH0520031A (en) Arithmetic control system
JPS58146925A (en) Method for direct access to memory of microprocessor
JPH09231151A (en) Communication processor for computer
JPH0756758A (en) Data processor
JPH05165771A (en) Digital integrated circuit device
JPH05204878A (en) Interface control system
RU97107751A (en) DIGITAL DIAGNOSTIC SYSTEM
JPH03110659A (en) Data processor
JPH05257860A (en) Information processor
JPH02162451A (en) Microprocessor
JPS60246464A (en) Data transferring system of buffer memory
JPH03102512A (en) System for improving speed in file input/output
JPH0433152A (en) Bus system
JPS5837577B2 (en) common bass

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981112