JPS6368924A - System for controlling data processing of microprocessor - Google Patents

System for controlling data processing of microprocessor

Info

Publication number
JPS6368924A
JPS6368924A JP61211727A JP21172786A JPS6368924A JP S6368924 A JPS6368924 A JP S6368924A JP 61211727 A JP61211727 A JP 61211727A JP 21172786 A JP21172786 A JP 21172786A JP S6368924 A JPS6368924 A JP S6368924A
Authority
JP
Japan
Prior art keywords
register
data
external
cycle
microprocessor
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
JP61211727A
Other languages
Japanese (ja)
Other versions
JPH0820941B2 (en
Inventor
Hiroyuki Shimoi
洋行 下井
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 JP61211727A priority Critical patent/JPH0820941B2/en
Publication of JPS6368924A publication Critical patent/JPS6368924A/en
Publication of JPH0820941B2 publication Critical patent/JPH0820941B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To improve the data throughput of a system by providing a data register in the microprocessor, selecting an external register only in a 1st cycle among arithmetic processing cycles, and setting the data in the data register and releasing and holding the external register ready for external access. CONSTITUTION:An internal register 11 and an arithmetic means 12 are provided in the microprocessor 10 and arithmetic between data of the register 11 and external register 20 is carried out to process the data. In this constitution, the data register 13 is added newly in the processor 10 and connected to the arithmetic means 12, and data read out of the external register 20 is set in the register 13. Consequently, the register 20 is selected only in the 1st cycle among arithmetic processing cycles and data is read out and inputted to the register 13. In the next cycle, the means 12 performs arithmetic processing between data of the registers 13 and 11 to improve the data throughput of the whole system.

Description

【発明の詳細な説明】 〔概 要〕 マイクロプロセッサ(MPU)の内のレジスタと外部の
レジスタのデータ間の演算を行う場合のMPUのデータ
処理制御方式において、MPU内にデータレジスタを設
け、演算処理サイクルの最初の1サイクルだけ外部レジ
スタをセレクトし、そのデータをデータレジスタにセッ
トすると共に外部レジスタをMP[Jより解放して外部
からアクセス可能にした後、次のサイクルでデータレジ
スタのデータを読み出して演算を行う。これにより、シ
ステム全体のデータ処理効率を向上させ、回路構成を簡
単化することが出来る。
[Detailed Description of the Invention] [Summary] In a data processing control method for an MPU when performing an operation between data in a register inside the MPU and an external register, a data register is provided in the MPU and the operation is performed. Select the external register for the first cycle of the processing cycle, set the data in the data register, release the external register from MP[J to make it accessible from the outside, and then set the data in the data register in the next cycle. Read and perform calculations. Thereby, the data processing efficiency of the entire system can be improved and the circuit configuration can be simplified.

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

本発明は、マイクロプロセッサのデータ処理制御方式、
特に、マイクロプロセッサの外部にあるレジスタのデー
タとマイクロプロセッサの内部にあるレジスタのデータ
間の演算を行う場合のデータ処理制御方式に関する。
The present invention provides a data processing control method for a microprocessor;
In particular, the present invention relates to a data processing control method when performing an operation between data in a register outside a microprocessor and data in a register inside the microprocessor.

〔従来の技術〕[Conventional technology]

マイクロプロセッサにおいては、その内部のレジスタに
ある各データ間の演算処理の他、マイクロプロセッサの
外部にあるレジスタのデータとマイクロプロセッサの内
部レジスタのデータ間の演算が行われる。
In a microprocessor, in addition to arithmetic processing between data stored in internal registers, arithmetic processing is performed between data in registers external to the microprocessor and data in internal registers of the microprocessor.

第4図は、外部レジスタのデータを対象とする従来のマ
イクロプロセッサのデータ処理制御方式をブロック図で
示したものである。
FIG. 4 is a block diagram showing a conventional microprocessor data processing control method for data in external registers.

第4図において、30は1チツプ形のマイクロプロセッ
サ(MPU)であり、40は外部レジスタである。
In FIG. 4, 30 is a one-chip microprocessor (MPU), and 40 is an external register.

MPU30において、31は汎用の内部レジスタで、演
算されるデータ及び演算結果が格納される。32はAバ
スマルチプレクサ(AバスMPX)で、内部レジスタ3
1からの入力データ、他の演算部(図示せず)からの入
力データ及び外部レジスタ40からの入力データ中の一
つを選択する。
In the MPU 30, 31 is a general-purpose internal register in which data to be operated and operation results are stored. 32 is an A bus multiplexer (A bus MPX), and internal register 3
1, input data from another calculation section (not shown), and input data from the external register 40.

33はBバスマルチプレクサ(BバスMPX)で、内部
レジスタ31及び他の演算部からの入力データの一方を
選択する。34は演算部(A L U)で、AバスMP
X32及びBバスMPX33から入力されたデータ間の
演算を行う。35は外部レジスタセレクト回路(XR3
EL回路)で、外部レジスタ40をセレクトする外部レ
ジスタセレクト信号(XR3EL信号)を発生する。3
6は外部レジスタアドレスレジスタ(XRADレジスタ
)で、外部レジスタ40をアクセスする外部レジスタア
ドレス(XRアドレス)がセットされる。
33 is a B bus multiplexer (B bus MPX) which selects one of input data from the internal register 31 and other arithmetic units. 34 is an arithmetic unit (ALU), which is connected to the A bus MP.
Performs calculations between data input from X32 and B bus MPX33. 35 is an external register select circuit (XR3
EL circuit) generates an external register select signal (XR3EL signal) that selects the external register 40. 3
6 is an external register address register (XRAD register) in which an external register address (XR address) for accessing the external register 40 is set.

41は外部レジスタマルチプレクサ(XRMPX)で、
MPU30の演算部34からの入力データ及び外部のハ
ードウェア(図示せず)からの入力データの一方を選択
して、外部レジスタ40の所定箇所に格納する。
41 is an external register multiplexer (XRMPX),
One of the input data from the arithmetic unit 34 of the MPU 30 and the input data from external hardware (not shown) is selected and stored in a predetermined location of the external register 40.

次に、第4図の動作を、第5図の動作タイミングチャー
トを参照して説明する。
Next, the operation of FIG. 4 will be explained with reference to the operation timing chart of FIG. 5.

第5図において、CK+  、CKt等はMPU制御用
のクロックで、クロックCK、とCK、間、CKtとC
K1間等でそれぞれ1サイクルを形成する(第5図(a
))。
In FIG. 5, CK+, CKt, etc. are clocks for MPU control, and between clocks CK and CK, between CKt and C
One cycle is formed between K1, etc. (Fig. 5 (a)
)).

クロックCKIの立下り時点t、からクロックCK、の
立下り時点t3までの2サイクル間において、MPU3
0で演算処理が行われる(第5図(b))。それと共に
、XR3EL回路35は、XR3EL信号を発生して、
t、xjsの2サイクル期間に外部レジスタ41をセレ
クトする(第5図(C))。XR3EL信号によりセレ
クトされているt1〜t、の2サイクル期間において、
MPU30以外は、外部レジスタ41にアクセスするこ
とが出来ない。
During two cycles from the falling time t of the clock CKI to the falling time t3 of the clock CK, the MPU 3
Arithmetic processing is performed at 0 (FIG. 5(b)). At the same time, the XR3EL circuit 35 generates an XR3EL signal,
The external register 41 is selected during two cycle periods of t and xjs (FIG. 5(C)). During the two cycle period from t1 to t selected by the XR3EL signal,
No one other than the MPU 30 can access the external register 41.

クロックCK、の立下り時点t1において内部レジスタ
31はアクセスされると、読み出されたデータは、Bバ
スMPX33に送られる(第5図(e))。
When the internal register 31 is accessed at the falling time t1 of the clock CK, the read data is sent to the B bus MPX33 (FIG. 5(e)).

一方、クロックCK、の立下り時点t1においてXR3
EL信号が発生されると共に、XRADレジスタ36よ
りアドレスが読み出されて、外部レジスタ40をアクセ
スする。MPU30の他に図示しないMPUが多数存在
するために、外部レジスタ40からのデータ読出しは、
内部レジスタの読出しよりも送れて行われる(第5図c
d))。
On the other hand, at the falling time t1 of the clock CK, XR3
When the EL signal is generated, the address is read from the XRAD register 36 and the external register 40 is accessed. Since there are many MPUs (not shown) in addition to the MPU 30, reading data from the external register 40 requires
This is done faster than reading the internal register (Figure 5c).
d)).

