JPS60195646A - Data processor - Google Patents

Data processor

Info

Publication number
JPS60195646A
JPS60195646A JP59049047A JP4904784A JPS60195646A JP S60195646 A JPS60195646 A JP S60195646A JP 59049047 A JP59049047 A JP 59049047A JP 4904784 A JP4904784 A JP 4904784A JP S60195646 A JPS60195646 A JP S60195646A
Authority
JP
Japan
Prior art keywords
register
registers
memory
content
data
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
JP59049047A
Other languages
Japanese (ja)
Inventor
Shunpei Kawasaki
俊平 河崎
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59049047A priority Critical patent/JPS60195646A/en
Priority to GB08504526A priority patent/GB2156551A/en
Priority to KR1019850001453A priority patent/KR850006742A/en
Publication of JPS60195646A publication Critical patent/JPS60195646A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/461Saving or restoring of program or task context

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)
  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To shorten the time required for evacuating and restoring the content of registers, by providing registers composed of tag bits for storing unused conditions and evacuating the content of unused registers only at the time of interruptions, and then, restoring the content when the interruptions are terminated. CONSTITUTION:When an interruption is made from the outside during the operation, evacuation of operation registers RG1-RGn is started after the executing instruction is completed. A control section 1 reads out the content one bit by one bit while shifting a register 2 for reference and, when a tag bit is ''1'', outputs the content of a corresponding operation register to a bus 4 and put the content in the evacuating area of the memory 8. If the tag bit is ''0'', the control section 1 evacuates the content to the memory 8 when the tag bit in the next register is found to be ''1''. Therefore, only the content of operations registers being used is evacuated to the memory 8. When the interruption process terminated, data evacuated to the memory 8 are restored to the original registers by a return interrupt instruction.

Description

【発明の詳細な説明】 [技術分野] この発明は、データ処理技術さらにはマイクロコンピュ
ータシステムに適用して有効な技術に関し、例えばマイ
クロプロセッサと共働して高度なデータ処理を行なうコ
プロセッサに利用して有効な技術に関する。
[Detailed Description of the Invention] [Technical Field] The present invention relates to a data processing technology and a technology that is effective when applied to a microcomputer system, such as a coprocessor that performs advanced data processing in cooperation with a microprocessor. Regarding effective techniques.

[背景技術] マイクロプロセッサと共働して浮動小数点演算のような
高度な数値計算等を行なうコプロセッサには、演算速度
を高速化させるため、大容量のレジスタが設けられる。
[Background Art] A coprocessor that works together with a microprocessor to perform advanced numerical calculations such as floating point calculations is provided with large-capacity registers in order to increase the calculation speed.

このような容量の大きなレジスタを有するコプロセッサ
あるいはマイクロプロセッサにおいては、割込み時にレ
ジスタの内容をメモリの退避領域に退避し、また割込み
回復時には、メモリに退避されていたデータを元のレジ
スタに復帰させてやる必要がある。
In a coprocessor or microprocessor that has such a large-capacity register, the contents of the register are saved to a memory save area when an interrupt occurs, and when the interrupt is recovered, the data that was saved to memory is restored to the original register. I need to do it.

従来、例えばインテル社製8087のような遊動小数点
演算用のコプロセッサにおいては、94バイトの大容量
のレジスタのデータを割込み時にすべてメモリの退避領
域に退避させるようにしていた(1981年8月インテ
ルジャパン発行「1APX86フアミリーユーザーズマ
ニユアル」第141〜142頁)。
Conventionally, in a coprocessor for floating point operations such as the Intel 8087, all data in a large 94-byte register was saved to a memory save area at the time of an interrupt (Intel 8087, August 1981). (Page 141-142 of "1APX86 Family User's Manual" published by Japan).

そのため、割込み時におけるレジスタの内容の退避およ
び回復に相当時間がかがるので、レジスタ容量が大きく
なるほど割込み反応時間が長くなるとともにシステム全
体のスループットも低下するという不都合がある。
Therefore, it takes a considerable amount of time to save and restore the contents of the register at the time of an interrupt, so that as the register capacity increases, the interrupt reaction time becomes longer and the throughput of the entire system also decreases.

