JPH0820941B2 - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JPH0820941B2
JPH0820941B2 JP61211727A JP21172786A JPH0820941B2 JP H0820941 B2 JPH0820941 B2 JP H0820941B2 JP 61211727 A JP61211727 A JP 61211727A JP 21172786 A JP21172786 A JP 21172786A JP H0820941 B2 JPH0820941 B2 JP H0820941B2
Authority
JP
Japan
Prior art keywords
register
data
external
cycle
external register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP61211727A
Other languages
Japanese (ja)
Other versions
JPS6368924A (en
Inventor
洋行 下井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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

Landscapes

  • Executing Machine-Instructions (AREA)

Description

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

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

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

〔従来の技術〕[Conventional technology]

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

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

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

MPU30において、31は汎用の内部レジスタで、演算さ
れるデータ及び演算結果が格納される。32はAバスマル
チプレクサ(AバスMPX)で、内部レジスタ31からの入
力データ、他の演算部(図示せず)からの入力データ及
び外部レジスタ40からの入力データ中の一つを選択す
る。33はBバスマルチプレクサ(BバスMPX)で、内部
レジスタ31及び他の演算部からの入力データの一方を選
択する。34は演算部(ALU)で、AバスMPX32及びBバス
MPX33から入力されたデータ間の演算を行う。35は外部
レジスタセレクト回路(XRSEL回路)で、外部レジスタ4
0をセレクトする外部レジスタセレクト信号(XRSEL信
号)を発生する。36は外部レジスタアドレスレジスタ
(XRADレジスタ)で、外部レジスタ40をアクセスする外
部レジスタアドレス(XRアドレス)がセットされる。
In the MPU 30, 31 is a general-purpose internal register that stores the data to be operated and the operation result. An A bus multiplexer (A bus MPX) 32 selects one of input data from the internal register 31, input data from another arithmetic unit (not shown) and input data from the external register 40. A B-bus multiplexer (B-bus MPX) 33 selects one of the input data from the internal register 31 and another arithmetic unit. 34 is an arithmetic unit (ALU), which is an A bus MPX32 and a B bus
Performs calculations on the data input from the MPX33. 35 is an external register select circuit (XRSEL circuit), which is an external register 4
An external register select signal (XRSEL signal) that selects 0 is generated. An external register address register (XRAD register) 36 is set with an external register address (XR address) for accessing the external register 40.

41は外部レジスタマルチプレクサ(XRMPX)で、MPU30
の演算部34からの入力データ及び外部のハードウエア
(図示せず)からの入力データの一方を選択して、外部
レジスタ40の所定箇所に格納する。
41 is an external register multiplexer (XRMPX), MPU30
One of the input data from the arithmetic unit 34 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 described with reference to the operation timing chart of FIG.

第5図において、CK1,CK2等はMPU制御用のクロック
で、クロックCK1とCK2間、CK2とCK3間等でそれぞれ1サ
イクルを形成する(第5図(a))。
In FIG. 5, CK 1 , CK 2 and the like are clocks for MPU control, and one cycle is formed between the clocks CK 1 and CK 2, between CK 2 and CK 3, etc. (FIG. 5A).

クロックCK1の立下り時点t1からクロックCK3の立下り
時点t3までの2サイクル間において、MPU30で演算処理
が行われる(第5図(b))。それと共に、XRSEL回路3
5は、XRSEL信号を発生して、t1〜t3の2サイクル期間に
外部レジスタ41をセレクトする(第5図(c))。XRSE
L信号によりセレクトされているt1〜t3の2サイクル期
間において、MPU30以外は、外部レジスタ41にアクセス
することが出来ない。
Between 2 cycles from the falling time t 1 of the clock CK 1 to the fall time t 3 of the clock CK 3, processing is performed in the MPU 30 (FIG. 5 (b)). Along with that, XRSEL circuit 3
5 generates the XRSEL signal and selects the external register 41 during the two-cycle period of t 1 to t 3 (FIG. 5 (c)). XRSE
During the two cycle periods of t 1 to t 3 selected by the L signal, the external register 41 cannot be accessed except for the MPU 30.

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

一方、クロックCK1の立下り時点t1においてXRSEL信号
が発生されると共に、XRADレジスタ36よりアドレスが読
み出されて、外部レジスタ40をアクセスする。MPU30の
他に図示しないMPUが多数存在するために、外部レジス
タ40からのデータ読出しは、内部レジスタの読出しより
も送れて行われる(第5図(d))。
On the other hand, at the falling time point t 1 of the clock CK 1 , the XRSEL 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) other than the MPU 30, the data reading from the external register 40 is performed by sending the data rather than the reading from the internal register (FIG. 5 (d)).

後半のサイクル(t2〜t3)において、AバスMPX32は
外部レジスタ40のデータを選択し、BバスMPX33は内部
レジスタ31のデータを選択してALU34に加える。
In the second half of the cycle (t 2 ~t 3), A bus MPX32 selects the data of the external register 40, B Bus MPX33 is added to ALU34 by selecting data in the internal register 31.

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

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

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

従来のマイクロプロセッサのデータ処理制御方式は、
前述の様に、2サイクル単位で演算が行われ、この間外
部レジスタ40はMPU30によってセレクトされていた。そ
して、このMPU30によってセレクトされている2サイク
ル期間、周辺装置等外部のハードウエアは外部レジスタ
31をアクセスすることが出来ず待たされることになる。
The conventional microprocessor data processing control method is
As described above, the operation is performed in units of two cycles, and the external register 40 is selected by the MPU 30 during this period. Then, during the 2-cycle period selected by the MPU30, the external hardware such as the peripheral device has an external register.
You can't access 31 and have to wait.

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

又、MPU30が演算処理を行っている後半の1サイクル
(t2〜t3)中に、外部から外部レジスタ40をアクセスし
てデータの書込みを行うと、MPU30の読出しデータの内
容に変更が生じる恐れがある。この為、前半の1サイク
ルの他に後半の1サイクル期間中においても外部からの
アクセスを禁止する特別のハード回路を設けなければな
らないという問題があった。
If the external register 40 is externally accessed and data is written during the latter half cycle (t 2 to t 3 ) in which the MPU 30 is performing arithmetic processing, the contents of the read data of the MPU 30 will change. There is a fear. Therefore, there is a problem that a special hardware circuit for prohibiting access from the outside must be provided during the latter half cycle period as well as the first half cycle.

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

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

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

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

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

XRSEL信号は、外部レジスタ20をセレクトする信号で
あり、MPU10又はMPU10の外部から供給される。XRアドレ
スは外部レジスタ20をアクセスするアドレスで、MPU10
又はMPU10の外部から供給される。
The XRSEL signal is a signal for selecting the external register 20 and is supplied from the MPU 10 or the outside of the MPU 10. The XR address is the address to access the external register 20, and the MPU10
Or supplied from outside the MPU10.

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

〔作 用〕[Work]

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

第2図において、CK1,CK2等はMPU制御用のクロック
で、隣接するクロック間が1サイクルを形成する(第2
図(a))。
In FIG. 2, CK 1 , CK 2, etc. are clocks for MPU control, and one cycle is formed between adjacent clocks (second
Figure (a)).

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

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

XRアドレスは、この外部レジスタ20がセレクトされて
いる1サイクル期間(t1〜t2)において外部レジスタ20
をアクセスして、データの読出しを行う(第2図
(d))。
XR address, external register 20 in 1 cycle period which the external register 20 is a select (t 1 ~t 2)
Is accessed to read data (FIG. 2 (d)).

外部レジスタ20より読み出されたデータは、次の後半
の第2サイクル(t2〜t3)において、MPU10にあるデー
タレジスタ13にセットされる。これにより外部レジスタ
20は、MPU10より解放される(第2図(e))。外部レ
ジスタ20からデータレジスタ13へのデータ転送処理は、
後半の第2サイクル(t2〜t3)の最初において終了する
ので、後半の第2サイクル(t2〜t3)に入ると直ちに外
部レジスタ20を解放状態にして、外部からアクセスして
データの書込み及び読出しを可能にしても、実際の書込
みや読出しは第2図(d)に示す様に時間遅れがあるの
で問題は生じない。
Data read from the external register 20, in the next second half of the second cycle (t 2 ~t 3), is set in the data register 13 in the MPU 10. This allows external registers
20 is released from the MPU 10 (Fig. 2 (e)). The data transfer process from the external register 20 to the data register 13
Since ends in the first second half of the second cycle (t 2 ~t 3), immediately to the external register 20 to the released state when the second half of the second cycle (t 2 ~t 3), data is accessed from the outside Even if the writing and reading are possible, there is no problem because the actual writing and reading have a time delay as shown in FIG. 2 (d).

一方、内部レジスタ11のデータは、最初の第1サイク
ル(t1〜t2)において読み出され、次の後半サイクル
(t2〜t3)まで読出し状態が保持される(第2図
(f))。
On the other hand, data in the internal register 11 is read in the initial first cycle (t 1 ~t 2), read state is maintained until the next second half cycle (t 2 ~t 3) (FIG. 2 (f )).

後半の第2サイクル(t2〜t3)において、演算手段12
は、内部レジスタ11から読み出されたデータとデータレ
ジスタ13から読み出されたデータに対して所定の演算を
行う(第2図(g))。演算結果は、次のサイクルにお
いて、内部レジスタ11の所定箇所に格納される(第2図
(h))。
In the second cycle (t 2 to t 3 ) of the latter half, the calculation means 12
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 of the internal register 11 in the next cycle (FIG. 2 (h)).

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

以上の様にすることにより、MPU10によって演算が行
われる処理サイクル期間中の最初の1サイクルだけ外部
レジスタ20がセレクトされ、後半の処理サイクルでは外
部レジスタ20が解放される。この結果、外部から外部レ
ジスタへのアクセスが可能となり、システム全体のデー
タ処理効率を向上させることが出来る。又、後半の処理
サイクルにおいて外部から外部レジスタ20へ自由にアク
セスすることが可能であるので、後半の処理サイクルに
おいてアクセスを禁止する回路を設ける必要が無くな
り、全体の回路を簡単化することが出来る。
By doing so, the external register 20 is selected only for the first one cycle in the processing cycle period in which the MPU 10 operates, and the external register 20 is released in the latter half processing cycle. As a result, the external register can be accessed from the outside, and the data processing efficiency of the entire system can be improved. Further, since it is possible to freely access the external register 20 from the outside in the latter half of the processing cycle, it is not necessary to provide a circuit for prohibiting access in the latter 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 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図において、MPU10、内部レジスタ11、演算手段1
2、データレジスタ13、外部レジスタ20については、第
1図で説明した通りである。
(A) Configuration of Embodiment In FIG. 3, MPU 10, internal register 11, arithmetic means 1
2. The data register 13 and the external register 20 are as described in FIG.

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

123は演算部(ALU)で、AバスMPX121及びBバスMPX1
22から入力されたデータ間の演算を行う。
Reference numeral 123 is an arithmetic unit (ALU), which is an A bus MPX121 and a B bus MPX1.
Operates on the data input from 22.

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

21は外部レジスタマルチプレクサ(XRMPX)で、MPU10
の演算部123からの入力データ及び外部のハートウエア
(図示せず)からの入力データの一方を選択して、外部
レジスタ20の所定箇所に格納する。
21 is an external register multiplexer (XRMPX), MPU10
One of the input data from the arithmetic unit 123 and the input data from external heart wear (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 described with reference to the operation timing chart of FIG.

MPU10は、クロックCK1の立下り時点t1からクロックCK
3の立下り時点t3までの2サイクル間において、所定の
演算処理を行う(第2図(b))。
MPU10, the clock CK from the falling point in time t 1 of the clock CK 1
Between 3 2 cycles to falling time t 3, performs predetermined calculation processing (FIG. 2 (b)).

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

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

外部レジスタ20より読み出されたデータは、次の後半
サイクル(t2〜t3)の最初において、データレジスタ13
にセットされる(第2図(e))。これにより、後半サ
イクルでは外部レジスタ20がMPU10から解放されるの
で、外部のハードウエアより外部レジスタ20を自由にア
クセスすることが可能となる。
Data read from the external register 20, the beginning of the next second half cycle (t 2 ~t 3), the data register 13
(FIG. 2 (e)). As a result, since the external register 20 is released from the MPU 10 in the latter half cycle, the external register 20 can be freely accessed by external hardware.

一方、内部レジスタ11のデータは、最初のサイクル
(t1〜t2)において読み出され、次の後半サイクル(t2
〜t3)まで読出し状態が保持される(第2図(f))。
On the other hand, data in the internal register 11 is read in the first cycle (t 1 ~t 2), the next second half cycle (t 2
Read state is maintained until ~t 3) (FIG. 2 (f)).

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

ALU123は、後半のサイクル(t2〜t3)において所定の
演算処理を行う(第2図(g)。次のサイクルにおい
て、演算結果は、内部レジスタ11の所定の箇所に格納さ
れる(第2図(h))。
ALU123, in the second half of the cycle (t 2 ~t 3) performing a predetermined arithmetic processing (FIG. 2 (g) in. The next cycle, the operation result is stored in a predetermined location of the internal register 11 (the Figure 2 (h)).

〔発明の効果〕〔The invention's effect〕

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

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

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

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

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

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】内部に内部レジスタ(11)及び演算手段
(12)を備え、第1サイクルで外部に設けられた外部レ
ジスタ(20)のセレクトを行い、第2サイクルで内部レ
ジスタ(11)と外部レジスタ(20)のデータ間の演算を
行うマイクロプロセッサ(10)において、 (a) 内部に外部レジスタ(20)から読み出されたデ
ータがセットされるデータレジスタ(13)と、 (b) 第1サイクルのみ外部レジスタ(20)をセレク
トして、外部レジスタ(20)のデータを読み出してデー
タレジスタ(13)にセットする手段と、 (c) 第2サイクルにおいて、演算手段(12)により
データレジスタ(13)と内部レジスタ(11)のデータ間
の演算処理を行う手段と、を備えたことを特徴とするマ
イクロプロセッサ。
1. An internal register (11) and an arithmetic means (12) are provided inside, an external register (20) provided outside is selected in a first cycle, and an internal register (11) is selected in a second cycle. In a microprocessor (10) for performing an operation between data in an external register (20), (a) a data register (13) in which data read from the external register (20) is set; Means for selecting the external register (20) only for one cycle, reading the data of the external register (20) and setting it in the data register (13), and (c) a data register by the operation means (12) in the second cycle. (13) A means for performing arithmetic processing between data in an internal register (11) and a microprocessor.
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 JPS6368924A (en) 1988-03-28
JPH0820941B2 true 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)

Families Citing this family (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

Family Cites Families (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

Also Published As

Publication number Publication date
JPS6368924A (en) 1988-03-28

Similar Documents

Publication Publication Date Title
JPH056906B2 (en)
US4541045A (en) Microprocessor architecture employing efficient operand and instruction addressing
JP2653037B2 (en) Data processing system
JP3035828B2 (en) Information processing device
US4974157A (en) Data processing system
US5276822A (en) System with enhanced execution of address-conflicting instructions using immediate data latch for holding immediate data of a preceding instruction
JPS62115542A (en) Information processor
US5526500A (en) System for operand bypassing to allow a one and one-half cycle cache memory access time for sequential load and branch instructions
JPH0820941B2 (en) Microprocessor
JP2680828B2 (en) Digital device
US4723258A (en) Counter circuit
JPH01500065A (en) Apparatus and method for microprogram information processing system with multiple control stores
JPS6315628B2 (en)
JPH01273132A (en) Microprocessor
JP2819733B2 (en) Information processing device
JP2542120B2 (en) Information processing device
JPS61161560A (en) Memory device
JPH0452986B2 (en)
JPH0317135B2 (en)
JPH01126727A (en) Micro-program control circuit
JPS6229813B2 (en)
JPS58114250A (en) Common microprocessor
JPH027139A (en) Store data register selecting system
JPH0792902A (en) Programmable controller
JPS62130437A (en) Lsi tracing system

Legal Events

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