後半のサイクル(tg”tz)において、AバスMPX
32は外部レジスタ40のデータを選択し、BバスMP
X33は内部レジスタ31のデータを選択してALU3
4に加える。
In the latter half of the cycle (tg"tz), the A bus MPX
32 selects the data of the external register 40 and transfers it to the B bus MP.
X33 selects the data in internal register 31 and sends it to ALU3.
Add to 4.

ALU34において所定の演算が終了すると(第5図(
f))、次のサイクルにおいて、演算結果は内部レジス
タ31又はXRMPX41を介して外部レジスタ40の
所定の箇所に格納される(第5図(幻)。
When the predetermined calculation is completed in the ALU 34 (Fig. 5 (
f)) In the next cycle, the operation result is stored in a predetermined location of the external register 40 via the internal register 31 or the XRMPX 41 (FIG. 5 (phantom)).

以上の処理を繰り返すことにより、2サイクル単位で演
算が行われる。
By repeating the above processing, calculations are performed in units of two cycles.

〔発明が解決しようとする問題点〕 従来のマイクロプロセッサのデータ処理制御方式は、前
述の様に、2サイクル単位で演算が行われ、この間外部
レジスタ40はMPU30によってセレクトされていた
。そして、このMPU30によってセレクトされている
2サイクル期間、周辺装置等外部のハードウェアは外部
レジスタ31をアクセスすることが出来ず待たされるこ
とになる。
[Problems to be Solved by the Invention] As described above, in the conventional data processing control system of a microprocessor, calculations are performed in units of two cycles, during which time the external register 40 is selected by the MPU 30. During the two cycle period selected by the MPU 30, external hardware such as peripheral devices cannot access the external register 31 and is forced to wait.

この為、外部の周辺装置を含むシステム全体のデータ処
理効率が低下するという問題があった。
For this reason, there is a problem in that the data processing efficiency of the entire system including external peripheral devices is reduced.

又、MPU30が演算処理を行っている後半の1サイク
ル(tz〜ts)中に、外部から外部レジスタ40をア
クセスしてデータの書込みを行うと、MPU30の読出
しデータの内容に変更が生じる恐れがある。この為、前
半の1サイクルの他に後半の1サイクル期間中において
も外部からのアクセスを禁止する特別のハード回路を設
けなければならないという問題があった。
Furthermore, if the external register 40 is accessed from the outside and data is written during the second half cycle (tz to ts) when the MPU 30 is performing arithmetic processing, there is a risk that the contents of the data read by the MPU 30 may be changed. be. For this reason, there is a problem in that a special hardware circuit must be provided to prohibit access from the outside not only during the first half cycle but also during the second half cycle.

本発明は、MPU30によって演算が行われ処理サイク
ル期間中の最初の1サイクルだけ外部レジスタ40をセ
レクトし、以降の処理サイクルでは外部レジスタ40を
MPU30より解放して外部からアクセス可能とするこ
とにより、システム全体のデータ処理効率を向上させる
と共に、外部からの外部レジスタ40へのデータ書込み
を禁止する特別な回路を不要にしたマイクロプロセッサ
のデータ処理制御方式を提供することを目的とする。
The present invention selects the external register 40 only in the first cycle during the processing cycle period when the MPU 30 performs an operation, and releases the external register 40 from the MPU 30 in the subsequent processing cycles so that it can be accessed from the outside. It is an object of the present invention to provide a data processing control method for a microprocessor that improves the data processing efficiency of the entire system and eliminates the need for a special circuit that prohibits data writing to an external register 40 from the outside.

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

本発明の講じた解決手段を、第1図を参照して説明する
。第1図は、本発明の原理説明図である。
The solution taken by the present invention will be explained with reference to FIG. FIG. 1 is a diagram explaining the principle of the present invention.

第1図において、10はマイクロプロセッサ(MPU)
であり、20は外部レジスタである。
In Figure 1, 10 is a microprocessor (MPU)
and 20 is an external register.

MPUl0において、11は内部レジスタで、演算デー
タが格納される。12は演算手段で、入力データに対す
る演算処理を行う。
In MPU10, 11 is an internal register in which calculation data is stored. 12 is an arithmetic means that performs arithmetic processing on input data.

XR3EL信号は、外部レジスタ20をセレクトする信
号であり、MPUl0又はMPUl0の外部から供給さ
れる。XRアドレスは外部レジスタ20をアクセスする
アドレスで、MPUl0又はMPtJloの外部から供
給される。
The XR3EL signal is a signal that selects the external register 20, and is supplied from MPU10 or from outside of MPU10. The XR address is an address for accessing the external register 20, and is supplied from outside MPU10 or MPtJlo.

13はデータレジスタで、外部レジスタ20より読み出
されたデータがセットされる。データレジスタ13から
読み出されたデータは、演算手段12に供給される。な
お、このデータレジスタは、MPUl0内に既存するレ
ジスタをデータレジスタとして用いる様にしてもよい。
Reference numeral 13 denotes a data register, into which data read from the external register 20 is set. The data read from the data register 13 is supplied to the calculation means 12. Note that an existing register in MPU10 may be used as this data register.

〔作 用〕[For production]

第1図の動作を、第2図の動作タイミングチャートを参
照して説明する。
The operation of FIG. 1 will be explained with reference to the operation timing chart of FIG. 2.

第2図において、CKI 、CF2等はMPU制御用の
クロックで、隣接するクロック間が1サイタルを形成す
る(第2図(a))。
In FIG. 2, CKI, CF2, etc. are clocks for MPU control, and adjacent clocks form one cital (FIG. 2(a)).

MPUl0は、クロックCK +の立下り時点t1から
クロックCK 3の立下り時点t、までの2サイクル間
において、所定の演算処理を行う(第2図(b))。な
お、この2サイクルは、クロックCKI及びCKffの
立上り時点間の2サイクルでもよい。
The MPU10 performs predetermined arithmetic processing during two cycles from the falling time t1 of the clock CK+ to the falling time t of the clock CK3 (FIG. 2(b)). Note that these two cycles may be two cycles between the rising points of the clocks CKI and CKff.

一方、XR3EL信号は、最初の1サイクル期間即ちク
ロックCKI及びCK zの立下り時点t、とt2間の
1サイクル期間だけ外部レジスタ20をセレクトする(
第2図(C))。
On the other hand, the XR3EL signal selects the external register 20 for only the first cycle period, that is, the one cycle period between the falling time t of the clocks CKI and CKz and t2 (
Figure 2 (C)).

XRアドレスは、この外部レジスタ20がセレクトされ
ている1サイクル期間(1+ 〜tz)において外部レ
ジスタ20をアクセスして、データの読出しを行う (
第2図(d))。
The XR address accesses the external register 20 during one cycle period (1+ to tz) when the external register 20 is selected and reads data (
Figure 2(d)).

外部レジスタ20より読み出されたデータは、次の後半
サイクルCtz〜t3)において、MPUl0にあるデ
ータレジスタ13にセットされる。
The data read from the external register 20 is set in the data register 13 in MPUl0 in the next second half cycle Ctz~t3).