[発明の目的コ この発明の目的は、大容量のレジスタを有するマイクロ
プロセッサやコプロセッサにおける割込み時のレジスタ
内容の退避および回復に要する時間を短縮できるように
することにある。
[Object of the Invention] An object of the invention is to shorten the time required to save and restore register contents at the time of an interrupt in a microprocessor or coprocessor having a large capacity register.

この発明の前記ならびにそのほかの目的と新規な特徴に
ついては、本明細書の記述および添附図面から明かにな
るであろう。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

[発明の概要] 本願において開示される発明のうち代表的なものの概要
を説明すれば、下記のとおりである。
[Summary of the Invention] Representative inventions disclosed in this application will be summarized as follows.

すなわち、この発明は、大容量のレジスタを有するコプ
ロセッサであっても、同時にすべてのレジスタを使用す
ることはなく、はとんどの場合使用されないで遊んでい
るレジスタが何割かあることに着目し、各レジスタの使
用もしくは未使用状態を記憶するタグピットからなるレ
ジスタを設け、割込み時にはこのレジスタを参照しなが
ら使用中のレジスタの内容のみを退避し、割込み終了後
に元のレジスタに復帰させるようにすることによって、
未使用のレジスタの内容を退避するのに要する時間を省
略し、これによってレジスタ全体の退避および回復に要
する時間を短縮させるという上記目的を達成するもので
ある。
In other words, this invention focuses on the fact that even if a coprocessor has a large capacity of registers, it will not use all the registers at the same time, and in most cases there will be a percentage of registers that are unused and idle. , a register consisting of tag pits is provided to memorize the used or unused state of each register, and when an interrupt occurs, only the contents of the register in use are saved while referring to this register, and after the interrupt ends, it is restored to the original register. By this,
The above object is achieved by omitting the time required to save the contents of unused registers, thereby shortening the time required to save and restore the entire register.

以下この発明を実施例とともに詳細に説明する。The present invention will be described in detail below along with examples.

[実施例] 第1図は、本発明をマイクロプロセッサもしくはコプロ
セッサに適用した場合の一実施例を示すもので、図中鎖
線Cで囲まれた部分がマイクロプロセッサもしくはコプ
ロセッサで、これらはシリコンのような一個の半導体基
板(チップ)上に形成される。
[Embodiment] Fig. 1 shows an embodiment in which the present invention is applied to a microprocessor or coprocessor. It is formed on a single semiconductor substrate (chip) such as.

図において、1は命令レジスタとマイクロプログラムR
OMもしくはランダムロジック回路等からなる制御部で
ある。また、2は演算等の際に使用されるデータが保持
される作業レジスタRG1゜RG2.・・・・RGnの
各々に対応して設けられたn個のダクビットからなる参
照用レジスタ、3は加算、減算2乗算、除算等の演算を
行なう演算論理ユニット(ALU)である。
In the figure, 1 is the instruction register and the microprogram R.
This is a control section consisting of an OM or random logic circuit. Further, reference numeral 2 indicates work registers RG1, RG2, . . . . A reference register consisting of n dubits provided corresponding to each of RGn, and 3 an arithmetic logic unit (ALU) that performs operations such as addition, subtraction, squaring, and division.

上記制御部12作業レジスタRG1〜RGn。The control unit 12 work registers RG1 to RGn.

参照用レジスタ2および演算論理ユニット3は、内部バ
ス4を介して互いに接続されているとともに、外部バス
5,6を介して外部のメモリ7および8等に接続され、
これによって、マイクロコンピュータシステムが構成さ
れている。
The reference register 2 and the arithmetic logic unit 3 are connected to each other via an internal bus 4, and are also connected to external memories 7 and 8 etc. via external buses 5 and 6.
This constitutes a microcomputer system.

上記メモリ7は、読出し専用のROM (リードオンリ
・メモリ)あるいはRAM (ランダム・アクセス・メ
モリ)からなり、システムを動作させるプログラムが格
納されている。また、上記メモリ8は、RAM等からな
り、システムの動作に必要なデータもしくは演算処理の
結果得られたデータ等が格納される。
The memory 7 is made up of a read-only ROM (read-only memory) or a RAM (random access memory), and stores a program for operating the system. Further, the memory 8 is composed of a RAM or the like, and stores data necessary for the operation of the system or data obtained as a result of arithmetic processing.

上記参照用レジスタ2は、制御部1から出力される制御
信号によって作業レジスタRG、〜RGnの中の一つが
選択されて、そのレジスタにデータがロードされる際に
、対応するダクビソトにパI I+がセットされるとと
もに、ある作業レジスタのデータが不用になり開放され
るときに対応するダクビットがrr Orrにリセット
されるようにされている。また、上記参照用レジスタ2
は、チップに設けられたリセット端子9に対し外部から
供給されるリセット信号φrによってすべてのダクビッ
トが同時にリセット可能にされている。
When one of the working registers RG to RGn is selected by a control signal outputted from the control unit 1 and data is loaded into the selected register, the reference register 2 is configured to input data to the corresponding register 2 when data is loaded into the selected register. is set, and when data in a certain working register becomes unnecessary and is released, the corresponding dak bit is reset to rr - Orr. In addition, the above reference register 2
In this case, all the DAK bits can be reset simultaneously by a reset signal φr supplied from the outside to a reset terminal 9 provided on the chip.

さらに、この実施例では、上記制御部1からの制御信号
によってコントロールされ、外部のメモリ8から読み出
されたデータがロードされるべ、き作業レジスタ(RG
1〜RGn)を指定するポインタlOが設けられている
Further, in this embodiment, a working register (RG
1 to RGn) is provided.

次に上記システムにおいて、割込みがかかった場合のレ
ジスタの退避、回復動作を第2図および第3図を用いて
説明する。
Next, the register saving and restoring operations when an interrupt occurs in the above system will be explained with reference to FIGS. 2 and 3.

システムは、メモリ7から読み出され制御部1内の命令
レジスタにフェッチされた命令を一つずつ実行して行く
ことにより、プログラムに従った所望の作業をレジスタ
RG1〜RGnを使用して行なう。
The system executes instructions read from the memory 7 and fetched into the instruction register in the control unit 1 one by one, thereby performing desired work according to the program using the registers RG1 to RGn.

例えば、データAとデータBとの和をめるような場合、
先ず制御部1からの指令によってデータAが格納されて
いるメモリ8内の所定のアドレスを指定する信号が内部
バス4に出力される。これによって、メモリ8がアクセ
スされてデータAが読み出され、作業レジスタRG 1
〜RGnの中の一つにロードされるわけであるが、この
とき、ロードされる作業レジスタを指定する信号が制御
部1から出力される。すると、対応する作業レジスタの
ゲートが開かれてデータAが取り込まれるとともに、そ
の指定信号によってその作業レジスタに対応する参照用
レジスタ2内のタグピットがダ′1′Iにセットされる
For example, when calculating the sum of data A and data B,
First, a signal designating a predetermined address in the memory 8 where data A is stored is output to the internal bus 4 in response to a command from the control section 1. As a result, the memory 8 is accessed and data A is read out, and the working register RG 1
-RGn, and at this time, a signal specifying the working register to be loaded is output from the control unit 1. Then, the gate of the corresponding working register is opened and data A is taken in, and the tag pit in the reference register 2 corresponding to that working register is set to da'1'I by the designated signal.

同様に、データBがメモリ8から読み出され、他の作業
レジスタにロードされるときにも、対応するタグピット
が” 1 ”にセットされる。その後、データAとBが
ロードされたレジスタの内容が演算論理ユニット3に供
給され、所望の演算が行なわれてから、その演算結果が
作業レジスタRG s〜RGnの中の一つに保持される
。この場合にも対応する参照用レジスタ2内のタグピン
トがrr 1 rrにセットされる。
Similarly, when data B is read from memory 8 and loaded into another working register, the corresponding tag pit is set to "1". Thereafter, the contents of the register loaded with data A and B are supplied to the arithmetic logic unit 3, a desired operation is performed, and the result of the operation is held in one of the working registers RGs to RGn. . In this case as well, the tag focus in the corresponding reference register 2 is set to rr 1 rr.

しかるに、所定の作業の途中である作業レジスタ内のデ
ータが不用になると、プログラムのレジスタ開放命令に
よってそのデータの入っている作業レジスタが開放され
る。この場合、レジスタの開放は、そのレジスタに対応
する参照用レジスタ2内のダクビッ1〜を” o ”に
リセソ1〜することにより行なわれる。
However, when data in a work register becomes unnecessary during a predetermined work, the work register containing the data is released by a register release instruction of the program. In this case, the register is opened by resetting the bits 1- to "o" in the reference register 2 corresponding to the register.

上記参照用レジスタ2は、システムの動作開始に先立っ
て、外部から供給されるリセット信号φrによってリセ
ットされ、すべてのタグピットがrr Ouにリセッ1
〜されている。そのため、上記のように使用される作業
レジスタに対応するタグピットが1″にセットされ、デ
ータが不用になると0″にされてレジスタの開放が行な
われると、参照用レジスタ2の各タグピットは、まさに
対応する作業レジスタRG1〜RGnの使用、未使用状
態を表わすことになる。
The reference register 2 is reset by a reset signal φr supplied from the outside before the system starts operating, and all tag pits are reset to rr Ou.
~ has been. Therefore, when the tag pit corresponding to the working register to be used is set to 1'' as described above, and the register is released by setting it to 0'' when the data is no longer needed, each tag pit in the reference register 2 is exactly This indicates whether the corresponding work registers RG1 to RGn are used or not.

そして、ある作業の途中で外部からの割込み要求もしく
はタイマ割込みあるいはソフトウェアによる内部割込み
要求等によってシステムに割り込みかかると、実行中の
命令が終了してから、作業レジスタRG 1〜RGnの
退避が開始される。
If the system is interrupted by an external interrupt request, a timer interrupt, or an internal interrupt request by software in the middle of a certain task, the saving of the task registers RG1 to RGn is started after the instruction being executed is completed. Ru.

この際、制御部1は、参照用レジスタ2をシフトさせな
がら、その内容(以下タグワードTWと称する)を1ビ
ツトずつ読み出し、そのタグピットがrL I IIの
場合には対応する作業レジスタの内容を内部バス4へ出
力させ、メモリ8内の所定の退避領域(スタックエリア
)に入れてやる。一方、読み出されたタグピットがLL
 OHの場合には、対応する作業レジスタを飛び越して
、次のレジスタのタグピットがrr 1 rrかII 
OHかを判定して、” 1 ”の場合には、その内容を
メモリ8内に退避させる。
At this time, the control unit 1 reads the contents (hereinafter referred to as tag word TW) bit by bit while shifting the reference register 2, and if the tag pit is rL I II, the contents of the corresponding working register are read out. The data is output to the internal bus 4 and stored in a predetermined save area (stack area) in the memory 8. On the other hand, the read tag pit is LL
In the case of OH, the corresponding working register is skipped and the tag pit of the next register is rr 1 rr or II
It is determined whether it is OH, and if it is "1", the contents are saved in the memory 8.

これよって、第2図に示すように使用中の作業レジスタ
の内容Dr2 、Dr4 、Dr6 、・・・・のみが
メモリ8に退避されるようになる。そのため、すべての
作業レジスタRG1〜RGnの内容を退避させる場合に
比べて、退避に要する時間が大幅に短縮される。なお、
上記参照用レジスタ2内のタグワードTWも一番最後に
メモリ8に退避されるようにされている。
As a result, only the contents Dr2, Dr4, Dr6, . . . of the working registers in use are saved in the memory 8, as shown in FIG. Therefore, compared to the case where the contents of all work registers RG1 to RGn are saved, the time required for saving is significantly shortened. In addition,
The tag word TW in the reference register 2 is also saved to the memory 8 last.

その後5作業レジスタをすべて開放させる命令を実行さ
せて参照用レジスタ2の全タグピッ1−をII OHに
してから割込みルーチンが実行される。
Thereafter, an instruction to release all five working registers is executed to set all tag pins 1- of reference register 2 to II OH, and then the interrupt routine is executed.

一方、割込み処理が終了すると、リターンインタラブド
命令等によってメモリ8に退避されていたデータが元の
作業レジスタに復帰される。この場合のメモリからの回
復は、LIFO(ラーストイン・ファーストアウト)方
式で、先ずタグワードがメモリ8から読み出されて参照
用レジスタ2にロードされる。そして、タグワードTW
が復帰さ扛ると、制御部lによって参照用レジスタ2が
シフト動作されてタグピットが一つずつ読み出されると
ともに、このときポインタ10に、対応する作業レジス
タを指示する値(i′)がセットされる。このとき、タ
グピットが′ビであると、ポインタ10の示す作業レジ
スタに対し次にメモリ8から読み出されたデータを入れ
てやる。
On the other hand, when the interrupt processing is completed, the data saved in the memory 8 by a return interwoven instruction or the like is returned to the original working register. In this case, the recovery from the memory is carried out in a LIFO (last in first out) manner, and the tag word is first read from the memory 8 and loaded into the reference register 2. And the tag word TW
When the tag is restored, the reference register 2 is shifted by the control unit 1 and the tag pits are read out one by one, and at this time, a value (i') indicating the corresponding working register is set in the pointer 10. Ru. At this time, if the tag pit is 'bi', the next data read from the memory 8 is put into the working register indicated by the pointer 10.

一方、読み出されたタグピットが′0″であるときは、
ポインタ10の値(i)を一つずつ飛ばして進めてやり
、次にタグピットが1′″になったところで、そのとき
ポインタ10が指し示す作業レジスタに対して、メモリ
8から次に読み出されたデータを入れてやる。
On the other hand, when the read tag pit is '0'',
The value (i) of pointer 10 is skipped one by one, and when the tag pit reaches 1'', the next read from memory 8 is performed for the working register pointed to by pointer 10. I'll put in the data.

これによって、第3図に示すように、メモリ8内の退避
領域に退避されていたレジスタのデータD r 1 g
 D r 4 + D r 6・・・・が元の作業レジ
スタRG 2.、 、 RG a 、 RG 5・・・
・に正しくかつ速や力)に復帰されるようになる。
As a result, as shown in FIG. 3, the register data D r 1 g saved in the save area in the memory 8
D r 4 + D r 6... is the original working register RG 2. , , RG a , RG 5...
・You will be able to return to normality, speed, and power).

