JPH03268135A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH03268135A
JPH03268135A JP2069143A JP6914390A JPH03268135A JP H03268135 A JPH03268135 A JP H03268135A JP 2069143 A JP2069143 A JP 2069143A JP 6914390 A JP6914390 A JP 6914390A JP H03268135 A JPH03268135 A JP H03268135A
Authority
JP
Japan
Prior art keywords
instruction
data
register
program
instruction codes
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
JP2069143A
Other languages
Japanese (ja)
Inventor
Kenji Yamada
山田 賢次
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 VLSI Ltd
Fujitsu Ltd
Original Assignee
Fujitsu VLSI Ltd
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 VLSI Ltd, Fujitsu Ltd filed Critical Fujitsu VLSI Ltd
Priority to JP2069143A priority Critical patent/JPH03268135A/en
Publication of JPH03268135A publication Critical patent/JPH03268135A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To prevent instruction codes from becoming complicate and processing speeds of branch instructions and interruptions from decreasing by transferring instruction codes held in respective temporary registers to an instruction register, one by one, in time series, and executing the instruction codes by a central arithmetic unit. CONSTITUTION:The central arithmetic unit 1 executes various instruction codes each consisting of a specific number of bits in order and the instruction register 2 holds the instruction codes and outputs them to the central arithmetic unit 1. The instruction codes are held temporarily in the temporary registers 3 and transferred to the instruction register 2, instruction by instruction, in time series, input terminals 4 are provided by as many as bits of each instruction code corresponding to the temporary registers 3, and various instruction codes are inputted to the respective temporary registers 3 from outside at the same time.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は外部より各種の命令コードを読み出し実行する
マイクロコンピュータに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer that reads and executes various instruction codes from the outside.

近年の半導体技術の進歩及びワークステーション等の高
度な処理装置への応用に伴い、マイクロコンピュータに
対して高速化が要求されている。
With recent advances in semiconductor technology and application to advanced processing devices such as workstations, microcomputers are required to be faster.

マイクロコンピュータ内部の信号スピードは半導体技術
の進歩によりますます高速化していくが、外部記憶装置
とのデータ転送(命令フェッチ)を行う入力端子は面積
が大きいため寄生容量が大きく、信号を高速に伝達する
ことはむずかしい。そのため、今後のマイクロコンピュ
ータの高速化要求に応えるためには入力端子部分のスピ
ードネックを解決する必要がある。
The signal speed inside microcomputers is becoming faster and faster due to advances in semiconductor technology, but the input terminals for data transfer (instruction fetching) with external storage devices have a large area and therefore have large parasitic capacitance, making it difficult to transmit signals at high speed. That's difficult. Therefore, in order to meet future demands for faster microcomputers, it is necessary to solve the speed bottleneck in the input terminal section.

[従来の技術] 従来、マイクロコンピュータでは第6図に示すように、
所定のビット数Nの命令コードをN個の入力端子4を介
して命令レジスタ2に入力し、中央演算装置(以下、C
PUという)1は命令レジスタ2より転送された命令コ
ードを実行するようになっており、このマイクロコンピ
ュータでは高速化を図るために、命令コードのビット数
N、即ち、入力端子4の数を多くして語長を長くし、度
に複数の命令コードを取り入れるようにしている。
[Prior Art] Conventionally, in a microcomputer, as shown in Fig. 6,
An instruction code with a predetermined number of bits N is input to the instruction register 2 via N input terminals 4, and the instruction code is input to the central processing unit (hereinafter referred to as C
The microcomputer (called PU) 1 executes the instruction code transferred from the instruction register 2. In order to increase the speed of this microcomputer, the number of bits N of the instruction code, that is, the number of input terminals 4, is increased. The word length is increased, and multiple instruction codes are incorporated at a time.

又、従来のマイクロコンピュータとして、第7図に示す
ように複数の入力端子4と命令レジスタ2との間に命令
キャッシュ5を内蔵し、外部へのアクセスを少なくして
高速化を図るようにしたものもある。
Furthermore, as shown in FIG. 7, a conventional microcomputer has an instruction cache 5 built in between a plurality of input terminals 4 and an instruction register 2 to reduce external access and increase speed. There are some things.

[発明が解決しようとする課題] しかしながら、第6図に示すマイクロコンピュータのよ
うに命令コードの語長を長くするようにしたものでは、
命令コードの複雑化を招くという問題がある。
[Problems to be Solved by the Invention] However, in a microcomputer such as the one shown in FIG. 6, in which the word length of the instruction code is made long,
There is a problem in that the instruction code becomes complicated.

又、第7図に示すマイクロコンピュータのように命令キ
ャッシュ5を内蔵したものでは、分岐臼令や割込時のよ
うに外部より新たな命令コードデータを必要とする時に
入力端子4の入カスピートが低速であるため、処理スピ
ードが低速化するという問題点がある。
Furthermore, in a microcomputer with a built-in instruction cache 5, such as the microcomputer shown in FIG. Since it is slow, there is a problem that the processing speed is slow.

本発明は上記問題点を解決するためになされたものであ
って、その目的は命令コードの複雑化や、分岐命令2割
込時等における処理スピードの低下を防止することがで
きるマイクロコンピュータを提供することにある。
The present invention has been made to solve the above-mentioned problems, and its purpose is to provide a microcomputer that can prevent the complexity of instruction codes and the reduction in processing speed at the time of branch instruction 2 interrupts, etc. It's about doing.

1課題を解決するための手段] 第1図は本発明の原理説明図である。1.Means to solve the problem] FIG. 1 is a diagram explaining the principle of the present invention.