これにより外部レジスタ20は、MPUl0より解放さ
れる(第2図(e))。外部レジスタ20からデータレ
ジスタ13へのデータ転送処理は、後半サイクルHz〜
ti)の最初において終了するので、後半サイクル(t
z〜t3)に入ると直ちに外部レジスタ20を解放状態
にして、外部からアクセスしてデータの書込み及び読出
しを可能にしても、実際の書込みや読出しは第2図td
)に示す様に時間遅れがあるので問題は生じない。
As a result, the external register 20 is released from the MPU10 (FIG. 2(e)). The data transfer process from the external register 20 to the data register 13 is performed in the second half cycle Hz ~
Since it ends at the beginning of the second half cycle (t
Even if the external register 20 is immediately released after entering z~t3) and data can be written and read by accessing from the outside, actual writing and reading are not performed until td in Figure 2.
), there is a time delay, so no problem occurs.

一方、内部レジスタ11のデータは、最初のサイクル(
1+〜tz)において読み出され、次の後半サイクル(
tg〜ts)まで読出し状態が保持される(第2図(f
))。
On the other hand, the data in the internal register 11 is stored in the first cycle (
1+~tz), and is read out in the next second half cycle (
The read state is maintained from tg to ts (Fig. 2(f)
)).

後半のサイクル(t’s〜t3)において、演算手段1
2は、内部レジスタ11から読み出されたデータとデー
タレジスタ13から読み出されたデータに対して所定の
演算を行う(第2図(g))。演算結果は、次のサイク
ルにおいて、内部レジスタ11の所定箇所に格納される
(第2図(h))。
In the latter half of the cycle (t's to t3), the calculation means 1
2 performs a predetermined operation on the data read from the internal register 11 and the data read from the data register 13 (FIG. 2(g)). The calculation result is stored in a predetermined location in the internal register 11 in the next cycle (FIG. 2(h)).

なお、処理サイクルが2サイクル以上である場合も同様
である。
Note that the same applies when the processing cycle is two or more cycles.

以上の様にすることにより、MPUl0によって演算が
行われる処理サイクル期間中の最初の1サイクルだけ外
部レジスタ20がセレクトされ、後半の処理サイクルで
は外部レジスタ20が解放される。この結果、外部から
外部レジスタへのアクセスが可能となり、システム全体
のデータ処理効率を向上させることが出来る。又、後半
の処理サイクルにおいて外部から外部レジスタ20へ自
由にアクセスすることが可能であるので、後半の処理サ
イクルにおいてアクセスを禁止する回路を設ける必要が
無くなり、全体の回路を簡単化することが出来る。
By doing as described above, the external register 20 is selected only in the first cycle during the processing cycle period in which an operation is performed by the MPU10, and the external register 20 is released in the latter half of the processing cycle. As a result, external registers can be accessed from the outside, and data processing efficiency of the entire system can be improved. Furthermore, since it is possible to freely access the external register 20 from the outside in the latter half of the processing cycle, there is no need to provide a circuit that prohibits access in the second half of the processing cycle, and the entire circuit can be simplified. .

〔実施例〕〔Example〕

本発明の一実施例を、第2図及び第3図を参照して説明
する。第3図は、本発明の一実施例の構成のブロック説
明図であり、第2図は、実施例の動作タイミングチャー
トとしても用いられる。
An embodiment of the present invention will be described with reference to FIGS. 2 and 3. FIG. 3 is a block explanatory diagram of the configuration of an embodiment of the present invention, and FIG. 2 is also used as an operation timing chart of the embodiment.

(A)実施例の構成 第3図において、MPUIO1内部レジスタ11、演算
手段12、データレジスタ13、外部レジスタ20につ
いては、第1図で説明した通りである。
(A) Configuration of Embodiment In FIG. 3, the MPUIO 1 internal register 11, arithmetic means 12, data register 13, and external register 20 are as described in FIG.

演算手段12において、121はAバスマルチプレクサ
(AバスMPX)で、内部レジスタ11からの入力デー
タ、他の演算部(図示せず)からの入力データ及びデー
タレジスタ13からの入力データ中の一つを選択する。
In the calculation means 12, 121 is an A-bus multiplexer (A-bus MPX), which inputs one of the input data from the internal register 11, the input data from another calculation unit (not shown), and the input data from the data register 13. Select.

122はBバスマルチプレクサ(BバスMPX)で、内
部レジスタ11及び他の演算部からの入力データの一方
を選択する。
122 is a B bus multiplexer (B bus MPX) that selects one of the input data from the internal register 11 and other arithmetic units.

123は演算部(A L U)で、AバスMPXI21
及びBバスMPX122から入力されたデータ間の演算
を行う。
123 is an arithmetic unit (ALU), and A bus MPXI21
and performs calculations between the data input from the B bus MPX122.

14は外部レジスタセレクト回路(X RS EL回路
)で、外部レジスタセレクト信号(X RS EL倍信
号を発生する。15は外部レジスタアドレスレジスタ(
XRADレジスタ)で、外部レジスタ20をアクセスす
る外部レジスタアドレス(XRアドレス)がセットされ
る。
14 is an external register select circuit (X RS EL circuit) which generates an external register select signal (X RS EL double signal). 15 is an external register address register (
The external register address (XR address) for accessing the external register 20 is set in the XRAD register).

21は外部レジスタマルチプレクサ(XRMPX)で、
MPUl0の演算部123からの入力データ及び外部の
ハードウェア(図示せず)からの入力データの一方を選
択して、外部レジスタ20の所定箇所に格納する。
21 is an external register multiplexer (XRMPX),
One of the input data from the arithmetic unit 123 of the MPU10 and the input data from external hardware (not shown) is selected and stored in a predetermined location of the external register 20.

(B)実施例の動作 実施例の動作を、第2図の動作タイミングチャートを参
照して説明する。
(B) Operation of the Embodiment The operation of the embodiment will be explained with reference to the operation timing chart of FIG.

MPUIOは、クロックCK、の立下り時点t1からク
ロックCK3の立下り時点t3までの2サイクル間にお
いて、所定の演算処理を行う(第2図山))。
The MPUIO performs predetermined arithmetic processing during two cycles from the falling time t1 of the clock CK to the falling time t3 of the clock CK3 (Fig. 2, mountain)).