上記実施例の場合9作業レジスタのビット数もしくはレ
ジスタの総数が多くなるほど割込み時のレジスタの退避
、回復時間の短縮効果が大きくなる。
In the above embodiment, the greater the number of bits of the nine working registers or the total number of registers, the greater the effect of reducing register save and recovery time at the time of an interrupt.

なお、第1図に示すCPUが遊動小数点演算用コプロセ
ッサである場合、コプロセッサは通常アドレス出力能力
を持たないように構成されるので、その場合には、コプ
ロセッサと共働して作業を行なうマイクロプロセッサ(
図示省略)からアドレスが出力されて、メモリ7および
8から所望の命令やデータが読み出されるように構成さ
れる。
Note that if the CPU shown in Figure 1 is a coprocessor for floating-point arithmetic, the coprocessor is usually configured not to have address output capability, so in that case, it will not be possible to perform the work in cooperation with the coprocessor. microprocessor (
The configuration is such that an address is output from the memory (not shown) and desired instructions and data are read from the memories 7 and 8.

[効果] 各作業レジスタの使用もしくは未使用状態を記憶するタ
グピットからなるレジスタを設け、割込み時にはこのレ
ジスタを参照しながら使用中のレジスタの内容のみを退
避し、割込み終了後に元のレジスタに復帰させるように
したので、未使用のレジスタの内容を退避するのに要す
る時間を節約することができるという作用により、作業
レジスタ全体の退避、回復に要する時間が短縮されるよ
うに・なる。その結果1割込み要求に対する反応が早く
なり、実時間処理やマルチタスク処理、マルチユーザ処
理等における反応速度が高速化され、システムのスルー
プットが向上されるようになるという効果がある。
[Effect] A register consisting of tag pits is provided to store the used or unused status of each working register, and when an interrupt occurs, only the contents of the register in use are saved while referring to this register, and the original register is restored after the interrupt ends. By doing so, the time required to save the contents of unused registers can be saved, and the time required to save and restore the entire working register can be shortened. As a result, the response to one interrupt request becomes faster, the response speed in real-time processing, multi-task processing, multi-user processing, etc. becomes faster, and the throughput of the system is improved.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、本発明は上記実施例に限定されるも
のではなく、その要旨を逸脱しない範囲で種々変更可能
であることはいうまでもない。
Although the invention made by the present inventor has been specifically explained above based on Examples, it goes without saying that the present invention is not limited to the above Examples and can be modified in various ways without departing from the gist thereof. Nor.

[利用分野] 以上の説明では主として本発明者によってなされた発明
をその背景となった利用分野であるマイクロプロセッサ
やコプロセッサに適用した場合について説明したが、こ
の発明はそれに限定されるものでなく、所有するレジス
タの数もしくはビット数が多いようなすべてのデータ処
理装置に利用で声るものである。
[Field of Application] In the above description, the invention made by the present inventor was mainly applied to microprocessors and coprocessors, which are the field of application that formed the background of the invention, but this invention is not limited thereto. This is useful for all data processing devices that have a large number of registers or bits.

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

第1図は、本発明をマイクロプロセッサもしくはコプロ
セッサに適用した場合の一実施例を示すブロック図、 第2図は、そのシステムにおけるレジスタの退避方法を
示す説明図、 第3図は、同じくレージスタの回復方法を示す説明図で
ある。 1・・・・制御部、2・・・・参照用レジスタ、3・・
・・演算論理ユニット、4・・・・内部バス、5,6・
・・・外部バス、7,8・・・・メモリ、9・・・・リ
セット端子、10・・・・ポインタ、RG、〜RGn・
・・・レジスタ(作業レジスタ)、Dr)〜Drn・・
・・レジスタ内容、φr・・・・リセッ1−信号、TW
・・・・タグワード。
FIG. 1 is a block diagram showing an embodiment in which the present invention is applied to a microprocessor or coprocessor, FIG. 2 is an explanatory diagram showing a register saving method in the system, and FIG. FIG. 2 is an explanatory diagram showing a recovery method. 1...Control unit, 2...Reference register, 3...
... Arithmetic logic unit, 4... Internal bus, 5, 6.
...External bus, 7, 8...Memory, 9...Reset terminal, 10...Pointer, RG, ~RGn.
...Register (work register), Dr) ~ Drn...
...Register contents, φr...Reset 1-signal, TW
...tag word.

