JPH07271574A - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JPH07271574A
JPH07271574A JP6158994A JP6158994A JPH07271574A JP H07271574 A JPH07271574 A JP H07271574A JP 6158994 A JP6158994 A JP 6158994A JP 6158994 A JP6158994 A JP 6158994A JP H07271574 A JPH07271574 A JP H07271574A
Authority
JP
Japan
Prior art keywords
register
flag
internal
external
registers
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
JP6158994A
Other languages
Japanese (ja)
Other versions
JP2875150B2 (en
Inventor
Hiroshi Suzuki
浩 鈴木
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel Corp
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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP6158994A priority Critical patent/JP2875150B2/en
Publication of JPH07271574A publication Critical patent/JPH07271574A/en
Application granted granted Critical
Publication of JP2875150B2 publication Critical patent/JP2875150B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To easily allocate variable data with high access frequency to an internal register and to accelerate an arithmetic processing speed by replacing the contents of an external register with the high access frequency with the contents of the internal register with low access frequency. CONSTITUTION:The content replacing means 14 of an MPU 10 inspects flags stored in first flag registers 13-1, 13-2,... 13-32 and second flag registers 13-33, 13-34,..., 13-64 at each prescribed timing. As the result of inspection, when the internal register whose arithmetic processing speed is fast is not accessed and the external register whose arithmetic processing speed is slow is accessed, the contents of the internal register and the contents of the external register are replaced by the content replacing means 14 and the contents of the external register are processed in the internal register. Thus, the variable data of the access frequency are easily allocated to the internal register and the arithmetic processing speed is accelerated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はレジスタのアクセスが工
夫されたマイクロプロセッサ(以下「MPU」と略記す
る)に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprocessor (hereinafter abbreviated as "MPU") in which register access is devised.

【0002】[0002]

【従来の技術】一般に、MPUにより演算が行なわれる
場合に、変数データ、例えば被演算数や演算結果等の格
納場所として、MPUの内部レジスタや外部メモリが利
用されている。変数データの格納場所として、外部メモ
リが利用される場合には、外部メモリからMPU内部に
変数データが読み込まれたり、MPU内部から変数デー
タが外部メモリに書き込まれたりするため、MPUの内
部レジスタを利用して処理したときの演算実行速度と比
較した場合に、外部メモリを利用して処理した場合の演
算処理速度の方が遅くなるという欠点がある。
2. Description of the Related Art Generally, when an operation is performed by an MPU, an internal register or an external memory of the MPU is used as a storage place for variable data, such as an operand and an operation result. When an external memory is used as a storage location for variable data, the variable data is read from the external memory into the MPU and the variable data is written from the MPU into the external memory. There is a drawback in that the calculation processing speed when processing is performed using an external memory is slower than the calculation execution speed when processing is performed using the external memory.

【0003】そこで、MPUの演算処理速度を上げるた
めにアセンブル言語によってプログラムを記述する場合
には人間が、また高級言語によってプログラムを記述す
る場合にはコンパイラが、アクセス頻度が高い変数デー
タはなるべくMPUの内部レジスタに割り当てるように
対処する。
Therefore, in order to increase the calculation processing speed of the MPU, a human is used when writing a program in an assemble language, and a compiler is used when writing a program in a high-level language. Deal with assigning to the internal register of.

【0004】[0004]

【発明が解決しようとする課題】上記のように、アクセ
ス頻度の高い変数データは、人間やコンパイラのプログ
ラムにより、一般に、MPUの内部レジスタに割り当て
られている。しかし、アクセス頻度の高い変数データを
MPUの内部レジスタに割り当てる場合に、例えばコン
パイラのレジスタ割り当てアルゴリズムによる割り当て
においては、プログラムのリスティング上のアクセス頻
度を評価して割り当てるため、プログラムが起動され、
例えば条件分岐により何回も同じフローが実行される場
合にはアクセス頻度が変化し、必ずしもアクセス頻度の
高い変数データを最適にMPUの内部レジスタに割り当
てたことにならず、演算処理速度も向上されないという
問題がある。
As described above, variable data having a high access frequency is generally assigned to the internal register of the MPU by a human or a compiler program. However, when allocating variable data having a high access frequency to the internal register of the MPU, for example, in the allocation by the register allocation algorithm of the compiler, the access frequency on the listing of the program is evaluated and allocated, so the program is started,
For example, when the same flow is executed many times due to conditional branching, the access frequency changes, and variable data with high access frequency is not necessarily optimally assigned to the internal register of the MPU, and the arithmetic processing speed is not improved. There is a problem.

【0005】また、入力データや外部の割り込み条件に
よってもアクセス頻度が変化するため、アクセス頻度の
高い変数データを最適にMPUの内部レジスタに割り当
てることは、やはり容易でなく、演算処理速度の向上は
困難であるという問題点がある。本発明は、上記事情に
鑑み、アクセス頻度が高い変数データを内部レジスタに
容易に割り当てることにより演算処理速度の向上が図ら
れたMPUを提供することを目的とする。
Further, since the access frequency also changes depending on input data and external interrupt conditions, it is not easy to optimally assign variable data having a high access frequency to the internal register of the MPU, and the arithmetic processing speed can be improved. There is a problem that it is difficult. In view of the above circumstances, it is an object of the present invention to provide an MPU in which arithmetic processing speed is improved by easily allocating variable data having high access frequency to an internal register.

【0006】[0006]

【課題を解決するための手段】上記目的を達成する本発
明のMPUは、一群の命令を順次実行するマイクロプロ
セッサにおいて、 (1)複数の内部レジスタ (2)上記複数の内部レジスタそれぞれに対応するメモ
リ領域上の外部レジスタのアドレスを代表する代表アド
レスを格納するアドレスレジスタ (3)上記複数の内部レジスタそれぞれに対応して備え
られた、対応する内部レジスタがアクセスされたか否か
を示すフラグが格納される第1のフラグレジスタ (4)上記複数の内部レジスタそれぞれに対応して備え
られた、対応する外部レジスタがアクセスされたか否か
を示すフラグが格納される第2のフラグレジスタ (5)所定のタイミング毎に、上記第1および第2のフ
ラグレジスタに格納されたフラグを検査し、互いに対応
する第1および第2のフラグレジスタのうち、第1のフ
ラグレジスタにアクセスがなかったことを示すフラグが
格納されるとともに第2のフラグレジスタにアクセスが
あったことを示すフラグが格納されていたときに、対応
する内部レジスタの内容と対応する外部レジスタの内容
とを入れ替える内容入替手段 (6)上記第1および第2のフラグレジスタを、所定の
タイミング毎に、上記内部レジスタおよび上記外部レジ
スタにアクセスがなかったことを示すフラグにクリアす
るフラグクリア手段 (7)上記複数の内部レジスタそれぞれに対応して備え
られた、互いに対応する内部レジスタと外部レジスタと
の間の内容の入替えが行なわれるたびに反転するフラグ
が格納される第3のフラグレジスタ (8)上記第3のフラグレジスタに格納されたフラグに
従って、対応する内部レジスタのアクセスを対応する外
部レジスタのアクセスに置換するアクセス置換手段とを
備えたことを特徴とするものである。
Means for Solving the Problems An MPU of the present invention that achieves the above object is a microprocessor that sequentially executes a group of instructions. (1) A plurality of internal registers (2) Corresponding to each of the plurality of internal registers Address register that stores a representative address that represents the address of an external register on the memory area (3) Stores a flag that is provided corresponding to each of the plurality of internal registers and that indicates whether or not the corresponding internal register has been accessed First flag register (4) A second flag register (5) which is provided for each of the plurality of internal registers and which stores a flag indicating whether or not the corresponding external register has been accessed Every time, the flags stored in the first and second flag registers are inspected and correspond to each other. When a flag indicating that the first flag register has not been accessed is stored and a flag indicating that the second flag register has been accessed is stored among the first and second flag registers , A content exchange means for exchanging the content of the corresponding internal register with the content of the corresponding external register (6) The first and second flag registers can be accessed to the internal register and the external register at predetermined timings. Flag clear means for clearing to a flag indicating that there was no such change (7) Inverted every time the contents of the internal register and the external register corresponding to each of the plurality of internal registers corresponding to each other are exchanged. Flag register for storing the flag to be stored (8) The flag stored in the third flag register According to the lag, access replacement means for replacing the access of the corresponding internal register with the access of the corresponding external register is provided.

【0007】ここで、互いに対応する内部レジスタと外
部レジスタとの間の演算が禁止されてなることが好まし
い。
Here, it is preferable that the operation between the internal register and the external register corresponding to each other is prohibited.

【0008】[0008]

【作用】本発明のMPUは、上記構成により、アクセス
頻度の高い外部レジスタの内容がアクセス頻度の低い内
部レジスタの内容と入れ替えられる。このため、例えば
従来技術において、アクセス頻度の高い変数データの内
部レジスタへの割り当てが、プログラムの条件分岐や入
力データ、外部割り込み等によりアクセス頻度の低い変
数データになることもなく、容易かつ最適に割り当てら
れる。これにより、アクセス頻度が高く演算処理速度の
遅い外部レジスタの内容が、演算処理速度の速い内部レ
ジスタで演算されて演算処理速度が向上する。
With the above arrangement, the MPU of the present invention replaces the contents of the external register with high access frequency with the contents of the internal register with low access frequency. Therefore, for example, in the prior art, variable data with high access frequency is assigned to the internal register easily and optimally without variable data with low access frequency due to conditional branch of program, input data, external interrupt, etc. Assigned. As a result, the contents of the external register, which has a high access frequency and a low calculation processing speed, are calculated by the internal register which has a high calculation processing speed, and the calculation processing speed is improved.

【0009】さらに、互いに対応する内部レジスタと外
部レジスタとの間の演算を禁止すると、これら内部レジ
スタと外部レジスタが共に頻繁にアクセスされることも
なく、効率よく処理される。
Further, when the operation between the internal register and the external register corresponding to each other is prohibited, both the internal register and the external register are efficiently accessed without being frequently accessed.

【0010】[0010]

【実施例】以下、本発明の実施例について説明する。図
1は、本発明のMPUの一実施例の特徴部分の模式図
と、外部メモリの領域の一部を示した図である。MPU
10には、32個の内部レジスタ11_1,11_2,
…,11_32が備えられている。
EXAMPLES Examples of the present invention will be described below. FIG. 1 is a schematic diagram of a characteristic portion of an embodiment of the MPU of the present invention and a diagram showing a part of an external memory area. MPU
10 has 32 internal registers 11_1, 11_2,
..., 11_32 are provided.

【0011】一方、外部メモリ20の領域にも、上記3
2個の内部レジスタ11_1,11_2,…,11_3
2それぞれに対応する32個の外部レジスタ11_3
3,11_34,…,11_64が備えられている。ま
た、MPU10には、32個の内部レジスタ11_1,
11_2,…,11_32それぞれに対応して、32個
の第1のフラグレジスタ13_1,13_2,…,13
_32が備えられている。ある内部レジスタがアクセス
されると、その内部レジスタに対応する第1のフラグレ
ジスタにはフラグ‘1’が格納される。
On the other hand, in the area of the external memory 20, the above-mentioned 3
Two internal registers 11_1, 11_2, ..., 11_3
32 external registers 11_3 corresponding to 2 respectively
3, 11_34, ..., 11_64. Further, the MPU 10 has 32 internal registers 11_1,
11_2, ..., 11_32 corresponding to 32 first flag registers 13_1, 13_2, ..., 13
_32 is provided. When an internal register is accessed, the flag "1" is stored in the first flag register corresponding to the internal register.

【0012】また、MPU10には、32個の外部レジ
スタ11_33,11_34,…,11_64それぞれ
に対応して、32個の第2のフラグレジスタ13_3
3,13_34,…13_64も備えられている。第1
のフラグレジスタと同様に、ある外部レジスタがアクセ
スされると、その外部レジスタに対応する第2のフラグ
レジスタには、やはりフラグ‘1’が格納される。
Further, the MPU 10 has 32 second flag registers 13_3 corresponding to the 32 external registers 11_33, 11_34, ..., 11_64.
3, 13_34, ... 13_64 are also provided. First
When an external register is accessed, the flag "1" is also stored in the second flag register corresponding to the external register, similarly to the flag register.

【0013】さらに、MPU10には、内容入換手段1
4が備えられている。この内容入換手段14は、所定の
タイミング毎に、第1および第2のフラグレジスタに格
納されたフラグを検査する。検査した結果、互いに対応
する第1のフラグレジスタのフラグが‘0’であり、か
つ第2のフラグレジスタのフラグが‘1’の場合には、
内容入換手段14により、対応する内部レジスタの内容
と対応する外部レジスタの内容とが入れ替えられる。
Further, the MPU 10 has a content replacement means 1
4 is provided. The content replacing means 14 inspects the flags stored in the first and second flag registers at every predetermined timing. As a result of the inspection, when the flags of the first flag register corresponding to each other are "0" and the flags of the second flag register are "1",
The content exchange means 14 exchanges the content of the corresponding internal register with the content of the corresponding external register.

【0014】すなわち、演算処理速度の速い内部レジス
タがアクセスされておらず、演算処理速度の遅い外部レ
ジスタがアクセスされている場合には、内容入換手段1
4によりこれら内部レジスタの内容と外部レジスタの内
容が入れ替えられるため、外部レジスタの内容が内部レ
ジスタで処理される。これにより演算速度が向上する。
That is, when the internal register having a high calculation processing speed is not accessed and the external register having a low calculation processing speed is accessed, the content replacement means 1
Since the contents of these internal registers and the contents of the external registers are exchanged by 4, the contents of the external registers are processed by the internal registers. This improves the calculation speed.

【0015】また、MPU10には、フラグクリア手段
15が備えられている。このフラグクリア手段15によ
り、内容入替手段14により検査された第1および第2
のフラグレジスタは所定位時間経過後クリアされる。こ
れにより、次のタイミングにおける内容入替手段14に
よる内部レジスタや外部レジスタがアクセスされたか否
かの検査が可能となる。
Further, the MPU 10 is provided with a flag clearing means 15. The flag clearing means 15 allows the first and second inspections by the content replacing means 14.
The flag register is cleared after a predetermined time has elapsed. As a result, it becomes possible to check whether the internal register or the external register has been accessed by the content replacement means 14 at the next timing.

【0016】さらにMPU10には、32個の内部レジ
スタ11_1,11_2,…,11_32それぞれに対
応して、32個の第3のフラグレジスタ16_1,16
_2,…,16_32が備えられている。内容入換手段
14により、互いに対応する内部レジスタと外部レジス
タとの間の内容の入替えが行なわれるたびに、対応する
第3のフラグレジスタのフラグが反転される。
Further, the MPU 10 includes 32 third flag registers 16_1 and 16 corresponding to the 32 internal registers 11_1, 11_2, ..., 11_32, respectively.
_2, ..., 16_32 are provided. Every time the content exchange means 14 exchanges the content between the internal register and the external register corresponding to each other, the flag of the corresponding third flag register is inverted.

【0017】さらにMPU10には、アドレスレジスタ
12とアクセス置換手段17も備えられている。アドレ
スレジスタ12は、32個の外部レジスタ11_33,
11_34,…,11_64のアドレスを代表する代表
アドレスを格納する。アクセス置換手段17は、前述し
た第3のフラグレジスタのフラグに従って、内部レジス
タの内容が対応する外部レジスタの内容に置き換えられ
た場合に、この内部レジスタのアクセスをアドレスレジ
スタ12の内容にしたがって対応する外部レジスタのア
クセスに置換する。MPU10の命令セット上において
は、あたかもMPU10には内部レジスタが64個存在
するものとして扱われるため、プログラムは容易に作成
される。
Further, the MPU 10 is also provided with an address register 12 and an access replacing means 17. The address register 12 includes 32 external registers 11_33,
A representative address representative of the addresses of 11_34, ..., 11_64 is stored. When the contents of the internal register are replaced with the contents of the corresponding external register according to the flag of the third flag register described above, the access replacing means 17 responds to the access of the internal register according to the contents of the address register 12. Replace with external register access. On the instruction set of the MPU 10, since it is treated as if the MPU 10 has 64 internal registers, a program is easily created.

【0018】次に、具体例として、内部レジスタ11_
1と外部レジスタ11_33が入れ替えられる場合の処
理について説明する。アドレスレジスタ12には、外部
レジスタ11_33のアドレスが格納されている。内容
入替手段14により、例えばタイマルーチンが起動され
所定のタイミングで第1のフラグレジスタ13_1およ
び第2のフラグレジスタ13_33が検査される。ここ
で第1のフラグレジスタ13_1のフラグが‘0’、第
2のフラグレジスタ13_33のフラグが‘1’とす
る。すると、今回のタイマルーチンが起動される以前に
は、演算処理速度の速い内部レジスタ11_1がアクセ
スされておらず、一方 演算処理速度の遅い外部レジス
タ11_33がアクセスされているため、内容入替手段
14により、これら内部レジスタ11_1の内容と外部
レジスタ13_33の内容とが入れ替えられる、これと
ともに第3のフラグレジスタ16_1のフラグが‘1’
に反転する。
Next, as a specific example, the internal register 11_
The process when 1 and the external register 11_33 are exchanged will be described. The address of the external register 11_33 is stored in the address register 12. For example, a timer routine is started by the content replacing means 14 and the first flag register 13_1 and the second flag register 13_33 are inspected at a predetermined timing. Here, it is assumed that the flag of the first flag register 13_1 is "0" and the flag of the second flag register 13_33 is "1". Then, before the timer routine of this time is activated, the internal register 11_1 having a high arithmetic processing speed is not accessed, while the external register 11_33 having a low arithmetic processing speed is accessed, so that the content replacement means 14 , The contents of the internal register 11_1 and the contents of the external register 13_33 are exchanged, and at the same time, the flag of the third flag register 16_1 is '1'.
Flip to.

【0019】なお、ここで第1のフラグレジスタ13_
1および第2のフラグレジスタ1333のフラグの組合
せとして、前述した組合せ以外にも、第1のフラグレジ
スタ13_1および第2のフラグレジスタ13_33の
フラグがともに‘0’や‘1’の場合、または第1のフ
ラグレジスタ13_1のフラグが‘1’、第2のフラグ
レジスタ13_33のフラグが‘0’の3通りの組合せ
があるが、これら組合せの場合には、内容入換手段15
により内部レジスタ11_1の内容と外部レジスタ13
_33の内容を入れ替えても、演算処理速度の向上は期
待できないため、これら内容の入れ替えは行なわれな
い。
Here, the first flag register 13_
As the combination of the flags of the first and second flag registers 1333, in addition to the combination described above, when the flags of the first flag register 13_1 and the second flag register 13_33 are both “0” or “1”, or There are three combinations in which the flag of the first flag register 13_1 is "1" and the flag of the second flag register 13_33 is "0". In the case of these combinations, the content replacement means 15
The contents of the internal register 11_1 and the external register 13
Even if the contents of _33 are replaced, the calculation processing speed cannot be expected to be improved, and therefore these contents are not replaced.

【0020】その後、第1のフラグレジスタ13_1お
よび第2のレジスタフラグ13_33はフラグクリア手
段15によりクリアされる。さらに、第3のフラグレジ
スタ16_1のフラグが‘1’のため、アクセス置換手
段17により、内部レジスタ11_1のアクセスが外部
レジスタ11_33のアクセスに置換される。
After that, the first flag register 13_1 and the second register flag 13_33 are cleared by the flag clear means 15. Further, since the flag of the third flag register 16_1 is "1", the access replacing unit 17 replaces the access of the internal register 11_1 with the access of the external register 11_33.

【0021】以上により、外部レジスタ11_33の内
容が内部レジスタ11_1でアクセスされ、一方内部レ
ジスタ11_1の内容は外部レジスタ11_33でアク
セスされる。このようにしてアクセス頻度の高い変数デ
ータがMPU10内の内部レジスタで処理されるため、
演算処理速度が向上する。
As described above, the contents of the external register 11_33 are accessed by the internal register 11_1, while the contents of the internal register 11_1 are accessed by the external register 11_33. In this way, variable data with high access frequency is processed by the internal register in the MPU 10,
The calculation processing speed is improved.

【0022】[0022]

【発明の効果】以上説明したように、本発明のMPU
は、所定のタイミング毎に、互いに対応する、内部レジ
スタと外部レジスタのフラグが検査され、これにより内
部レジスタがアクセスされておらず外部レジスタがアク
セスされていた場合には、外部レジスタの内容と内部レ
ジスタの内容が交換され、アクセス頻度の高い変数デー
タが内部レジスタに容易に割り当てられる。このため、
演算処理速度が向上する。またアセンブラやコンパイラ
のプログラム上で、内部レジスタと外部レジスタを区別
して扱う必要もなく、これによりプログラムの効率化が
図られる。
As described above, the MPU of the present invention.
Checks the flags of the internal register and external register that correspond to each other at every predetermined timing, and if the internal register is not accessed and the external register is accessed, the contents of the external register and the internal register are checked. Register contents are exchanged, and variable data that is frequently accessed is easily assigned to internal registers. For this reason,
The calculation processing speed is improved. Further, it is not necessary to distinguish between the internal register and the external register in the program of the assembler or the compiler, and thus the efficiency of the program can be improved.

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

【図1】本発明のMPUの一実施例の特徴部分の模式図
と外部メモリの一部を示した図である。
FIG. 1 is a schematic view of a characteristic part of an embodiment of an MPU of the present invention and a view showing a part of an external memory.

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

10 MPU 11_1,11_2,…,11_32 内部レジスタ 11_33,11_34,…,11_64 外部レジス
タ 12 アドレスレジスタ 13_1,13_2,…,13_32 第1のフラグレ
ジスタ 13_33,13_34,…,13_64 第2のフラ
グレジスタ 14 内容入換手段 15 フラグクリア手段 16_1,16_2,…,16_32 第3のフラグレ
ジスタ 17 アクセス置換手段 20 外部メモリ
10 MPU 11_1, 11_2, ..., 11_32 Internal register 11_33, 11_34, ..., 11_64 External register 12 Address register 13_1, 13_2, ..., 13_32 First flag register 13_33, 13_34, ..., 13_64 Second flag register 14 Exchange means 15 flag clear means 16_1, 16_2, ..., 16_32 third flag register 17 access substitution means 20 external memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 一群の命令を順次実行するマイクロプロ
セッサにおいて、 複数の内部レジスタと、 前記複数の内部レジスタそれぞれに対応するメモリ領域
上の外部レジスタのアドレスを代表する代表アドレスを
格納するアドレスレジスタと、 前記複数の内部レジスタそれぞれに対応して備えられ
た、対応する内部レジスタがアクセスされたか否かを示
すフラグが格納される第1のフラグレジスタと、 前記複数の内部レジスタそれぞれに対応して備えられ
た、対応する外部レジスタがアクセスされたか否かを示
すフラグが格納される第2のフラグレジスタと、 所定のタイミング毎に、前記第1および第2のフラグレ
ジスタに格納されたフラグを検査し、互いに対応する第
1および第2のフラグレジスタのうち、第1のフラグレ
ジスタにアクセスがなかったことを示すフラグが格納さ
れるとともに第2のフラグレジスタにアクセスがあった
ことを示すフラグが格納されていたときに、対応する内
部レジスタの内容と対応する外部レジスタの内容とを入
れ替える内容入替手段と、 前記第1および第2のフラグレジスタを、所定のタイミ
ング毎に、前記内部レジスタおよび前記外部レジスタに
アクセスがなかったことを示すフラグにクリアするフラ
グクリア手段と、 前記複数の内部レジスタそれぞれに対応して備えられ
た、互いに対応する内部レジスタと外部レジスタとの間
の内容の入替えが行なわれるたびに反転するフラグが格
納される第3のフラグレジスタと、 前記第3のフラグレジスタに格納されたフラグに従っ
て、対応する内部レジスタのアクセスを対応する外部レ
ジスタのアクセスに置換するアクセス置換手段とを備え
たことを特徴とするマイクロプロセッサ。
1. A microprocessor that sequentially executes a group of instructions, and a plurality of internal registers, and an address register that stores a representative address representing an address of an external register on a memory area corresponding to each of the plurality of internal registers. A first flag register that is provided for each of the plurality of internal registers and that stores a flag that indicates whether or not the corresponding internal register has been accessed; and a first flag register that is provided for each of the plurality of internal registers A second flag register that stores a flag indicating whether the corresponding external register has been accessed, and the flag stored in the first and second flag registers is inspected at every predetermined timing. , Of the corresponding first and second flag registers, the first flag register is accessed. When the flag indicating that there is no error is stored and the flag indicating that the second flag register has been accessed is stored, the contents of the corresponding internal register and the contents of the corresponding external register are exchanged. Content replacement means, flag clear means for clearing the first and second flag registers to a flag indicating that the internal register and the external register have not been accessed at predetermined timings, and the plurality of internal A third flag register, which is provided for each register and stores a flag that is inverted each time the contents of the corresponding internal register and external register are exchanged, and the third flag register The corresponding internal register is accessed according to the flag stored in the corresponding external register. Microprocessor, characterized in that it comprises an access replacement means for replacing the process.
【請求項2】 互いに対応する内部レジスタと外部レジ
スタとの間の演算が禁止されてなることを特徴とする請
求項1記載のマイクロプロセッサ。
2. The microprocessor according to claim 1, wherein operations between internal registers and external registers corresponding to each other are prohibited.
JP6158994A 1994-03-30 1994-03-30 Microprocessor Expired - Fee Related JP2875150B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6158994A JP2875150B2 (en) 1994-03-30 1994-03-30 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6158994A JP2875150B2 (en) 1994-03-30 1994-03-30 Microprocessor

Publications (2)

Publication Number Publication Date
JPH07271574A true JPH07271574A (en) 1995-10-20
JP2875150B2 JP2875150B2 (en) 1999-03-24

Family

ID=13175495

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6158994A Expired - Fee Related JP2875150B2 (en) 1994-03-30 1994-03-30 Microprocessor

Country Status (1)

Country Link
JP (1) JP2875150B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010054724A (en) * 2008-08-27 2010-03-11 Kyocera Mita Corp Image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010054724A (en) * 2008-08-27 2010-03-11 Kyocera Mita Corp Image forming apparatus

Also Published As

Publication number Publication date
JP2875150B2 (en) 1999-03-24

Similar Documents

Publication Publication Date Title
JP2818249B2 (en) Electronic computer
US8495636B2 (en) Parallelizing single threaded programs by performing look ahead operation on the single threaded program to identify plurality of instruction threads prior to execution
US5710724A (en) Dynamic computer performance monitor
US9672035B2 (en) Data processing apparatus and method for performing vector processing
US8544006B2 (en) Resolving conflicts by restarting execution of failed discretely executable subcomponent using register and memory values generated by main component after the occurrence of a conflict
US8312455B2 (en) Optimizing execution of single-threaded programs on a multiprocessor managed by compilation
US7620951B2 (en) Hiding memory latency
US5542079A (en) Data driven processor for reading data from storage to apply prescribed operation in response to operation updating instruction and updating the contents of the storage
JPH07271574A (en) Microprocessor
KR100861896B1 (en) Data processing apparatus and data processing method
US7890740B2 (en) Processor comprising a first and a second mode of operation and method of operating the same
EP1035471A1 (en) Computer system
JP2883465B2 (en) Electronic computer
JP3341662B2 (en) Information processing device and multi-port register file
JPS6051947A (en) Instruction prefetching system in virtual storage computer
JPH0666052B2 (en) A computer that automatically maps memory contents to machine registers
JPH01123328A (en) Computer system
JPS5872251A (en) Data processing system
JP3147884B2 (en) Storage device and information processing device
US20070266224A1 (en) Method and Computer Program Product for Executing a Program on a Processor Having a Multithreading Architecture
JP3853309B2 (en) Microprocessor and compiling device for a program executed by the microprocessor
JPH08221271A (en) Pipeline processor
JPS61115153A (en) Data processor
KR19990026795A (en) Microprocessor
JPH0962502A (en) Information processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981222

LAPS Cancellation because of no payment of annual fees