中央演算装置1は所定のビット数よりなる各種の命令コ
ードを順次実行するものであり、命令レジスタ2は命令
コードを保持して中央演算装置1に命令コードを出力す
るものである。
The central processing unit 1 sequentially executes various instruction codes each having a predetermined number of bits, and the instruction register 2 holds the instruction codes and outputs the instruction codes to the central processing unit 1.

複数のテンポラリレジスタ3は各種の命令コードを一時
的に保持し、その保持した各命令コードを命令レジスタ
2に時系列で1命令ずつ転送するものである。入力端子
4は各テンポラリレジスタ3に対応してそれぞれ命令コ
ードのビット数と同数膜けられ、かつ、外部より各テン
ポラリレジスタ3に対して同時に各種の命令コードを入
力するものである。
The plurality of temporary registers 3 temporarily hold various instruction codes, and transfer each held instruction code to the instruction register 2 one instruction at a time in time series. The input terminal 4 is connected to each temporary register 3 by the same number of bits as the instruction code, and is used to simultaneously input various instruction codes to each temporary register 3 from the outside.

[作用] 入力端子4を介して各テンポラリレジスタ3に同時に各
種の命令コードが入力される。その後、各テンポラリレ
ジスタ3に保持された命令コードが時系列で1つずつ命
令レジスタ2に転送され、中央演算装置1でその命令コ
ードが実行される。
[Operation] Various instruction codes are simultaneously input to each temporary register 3 via the input terminal 4. Thereafter, the instruction codes held in each temporary register 3 are transferred to the instruction register 2 one by one in time series, and the instruction code is executed by the central processing unit 1.

従って、中央演算装置1の処理スピードが高速化しても
、命令コードを入力する入ノJ端子4の入力スピードは
高速化する必要がなく、しかも、命令コードの語長を長
くしなくてよく命令コードが複雑化しない。
Therefore, even if the processing speed of the central processing unit 1 increases, there is no need to increase the input speed of the input terminal 4 for inputting the instruction code, and there is no need to increase the word length of the instruction code. Code is not complicated.

[実施例] 以下、本発明を具体化した一実施例を第2〜4図に従っ
て説明する。
[Example] An example embodying the present invention will be described below with reference to FIGS. 2 to 4.