Claims (1)

【特許請求の範囲】 1、複数個のレジスタを備え、割込み処理が可能にされ
たデータ処理装置において、上記各レジスタに対応した
数のタグピットからなる参照用レジスタが設けられてい
るとともに、上記各レジスタへのデータのロード命令実
行の際に対応するダクビットがセットされ、また、上記
各レジスタ内のデータが不要になったときにこれを開放
状態にする開放命令実行の際に、対応するダクビットが
リセットされるとともに、割込み時に上記参照用レジス
タのダクビットを参照しながら使用中のレジスタの内容
のみがメモリに退避され、回復時には参照用レジスタの
タグピットを参照しながらメモリの退避領域内のデータ
が元のレジスタにロードされるようにされてなることを
特徴とするデータ処理装置。 2、割込み時に上記参照用レジスタの内容が、上記各レ
ジスタの退避終了後に同じくメモリに退避され、かつ回
復時には退避されていた参照用レジスタの内容が最初に
もとのレジスタにロードされるようにされてなることを
特徴とする特許請求の範囲第1項記載のデータ処理装置
[Claims] 1. In a data processing device equipped with a plurality of registers and capable of interrupt processing, a reference register consisting of a number of tag pits corresponding to each of the above registers is provided, and each of the above registers is The corresponding dak bit is set when executing an instruction to load data into a register, and the corresponding dak bit is set when executing an open instruction to open the data in each of the above registers when it is no longer needed. At the same time as being reset, only the contents of the register in use are saved to memory while referring to the DAK bit of the reference register mentioned above at the time of an interrupt, and at the time of recovery, the data in the memory save area is saved to the original while referring to the tag pit of the reference register. A data processing device characterized in that the data is loaded into a register. 2. At the time of an interrupt, the contents of the reference registers mentioned above are also saved to memory after the save of each register above is completed, and at the time of recovery, the contents of the reference registers that were saved are first loaded into the original registers. 2. A data processing device according to claim 1, wherein the data processing device comprises:
JP59049047A 1984-03-16 1984-03-16 Data processor Pending JPS60195646A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP59049047A JPS60195646A (en) 1984-03-16 1984-03-16 Data processor
GB08504526A GB2156551A (en) 1984-03-16 1985-02-21 Data processor
KR1019850001453A KR850006742A (en) 1984-03-16 1985-03-07 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59049047A JPS60195646A (en) 1984-03-16 1984-03-16 Data processor

Publications (1)

Publication Number Publication Date
JPS60195646A true JPS60195646A (en) 1985-10-04

Family

ID=12820167

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59049047A Pending JPS60195646A (en) 1984-03-16 1984-03-16 Data processor

Country Status (3)

Country Link
JP (1) JPS60195646A (en)
KR (1) KR850006742A (en)
GB (1) GB2156551A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6234242A (en) * 1985-08-07 1987-02-14 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Data processing system
JPS62226341A (en) * 1986-03-28 1987-10-05 Nec Corp Register saving device
JPS63311537A (en) * 1987-06-15 1988-12-20 Pfu Ltd Arithmetic processor

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4794515A (en) * 1986-01-17 1988-12-27 International Business Machines Corporation Protection of data in a multiprogramming data processing system
JPS62221732A (en) * 1986-03-24 1987-09-29 Nec Corp Register saving and recovery system
JPS63156236A (en) * 1986-12-19 1988-06-29 Toshiba Corp Register device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2214240C2 (en) * 1972-03-23 1974-03-28 Siemens Ag, 1000 Berlin U. 8000 Muenchen Method for storing control data in the event of a program interruption in a processing system
GB2060225B (en) * 1979-09-29 1983-05-25 Plessey Co Ltd Multi-programming data processing system process suspension
JPS6015771A (en) * 1983-07-08 1985-01-26 Hitachi Ltd Memory controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6234242A (en) * 1985-08-07 1987-02-14 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Data processing system
JPS62226341A (en) * 1986-03-28 1987-10-05 Nec Corp Register saving device
JPS63311537A (en) * 1987-06-15 1988-12-20 Pfu Ltd Arithmetic processor