一方、XR3EL回路14は、XR3EL信号を発生し
て、最初の1サイクル期間即ち、クロックCK、及びC
K2の立下り時点t、とtz間の1サイクル期間だけ外
部レジスタ20をセレクトする(第2図(C))。
On the other hand, the XR3EL circuit 14 generates the XR3EL signal for the first cycle period, that is, the clock CK and C
The external register 20 is selected for one cycle period between the falling time t and tz of K2 (FIG. 2(C)).

XRADレジスタ15より読み出されたXRアドレスは
、この外部レジスタ20がセレクトされている1サイク
ル期間(1+〜tx>において外部レジスタ20をアク
セスして、データの読出しを行う(第2図(d))。
The XR address read from the XRAD register 15 accesses the external register 20 during one cycle period (1+~tx>) in which the external register 20 is selected, and reads data (see FIG. 2(d)). ).

外部レジスタ20より読み出されたデータは、次の後半
サイクル(tz〜t3)の最初において、データレジス
タ13にセットされる(第2図(e))。
The data read from the external register 20 is set in the data register 13 at the beginning of the next second half cycle (tz to t3) (FIG. 2(e)).

これにより、後半サイクルでは外部レジスタ20がMP
U−10から解放されるので、外部のハードウェアより
外部レジスタ20を自由にアクセスすることが可能とな
る。
As a result, the external register 20 is set to MP in the second half cycle.
Since it is released from U-10, it becomes possible to freely access the external register 20 from external hardware.