第2図に示すように、マイクロコンピュータ10のCP
UIにはプログラムアドレスを一時的に保持するブロク
゛ラムアドレステンポラリレジスタ11が接続され、同
レジスタ11には複数のプログラムアドレス端子12が
接続されている。そして、CPUIはプログラムアドレ
ステンポラリレジスタ11及びプログラムアドレス端子
12を介してプログラムメモリ13の複数のアドレスを
アクセスする。本実施例におけるプログラムメモリ13
はnビットよりなる命令コードデータ(以下、プログラ
ムデータという)を記憶しており、CPU 1によるプ
ログラムアクセスがあると、4つのプログラムデータを
出力する。
As shown in FIG. 2, the CP of the microcomputer 10
A block address temporary register 11 that temporarily holds program addresses is connected to the UI, and a plurality of program address terminals 12 are connected to the register 11. Then, the CPUI accesses a plurality of addresses in the program memory 13 via the program address temporary register 11 and the program address terminal 12. Program memory 13 in this embodiment
stores n-bit instruction code data (hereinafter referred to as program data), and when a program is accessed by the CPU 1, outputs four program data.

プログラムメモリ13より出力された4つのプログラム
データは、それぞれプログラムデータのビット数と同数
のn個ずつ、合計で4n個設けられたプログラムデータ
端子4を介して4つのテンポラリレジスタ3A〜3Dに
入力され一時的に保持される。
The four program data outputted from the program memory 13 are input to four temporary registers 3A to 3D via program data terminals 4, which are provided with n pieces of program data, each having the same number of bits as the number of bits of the program data, for a total of 4n pieces. Retained temporarily.

各テンポラリレジスタ3A〜3Dはn本の配線よりなる
バス14Aを介して命令レジスタ2に接続され、それぞ
れ保持したプログラムデータを1つずつ時系列で命令レ
ジスタ2に転送する。命令レジスタ2は同じくn本の配
線よりなるバス14Bを介してCPULに接続され、前
記各テンポラリレジスタ3A〜3Dより転送された各種
のプログラムデータをCPUIに順次転送する。そして
、CPU1は命令レジスタ2より転送された各種のプロ
グラムデータを順次実行するようになっている。
Each of the temporary registers 3A to 3D is connected to the instruction register 2 via a bus 14A consisting of n wires, and transfers the program data held therein one by one to the instruction register 2 in time series. The instruction register 2 is also connected to the CPUL via a bus 14B made up of n wires, and sequentially transfers various program data transferred from each of the temporary registers 3A to 3D to the CPUI. The CPU 1 is configured to sequentially execute various program data transferred from the instruction register 2.

次に上記命令レジスタ2及び各テンポラリレジスタ3A
〜3Dを第3図に基づいて説明する。
Next, the instruction register 2 and each temporary register 3A
~3D will be explained based on FIG.

各テンポラリレジスタ3A〜3Dは各プログラムデータ
端子4にそれぞれ接続されたn個のビット記憶部15か
らなる。各ビット記憶部15は各プログラムデータ端子
4に直列に接続された第1のクロックド・インバータ1
6.インバータ17゜第2のクロックド・インバータ1
8、及びインバータ17と共にラッチ回路を構成する第
3のクロックド・インバータ19とからなる。各クロッ
クド・インバータ16,1.8.19は通過制御端子1
6a、18a、19aにハイレベルの制御信号が入力さ
れると、その入力信号のレベルを反転して出力し、遮断
制御端子16b、18b、]、9bにハイレベルの制御
信号が入力されると、その人ノJ信号を遮断するもので
ある。
Each of the temporary registers 3A to 3D consists of n bit storage units 15 connected to each program data terminal 4, respectively. Each bit storage unit 15 has a first clocked inverter 1 connected in series to each program data terminal 4.
6. Inverter 17° Second clocked inverter 1
8, and a third clocked inverter 19 which together with the inverter 17 constitutes a latch circuit. Each clocked inverter 16, 1.8.19 has a pass control terminal 1
When a high level control signal is input to 6a, 18a, 19a, the level of the input signal is inverted and output, and when a high level control signal is input to cutoff control terminals 16b, 18b, ], 9b. , which blocks that person's J signal.

そして、各テンポラリレジスタ3A〜3Dの各第1のク
ロックド・インバータ16の通過制御端子16a及び各
第3のクロックド・インバータ19の遮断制御端子L9
bには前記CPUIよりプログラムフェッチ信号PFが
入力されるとともに、各第1のクロックド・インバータ
16の遮断制御端子16b及び各第3のクロックド・イ
ンバータ19の通過制御端子]、 9 aにはインバー
タ20を介してプログラムフェッチ信号PFを反転した
信号が入力されている。又、各テンポラリレジスタ3A
〜3Dの各第2のクロックド・インバ・−夕18の通過
制御端子18aにはそれぞれ前記CPUIより出力セレ
クト信号5LO−8L3が入力されるとともに、遮断制
御端子18bにはインバータ21〜24を介してそれぞ
れ前記各出力セレクト信号SLO〜S L 3を反転し
た信号が入力されている。
The pass control terminal 16a of each first clocked inverter 16 and the cutoff control terminal L9 of each third clocked inverter 19 of each temporary register 3A to 3D
The program fetch signal PF is inputted to b from the CPUI, and the cut-off control terminal 16b of each first clocked inverter 16 and the pass control terminal of each third clocked inverter 19]; A signal obtained by inverting the program fetch signal PF is input via the inverter 20. In addition, each temporary register 3A
The output select signals 5LO-8L3 are inputted from the CPUI to the passage control terminals 18a of each of the second clocked inverters 18 of . A signal obtained by inverting each of the output select signals SLO to S L3 is inputted to each of the output select signals SLO to S L3.

又、命令レジスタ2は前記バス14Aの各配線にそれぞ
れ接続されたn個のビット記憶部25からなり、各ビッ
ト記憶部25は直列に接続された第4のクロックド・イ
ンバータ26.インバータ27及びインバータ27と共
にラッチ回路を構成する第5のクロックド・インバータ
28とからなる。そして、各第4のクロックド・インバ
ータ26の通過制御端子26a及び各第5のクロックド
・インバータ28の遮断制御端子28bには前記CPU
Iよりロード信号ILDが入力されるとともに、各第4
のクロックド・インバータ26の遮断制御端子26b及
び各第5のクロックド・インバータ28の通過制御端子
28aにはインバータ29を介してロード信号ILDを
反転した信号が入力されている。
Further, the instruction register 2 includes n bit storage units 25 connected to each wiring of the bus 14A, and each bit storage unit 25 is connected to a fourth clocked inverter 26 . It consists of an inverter 27 and a fifth clocked inverter 28 which together with the inverter 27 constitutes a latch circuit. The pass control terminal 26a of each fourth clocked inverter 26 and the cutoff control terminal 28b of each fifth clocked inverter 28 are connected to the CPU.
The load signal ILD is input from I, and each fourth
A signal obtained by inverting the load signal ILD is inputted to the cutoff control terminal 26b of the clocked inverter 26 and the passage control terminal 28a of each fifth clocked inverter 28 via the inverter 29.

従って、各プログラムデータ端子4に第4図に示す命令
A、  B、  C,I)の各ビットデータが入力0 されている状態において、プログラムフェッチ信号PF
がハイレベルになると、同フェッチ信号PFが各第1の
クロックド・インバータ16の通過制御端子16a及び
各第3のクロックド・インバータ19の遮断制御端子1
9bに入力される。
Therefore, in a state where each bit data of instructions A, B, C, I shown in FIG. 4 is input to each program data terminal 4, the program fetch signal PF is
When the fetch signal PF becomes high level, the fetch signal PF passes through the pass control terminal 16a of each first clocked inverter 16 and the cutoff control terminal 1 of each third clocked inverter 19.
9b.

これにより、各第3のクロックド・インバータ19はそ
の入力信号を遮断し、各第1のクロックド・インバータ
16はその入力信号を反転させて通過させる。この結果
、各プログラムデータ端子4のビットデータが反転され
た状態で各ビット記憶部15に取り込まれ、各ビット記
憶部15に取り込まれたビットデータはインバータ17
によりさらに反転、即ち、各プロクラムデータ端子4の
入力レベルに戻された状態で第3のクロックド・インバ
ータ190入力端子に出力される。
As a result, each third clocked inverter 19 blocks its input signal, and each first clocked inverter 16 inverts its input signal and passes it. As a result, the bit data of each program data terminal 4 is taken into each bit storage section 15 in an inverted state, and the bit data taken into each bit storage section 15 is transferred to the inverter 17.
As a result, the signal is further inverted, that is, returned to the input level of each program data terminal 4, and is output to the third clocked inverter 190 input terminal.

次にプログラムフェッチ信号PFがローレベルになると
、インバータ20を介してプログラムフェッチ信号PF
のレベルを反転した信号が各第1のクロックド・インバ
ータ16の遮断制御端子16b及び各第3のクロックド
・インバータ19の通過制御端子]、 9 aに入力さ
れる。これにより、各第1のクロックド・インバータ1
6はその入力信号を遮断し、各第3のクロックド・イン
バータ19はその入力信号、即ち、各ブロク゛ラムデー
タ端子4の入力レベルを反転させて通過させる。この結
果、各ビット記憶部15に各ビットデータがラッチされ
、第4図に示すようにテンポラリレジスタ3A〜3Dに
命令A、B、C,Dの各ビットデータが保持される。
Next, when the program fetch signal PF becomes low level, the program fetch signal PF is passed through the inverter 20.
A signal having an inverted level is input to the cut-off control terminal 16b of each first clocked inverter 16 and the pass control terminal 9a of each third clocked inverter 19. This allows each first clocked inverter 1
6 blocks its input signal, and each third clocked inverter 19 inverts its input signal, that is, the input level of each block data terminal 4, and passes it through. As a result, each bit data is latched in each bit storage section 15, and each bit data of instructions A, B, C, and D is held in temporary registers 3A to 3D as shown in FIG.

テンポラリレジスタ3A〜3Dに命令A、B。Instructions A and B are stored in temporary registers 3A to 3D.

C,Dの各ビットデータが保持された状態において、第
4図に示すようにCPUIの出力セレクト信号SLOか
ハイレベルになると、テンポラリレジスタ3Aの各第2
のクロックド・インバータ18のみがその入力信号を反
転させて通過させる。
In a state where each bit data of C and D is held, when the output select signal SLO of the CPUI becomes high level as shown in FIG.
Only the clocked inverter 18 inverts and passes its input signal.

これにより、テンポラリレジスタ3Aに保持された命令
Aの各ビットデータがバス14Aを介して命令レジスタ
2の各ビット記憶部25に出力される。
As a result, each bit data of the instruction A held in the temporary register 3A is outputted to each bit storage section 25 of the instruction register 2 via the bus 14A.

命令Aの各ビットデータが命令レジスタ2の冬目 2 ビット記憶部25に出力された状態において、ロート信
号ILDがハイレベルになると、同ロード信号ILDが
各第4のクロックド・インバータ26の通過制御端子2
6a及び各第5のクロックド・インバータ28の遮断制
御端子28bに入力される。これにより、各第5のクロ
ックド・インバータ28はその入力信号を遮断し、各第
4のクロックド・インバータ26はその入力信号を反転
させて通過させる。この結果、命令Aの各ビットデータ
が各ビット記憶部25に取り込まれ、各ビット記憶部2
5に取り込まれたビットデータはインバータ27により
さらに反転された状態で前記CPUIに出力されるとと
もに、第5のクロックド・インバータ28の入力端子に
出力される。
When the load signal ILD goes high in a state in which each bit data of the instruction A is output to the winter 2 bit storage section 25 of the instruction register 2, the load signal ILD passes through each fourth clocked inverter 26. Control terminal 2
6a and the cutoff control terminal 28b of each fifth clocked inverter 28. This causes each fifth clocked inverter 28 to block its input signal, and each fourth clocked inverter 26 to invert and pass its input signal. As a result, each bit data of instruction A is taken into each bit storage section 25, and each bit data of instruction A is taken into each bit storage section 25.
The bit data fetched into the fifth clocked inverter 27 is further inverted by the inverter 27 and output to the CPUI, and is also output to the input terminal of the fifth clocked inverter 28.

次に、第4図に示すようにCPUIの出力セレクト信号
SLOがローレベルになると、インバータ21を介して
出力セレクト信号SLOのレベルを反転した信号がテン
ポラリレジスタ3Aの各第2のクロックド・インバータ
18の遮断制御端子18bに入力されるため、各第2の
クロックド・インバータ18はその入力信号を遮断し、
命令Aの各ビットデータは命令レジスタ2の各ビット記
憶部25に出力されなくなる。
Next, as shown in FIG. 4, when the output select signal SLO of the CPUI becomes low level, a signal obtained by inverting the level of the output select signal SLO is transmitted through the inverter 21 to each second clocked inverter of the temporary register 3A. 18 cutoff control terminals 18b, each second clocked inverter 18 cuts off its input signal,
Each bit data of instruction A is no longer output to each bit storage section 25 of instruction register 2.

そして、CPUIのロート信号ILDがローレベルにな
ると、インバータ29を介してロード信号ILDのレベ
ルを反転した信号が各第4のクロックド・インバータ2
6の遮断制御端子26b及び各第5のクロックド・イン
バータ28の通過制御端子28aに入力される。これに
より、各第4のクロックド・インバータ26はその入力
信号を遮断し、各第5のクロックド・インバータ28は
その入力信号、即ち、各インバータ27の出力レベルを
反転させて通過させる。この結果、各ビット記憶部25
に命令Aの各ビットデータがラッチされ、第4図に示す
ように命令レジスタ2に命令Aが保持される。
Then, when the load signal ILD of the CPUI becomes low level, a signal obtained by inverting the level of the load signal ILD is sent to each fourth clocked inverter 2 via the inverter 29.
6 cutoff control terminal 26b and each fifth clocked inverter 28 pass control terminal 28a. As a result, each fourth clocked inverter 26 blocks its input signal, and each fifth clocked inverter 28 inverts its input signal, that is, the output level of each inverter 27, and passes it. As a result, each bit storage section 25
Each bit data of instruction A is latched, and instruction A is held in the instruction register 2 as shown in FIG.

以後、テンポラリレジスタ3A〜3Dに命令A。After that, the instruction A is stored in the temporary registers 3A to 3D.

B、C,Dの各ビットデータが保持された状態において
、第4図に示すようにCPUIの出力セレクト信号SL
I〜SL3が順次1つのみハイレベ3 4 ルになると、前記と同様にしてテンポラリレジスタ3B
〜3Dに保持された命令B−Dの各ビットデータがバス
L4Aを介して命令レジスタ2の各ビット記憶部25に
出力される。そして、各命令B−Dの各ビットデータが
命令レジスタ2の各ビット記憶部25に出力された状態
において、ロード信号I L Dがハイレベルになると
各命令B−Dの各ビットデータが命令レジスタ2の各ビ
ット記憶部25に取り込まれるとともに、CPUIの出
力セレクト信号SLI〜SL3がローレベルになると各
ビットデータが各ビット記憶部25にラッチされ、第4
図に示すように命令レジスタ2に命令B−Dの各ビット
データが保持されるとともに、CPUIに出力される。
In a state where each bit data of B, C, and D is held, the output select signal SL of the CPUI is output as shown in FIG.
When only one of I to SL3 becomes high level 34 in sequence, the temporary register 3B is opened in the same way as above.
Each bit data of instructions B-D held in 3D is outputted to each bit storage section 25 of the instruction register 2 via the bus L4A. Then, in a state where each bit data of each instruction B-D is output to each bit storage section 25 of the instruction register 2, when the load signal ILD becomes high level, each bit data of each instruction B-D is output to the instruction register 2. At the same time, when the output select signals SLI to SL3 of the CPUI become low level, each bit data is latched into each bit storage unit 25, and the fourth
As shown in the figure, each bit data of instructions B to D is held in the instruction register 2 and output to the CPUI.

又、CPU 1にはデータアドレスを一時的に保持する
データアドレスレジスタ30が接続され、同レジスタ3
0には複数のデータアドレス端子31か接続されている
。又、CPUIにはデータキャッシュ32が接続され、
データキャッシュ32は複数のデータ端子33を介して
データメモリ34に接続されている。そして、CPU1
はデータアドレスレジスタ30及びデータアドレス端子
31を介してデータメモリ34の所定アドレスをアクセ
スするとともに、データキャッシュ32を介してデータ
メモリ34から処理すべきデータの読み出し及びデータ
メモリ34への演算結果データの書き込みを行う。
Further, a data address register 30 that temporarily holds data addresses is connected to the CPU 1.
0 is connected to a plurality of data address terminals 31. Further, a data cache 32 is connected to the CPUI,
Data cache 32 is connected to data memory 34 via a plurality of data terminals 33. And CPU1
accesses a predetermined address of the data memory 34 via the data address register 30 and the data address terminal 31, reads data to be processed from the data memory 34 via the data cache 32, and transfers operation result data to the data memory 34. Write.