Also Published As

Publication number Publication date
KR850006742A (en) 1985-10-16
GB8504526D0 (en) 1985-03-27
GB2156551A (en) 1985-10-09

Similar Documents

Publication Publication Date Title
US4794524A (en) Pipelined single chip microprocessor having on-chip cache and on-chip memory management unit
US5812868A (en) Method and apparatus for selecting a register file in a data processing system
KR970008523B1 (en) High-speed processor capable of handling multiple interupts
JPH09330236A (en) Microprocessor and peripheral device for the same
JP2004157636A (en) Data processing apparatus
JPS60195646A (en) Data processor
JPS6142308B2 (en)
EP0385136B1 (en) Microprocessor cooperating with a coprocessor
JP4114946B2 (en) Data processing device
JP4756599B2 (en) Data processing device
JPS58178464A (en) Parallel arithmetic processing unit
JPH07219766A (en) Arithmetic processor
JP4916151B2 (en) Parallel computing device
JP3539984B2 (en) Processor
JP2562838B2 (en) Processor and store buffer control method
JPH0443301B2 (en)
JPS6230455B2 (en)
JPS59218569A (en) Microcomputer
JP3058524B2 (en) Program control unit
JP2509244B2 (en) Branch instruction processor
JP3139310B2 (en) Digital signal processor
JPS59172044A (en) Instruction control system
JPS6352240A (en) Data processor
JPS6149695B2 (en)
JPS629926B2 (en)