一方、内部レジスタ11のデータは、最初のサイクルN
+”tz)において読み出され、次の後半サイクル(t
z〜ta)まで読出し状態が保持される(第2図(f)
)。
On the other hand, the data in the internal register 11 is
+”tz) and is read out in the next second half cycle (t
The read state is maintained from z to ta (Fig. 2(f)
).

後半のサイクル(tz〜t3)において、AバスMPX
121はデータレジスタ13のデータを選択し、Bバス
MPX122は内部レジスタ123のデータを選択して
ALU123に加える。
In the second half cycle (tz to t3), A bus MPX
121 selects the data in the data register 13, and the B bus MPX 122 selects the data in the internal register 123 and adds it to the ALU 123.

ALU123は、後半のサイクル(tz〜t3)におい
て所定の演算処理を行う(第2図(g))。次のサイク
ルにおいて、演算結果は、内部レジスタ11の所定の箇
所に格納される(第2図(h))。
The ALU 123 performs predetermined arithmetic processing in the latter half cycle (tz to t3) (FIG. 2(g)). In the next cycle, the calculation result is stored at a predetermined location in the internal register 11 (FIG. 2(h)).

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

以上説明した様に、本発明によれば次の諸効果が得られ
る。
As explained above, according to the present invention, the following effects can be obtained.

(イ)MPUによって演算が行われる演算処理サイクル
期間中の最初の1サイクルだけ外部レジスタがセレクト
され、次のサイクル以後は外部レジスタはMPUより解
放されて外部から自由にアクセスが可能となるので、外
部ハードウェアの待ち合せが少くなりシステム全体のデ
ータ処理効率を向上させることか出来る。
(b) External registers are selected only in the first cycle during the arithmetic processing cycle period in which the MPU performs arithmetic operations, and from the next cycle onwards, the external registers are released by the MPU and can be accessed freely from the outside. The amount of waiting for external hardware is reduced, and the data processing efficiency of the entire system can be improved.

(ロ)MPUが外部レジスタのデータを対象とする演算
処理の全サイクル期間において外部レジスタを外部から
アクセスすることを禁止する回路が不要となるので、全
体の回路を簡単化することが出来る。
(b) Since there is no need for a circuit that prohibits the MPU from accessing the external register from the outside during the entire cycle of arithmetic processing for the data in the external register, the entire circuit can be simplified.

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

第1図・・・本発明の原理説明図、 第2図・・・本発明及び実施例の動作タイミングチャー
ト、 第3図・・・本発明の一実施例の構成の説明図、第4図
・・・従来のマイクロプロセッサのデータ処理制御方式
の説明図、 第5図・・・従来のマイクロプロセッサのデータ処理制
御方式の動作タイミングチャート。 第1図及び第3図において、 10・・・マイクロプロセッサ(MPU) 、11・・
・内部レジスタ、12・・・演算手段、13・・・デー
タレジスタ、14・・・外部レジスタセレクト(XR3
EL)回路、15・・・外部レジスタアドレス(XRA
D)レジスタ、20・・・外部レジスタ。
Fig. 1: An explanatory diagram of the principle of the present invention. Fig. 2: An operation timing chart of the present invention and an embodiment. Fig. 3: An explanatory diagram of the configuration of an embodiment of the present invention. Fig. 4. . . . Explanatory diagram of a conventional microprocessor data processing control method. FIG. 5 . . . Operation timing chart of a conventional microprocessor data processing control method. 1 and 3, 10... microprocessor (MPU), 11...
・Internal register, 12... Arithmetic means, 13... Data register, 14... External register select (XR3
EL) circuit, 15... External register address (XRA
D) Register, 20...external register.

Claims (1)

【特許請求の範囲】 内部に内部レジシスタ(11)及び演算手段(12)を
備え、内部レジスタ(11)と外部に設けられた外部レ
ジスタ(20)のデータ間の演算を行う場合のマイクロ
プロセッサ(10)のデータ処理制御方式において、(
a)マイクロプロセッサ(10)の内部に外部レジスタ
(11)から読み出されたデータがセットされるデータ
レジスタ(13)を設け、 (b)演算処理サイクル中の最初の1サイクルだけ外部
レジスタ(20)をセレクトして、外部レジスタ(20
)のデータ読み出しを行い、読み出されたデータをデー
タバッファ(13)にセットし、 (c)次のサイクルにおいて、演算手段(12)により
データバッファ(13)と内部レジスタ(11)のデー
タ間の演算処理を行う、 ことを特徴とするマイクロプロセッサのデータ処理制御
方式。
[Scope of Claims] A microprocessor (1) that is equipped with an internal register (11) and a calculation means (12), and that performs calculations between data in the internal register (11) and an external register (20) provided outside. 10) In the data processing control method, (
a) A data register (13) is provided inside the microprocessor (10) to which data read from the external register (11) is set; (b) The external register (20 ) and select the external register (20
), the read data is set in the data buffer (13), and (c) in the next cycle, the arithmetic means (12) reads the data between the data buffer (13) and the internal register (11). A data processing control method for a microprocessor, which performs arithmetic processing.
JP61211727A 1986-09-10 1986-09-10 Microprocessor Expired - Fee Related JPH0820941B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61211727A JPH0820941B2 (en) 1986-09-10 1986-09-10 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61211727A JPH0820941B2 (en) 1986-09-10 1986-09-10 Microprocessor