このように、本実施例では命令レジスタ2の前段に4つ
のテンポラリレジスタ3A〜3Dを設けるとともに、各
テンポラリレジスタ3A〜3Dに対してそれぞれn個ず
つのプログラムデータ端子4を設けたので、各テンポラ
リレジスタ3A〜3Dに同時に4つのプログラムデータ
をフェッチでき、各テンポラリレジスタ3A〜3Dに保
持したプログラムデータを命令レジスタ2を介してCP
UIに順次転送することができる。従って、プログラム
データ端子4の入力スピードを高速化させたすせずに、
又、プログラムデータの語長を長(してプログラムデー
タを複雑化させたすせずに、分岐命令や割込時のように
外部より新たなプログ5 6 ラムデータを必要とする時にもCPUIの処理スピード
の低下を防止することができる。
In this way, in this embodiment, four temporary registers 3A to 3D are provided before the instruction register 2, and n program data terminals 4 are provided for each temporary register 3A to 3D. Four program data can be fetched into the registers 3A to 3D at the same time, and the program data held in each temporary register 3A to 3D can be fetched from the CP via the instruction register 2.
It can be sequentially transferred to the UI. Therefore, without increasing the input speed of the program data terminal 4,
In addition, without increasing the word length of the program data and complicating the program data, the CPU It is possible to prevent a decrease in processing speed.

第5図は別の実施例の電気的構成を示すブロック回路図
であり、この例のマイクロコンピュータ10は、CPU
Iにプログラムアドレス及びデータアドレスを一時的に
保持するプログラム及びデータアドレステンポラリレジ
スタ35を接続し、同レジスタ35に複数のプログラム
及びデータアドレス端子36を接続している。そして、
CPU1はプログラム及びデータアドレステンポラリレ
ジスタ35、及びプログラム及びデータアドレス端子3
6を介してプログラム及びデータメモリ37をアクセス
するようになっている。又、この例のマイクロコンピュ
ータ10では4n個のプログラムデータ端子4のうち、
所定個数のプログラムデータ端子4をデータ端子と兼用
しており、その所定個数のブロク゛ラムデータ端子4に
データキャッシュ32を接続している。
FIG. 5 is a block circuit diagram showing the electrical configuration of another embodiment, and the microcomputer 10 of this embodiment has a CPU
A program and data address temporary register 35 for temporarily holding program addresses and data addresses is connected to I, and a plurality of program and data address terminals 36 are connected to the register 35. and,
The CPU 1 has a program and data address temporary register 35 and a program and data address terminal 3.
6, the program and data memory 37 is accessed. Furthermore, in the microcomputer 10 of this example, among the 4n program data terminals 4,
A predetermined number of program data terminals 4 are also used as data terminals, and a data cache 32 is connected to the predetermined number of block program data terminals 4.

そして、プログラム及びデータメモリ37のプログラム
データアクセス時には、40個のプログラムデータ端子
4を介して4つのテンポラリレジスタ3A〜3Dに4つ
の異なるプログラムデータを入力し、データアクセス時
には、4n個のうち、所定個数のプログラムデータ端子
4及びデータキャッシュ32を介してプログラム及びデ
ータメモリ37から処理すべきデータの読み出し及びプ
ログラム及びデータメモリ37への演算結果データの書
き込みを行うようにし、マイクロコンピュータ10を小
型化を図っている。
When accessing the program data of the program and data memory 37, four different program data are input to the four temporary registers 3A to 3D via the 40 program data terminals 4. The microcomputer 10 is miniaturized by reading data to be processed from the program and data memory 37 and writing operation result data to the program and data memory 37 via the program data terminals 4 and data cache 32. I'm trying.

[発明の効果] 以上詳述したように、本発明によれば命令コードの複雑
化や、分岐命令9割込時等における処理スピードの低下
を防止することができる優れた効果がある。
[Effects of the Invention] As described in detail above, the present invention has the excellent effect of preventing the complexity of instruction codes and the reduction in processing speed at the time of a branch instruction 9 interrupt.

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

第1図は本発明の原理説明図、 第2図は本発明を具体化した一実施例の電気的構成を示
すブロック回路図、 7 8 第3図は一実施例におけるテンポラリレジスタを示す電
気回路図、 第4図は一実施例における作用を示す各波形図、第5図
は別の実施例の電気的構成を示すブロック回路図、 第6,7図はそれぞれ従来のマイクロコンピュータの電
気的構成を示すブロック回路図である。 図において、 ■は中央演算装置 2は命令レジスタ、 3はテンポラリレジスタ 4は入力端子である。 (CP U) ■
Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is a block circuit diagram showing the electrical configuration of an embodiment embodying the invention, and Fig. 3 is an electric circuit showing a temporary register in an embodiment. Figure 4 is a waveform diagram showing the operation of one embodiment, Figure 5 is a block circuit diagram showing the electrical configuration of another embodiment, and Figures 6 and 7 are electrical configurations of conventional microcomputers. It is a block circuit diagram showing. In the figure, the central processing unit 2 is an instruction register (2), and the temporary register 4 (3) is an input terminal. (CPU) ■

Claims (1)

【特許請求の範囲】 所定のビット数よりなる各種の命令コードを順次実行す
る中央演算装置(1)と、 その中央演算装置(1)が実行する命令コードを保持す
る1つの命令レジスタ(2)と、 各種の命令コードを一時的に保持し、前記命令レジスタ
(2)にその保持した命令コードを順次転送する複数の
テンポラリレジスタ(3)と、前記各テンポラリレジス
タ(3)に対応してそれぞれ命令コードのビット数と同
数設けられ、かつ、外部より各テンポラリレジスタ(3
)に対して同時に各種の命令コードを入力するための複
数の入力端子(4)と を備えたことを特徴とするマイクロコンピュータ。
[Claims] A central processing unit (1) that sequentially executes various instruction codes each having a predetermined number of bits, and one instruction register (2) that holds the instruction code to be executed by the central processing unit (1). and a plurality of temporary registers (3) that temporarily hold various instruction codes and sequentially transfer the held instruction codes to the instruction register (2), and a plurality of temporary registers (3) corresponding to each of the temporary registers (3). The same number of bits as the instruction code are provided, and each temporary register (3
) A microcomputer comprising a plurality of input terminals (4) for simultaneously inputting various instruction codes.
JP2069143A 1990-03-19 1990-03-19 Microcomputer Pending JPH03268135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2069143A JPH03268135A (en) 1990-03-19 1990-03-19 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2069143A JPH03268135A (en) 1990-03-19 1990-03-19 Microcomputer

Publications (1)

Publication Number Publication Date
JPH03268135A true JPH03268135A (en) 1991-11-28

Family

ID=13394135

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2069143A Pending JPH03268135A (en) 1990-03-19 1990-03-19 Microcomputer

Country Status (1)

Country Link
JP (1) JPH03268135A (en)

Similar Documents

Publication Publication Date Title
KR900004006B1 (en) Micro processor system
US4839797A (en) Microprocessor compatible with any software represented by different types of instruction formats
JPS63121934A (en) One-chip microcomputer for evaluation
JPH0814801B2 (en) Programmable access memory
JP2845433B2 (en) Integrated circuit device
JPS62226257A (en) Arithmetic processor
GB2412767A (en) Processor with at least two buses between a read/write port and an associated memory with at least two portions
JPS63116236A (en) Information processor
US5742842A (en) Data processing apparatus for executing a vector operation under control of a master processor
JPS5826584B2 (en) data processing equipment
US7254667B2 (en) Data transfer between an external data source and a memory associated with a data processor
KR910001708B1 (en) Central processing unit
JPH03268135A (en) Microcomputer
JPS6383844A (en) Microprocessor system
KR930004903B1 (en) Parallel data communication system and its method between processors by using data bus
JP2738683B2 (en) Data processing device
JPH0212358A (en) Data transfer system
JPH01142844A (en) Semiconductor integrated circuit
JPS61161509A (en) System and device for operating high speed sequence
JP2001014214A (en) Method for sharing memory and multiprocessor facility using this method
JPH0215342A (en) Memory device
JPH06301641A (en) Electronic computer
JPH0650500B2 (en) Slave processor control system
JP2004280664A (en) Bit arithmetic unit
JPH0442329A (en) Data processor