Publications (2)

Publication Number Publication Date
JPS6368924A true JPS6368924A (en) 1988-03-28
JPH0820941B2 JPH0820941B2 (en) 1996-03-04

Family

ID=16610600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61211727A Expired - Fee Related JPH0820941B2 (en) 1986-09-10 1986-09-10 Microprocessor

Country Status (1)

Country Link
JP (1) JPH0820941B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02178832A (en) * 1988-12-29 1990-07-11 Fujitsu Ten Ltd Arithmetic unit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55134443A (en) * 1979-04-04 1980-10-20 Fujitsu Ltd Data processing unit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55134443A (en) * 1979-04-04 1980-10-20 Fujitsu Ltd Data processing unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02178832A (en) * 1988-12-29 1990-07-11 Fujitsu Ten Ltd Arithmetic unit
JPH0514287B2 (en) * 1988-12-29 1993-02-24 Fujitsu Ten Ltd

Also Published As

Publication number Publication date
JPH0820941B2 (en) 1996-03-04

Similar Documents

Publication Publication Date Title
JP3035828B2 (en) Information processing device
JP2752076B2 (en) Programmable controller
JPS6368924A (en) System for controlling data processing of microprocessor
JPH01500065A (en) Apparatus and method for microprogram information processing system with multiple control stores
JPH0640337B2 (en) Pipeline arithmetic unit
US5677996A (en) Fuzzy computer
JPH01273132A (en) Microprocessor
JPS6315628B2 (en)
JP2758624B2 (en) Speed control method of micro program
JPS60204029A (en) Signal processing device
JP2544015B2 (en) Micro program processor
JPS6330940A (en) Multitask processing system
JP2819733B2 (en) Information processing device
JPS62123526A (en) Central processing unit for digital signal processor
JP2668215B2 (en) Micro computer
JPH0340075A (en) Microcomputer
JPH0317135B2 (en)
JPS6111850A (en) Microcomputer system
JPS6229813B2 (en)
JPS61161560A (en) Memory device
JPH0158528B2 (en)
JPH03263265A (en) Vector processor
JPS6198446A (en) Control register
JPS61216030A (en) Control system for microprogram
JPH0695304B2 (en) Data processing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees