JPS60201445A - Multiple interruption processing device - Google Patents
Multiple interruption processing deviceInfo
- Publication number
- JPS60201445A JPS60201445A JP5880784A JP5880784A JPS60201445A JP S60201445 A JPS60201445 A JP S60201445A JP 5880784 A JP5880784 A JP 5880784A JP 5880784 A JP5880784 A JP 5880784A JP S60201445 A JPS60201445 A JP S60201445A
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- interrupt processing
- priority
- register
- interruption
- 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
Links
- 102100024061 Integrator complex subunit 1 Human genes 0.000 abstract 1
- 101710092857 Integrator complex subunit 1 Proteins 0.000 abstract 1
- 102100028043 Fibroblast growth factor 3 Human genes 0.000 description 11
- 108050002021 Integrator complex subunit 2 Proteins 0.000 description 11
- 230000006870 function Effects 0.000 description 5
- 238000000034 method Methods 0.000 description 3
- 239000000725 suspension Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Bus Control (AREA)
Abstract
Description
【発明の詳細な説明】
(技術分野)
不発明は多重割込処理装置に関し、特にシングルテ、ソ
ズマイクロコンピュータ(以下「マイコン」と称す)等
に内蔵される割込処理機能により即時に多重割込処理を
実行せしめる割込処理装置に係わる。[Detailed Description of the Invention] (Technical Field) The present invention relates to a multiplex interrupt processing device, and in particular, a multiplex interrupt processing device that can instantly perform multiple It relates to an interrupt processing device that executes interrupt processing.
(従来技術)
割込処理機能は、多くのマイコンに種々内蔵されており
、緊、@、ヲ要するプログラム処理あるいはタイマーに
よる時計動作のためのQr定インターバル毎のプログラ
ム処理を実行するなとML要な機能となっている。(Prior art) Many microcontrollers have various built-in interrupt processing functions. It has a great function.
今後、マイコンの高性能化に伴ない、マイコンによるも
柚制御も複雑となり、割込機能も、割込処理の即時開始
9割込後先側位付けの目由度及び割込数の増大等が要求
されている。In the future, as the performance of microcomputers improves, control by the microcomputer will become more complex, and the interrupt function will also require immediate start of interrupt processing, more flexibility in positioning the destination after 9 interrupts, and an increase in the number of interrupts. is required.
従来このような割込機能を内蔵したマイコンにおいては
、所定割込処理が実行されると、すべての割込受は付け
の許可又は禁止音指示するマスター割込許司フラグが自
動的に県北モードとなる。Conventionally, in microcontrollers that have such a built-in interrupt function, when a predetermined interrupt process is executed, the master interrupt operator flag, which instructs all interrupt reception to be enabled or disabled, is automatically set to mode.
したがって所定割込中に、他の優先度の高い多重割込に
よるプログラム処理か必豊な場合には、このマスター割
込許可フラグを、許可モードにするこめの命令を実行し
ておき、後先度の高い割込の要求を待機する。しかしこ
の場合、マスター割込許可フラグは、すべての割込に対
する受け付は許可でおり、優先度の低い割込も、処理さ
れる可能性があるため、マスター割込許可フラグを許可
モードにする前に後先度の低いその他の割込は、個々の
割込に対する割込r!f町又は、禁止kn示する個別許
可フラグを所定の命令により、県北モードに設定しなけ
れはならない。又、所定割込が終了する時点では、再び
優先度の低いその他の割込に対する個別許可フラグ會許
可モードに再び設足しなけれはならなかった。したがっ
て従来のこのような割込機能を肩するマイコンにおいて
は緊急を資する割込(例えば、マイコンの制御系全体の
電源ダウン時等)要求が発生し′fc場合、マスター割
込許可フラグ及び優先度の駄い個々の割込の個別許可フ
ラグ等の操作のために、緊、@1.を資する割込による
プログラム処理が即時に実行できない等の欠点がめり、
更に、各割込許可フラグ’e!プログラム処理部で所定
命令により操作しなければならず、限られたプログラム
エリアを有効に使用できないという欠点もめった。Therefore, if the program must be processed by other high-priority multiple interrupts during a specified interrupt, execute the instruction to set this master interrupt enable flag to enable mode, and then Waits for high-level interrupt requests. However, in this case, the master interrupt permission flag allows acceptance of all interrupts, and lower priority interrupts may also be processed, so the master interrupt permission flag is set to permission mode. Other interrupts with lower priority are interrupt r! for individual interrupts. The individual permission flag indicating town f or prohibition kn must be set to northern prefecture mode by a predetermined command. Further, at the time when a predetermined interrupt ends, it is necessary to set the individual permission flags for other low-priority interrupts again in the association permission mode. Therefore, in a conventional microcontroller that handles such an interrupt function, if an urgent interrupt request occurs (for example, when the entire control system of the microcontroller is powered down), the master interrupt permission flag and priority level are @1. There are drawbacks such as the inability to execute program processing immediately due to interrupts that contribute to
Furthermore, each interrupt permission flag 'e! The problem is that the program processing unit must be operated by predetermined commands, and the limited program area cannot be used effectively.
(発明の目的)
本発明の目的は従来の多重割込処理装置における欠点を
除去すると共により後先度の高い緊急を喪する割込に対
して必要なグログラム処理を即時に開始することができ
、更に、割込処理に関する所定命令を何度も実行する必
要がなく、プログラムエリアを本来の制御目的に鳴動に
オ0用できる尚性能な多電割込処理装置i會提供するこ
とにりる。(Object of the Invention) The object of the present invention is to eliminate the drawbacks of conventional multiple interrupt processing devices, and to be able to immediately start program processing necessary for more urgent interrupts. Furthermore, it is an object of the present invention to provide a high-performance multi-current interrupt processing device that does not require repeated execution of a predetermined command related to interrupt processing and can use the program area for the original control purpose for ringing. .
(発明の琳成)
本発明によれは、割込優先順位に基づき割込処理を実行
する多電割込処理において、割込処理実行に伴い、プロ
グラムアドレスの退避・復帰の制御及び分岐アドレスの
発生を行う割込処理手段と、所定割込の優先順位に対応
した良先度詭別値を前記割込処理手段の指示により記録
する記憶手段と、前記割込処理手段の指示により、前記
優先度識別価の退避及び前記記憶手段への復帰を制御す
る側角又は保留を制御する許可手段と全備え、前記許可
手段により許可された割込に対する割込処理実行時に、
前記記憶手段の内容を退避すると共に当該割込に対応し
7’c&先度識別値を前記記憶手段に設定し、当1割込
処理終了時には、退避されfcf!に先度識別値を前記
記憶手段に復帰せしめるようにしたことt特徴とする多
重割込処理装置が得られる。(Rinse of the Invention) According to the present invention, in multi-current interrupt processing that executes interrupt processing based on interrupt priority, program address save/restore control and branch address an interrupt processing means for generating a predetermined interrupt; a storage means for recording a quality judgment value corresponding to a priority of a predetermined interrupt according to instructions from the interrupt processing means; a side angle for controlling the saving of the degree identification value and a return to the storage means, or a permission means for controlling the suspension, when executing an interrupt process for an interrupt permitted by the permission means;
The contents of the storage means are saved, and the 7'c & priority identification value corresponding to the interrupt is set in the storage means, and when the first interrupt processing is completed, the contents are saved and fcf! There is obtained a multiple interrupt processing device characterized in that the previous identification value is restored to the storage means.
(実軸例) 次に不発明の実軸例について図面を参照して説明する。(Real axis example) Next, an example of an uninvented real axis will be described with reference to the drawings.
5−
図面は本発明の一実施例を示す。図において、不実施例
は割込優先順位に基つき割込処理を実行する多電多電割
込み処理装置で、割込処理実行に伴ない、プログラムア
ドレスの退避・復帰及び分岐アドレスの発生全行なう割
込処理手段13と、所定割込の優先順位に対応しfc優
先度識別値を前記割込処理手段の指示により記憶する記
憶手段11と、前記割込処理手段の指示により、前記優
先度゛識別値の退避及び前記記憶手段への復#全制御す
る制御手段12と、前1l12記憶手段の内容に基づき
、割込処理実行の許可又は保留を制御する許可手段14
とを含む。5- The drawing shows an embodiment of the invention. In the figure, the non-implemented example is a multi-power interrupt processing device that executes interrupt processing based on interrupt priority, and saves and restores program addresses and generates branch addresses in conjunction with execution of interrupt processing. an interrupt processing means 13; a storage means 11 for storing an fc priority identification value corresponding to the priority of a predetermined interrupt according to instructions from the interrupt processing means; A control means 12 that fully controls the saving of the identification value and its restoration to the storage means, and a permission means 14 that controls permission or suspension of interrupt processing execution based on the contents of the previous storage means.
including.
記憶手段11は、任意の時点において、マイコン(図示
せず)が優先度の高い割込み処理プログラムを実行中で
あるか、おるいは後先度の低い割込み処理プログラムを
実行中でめるか、めるいは割込処理中ではないか、のい
ずれかの状態を記憶する2ビ9トの割込み優先状態識別
レジスタであり、制御手段12は、割込処理時に、割込
処理開始以前の前記−先状態識別レジスタ11の同各を
6−
退避記憶し、割込処理終了時に前記割込後先状態識別レ
ジスタ11へ記憶内容を復帰せしめるスタックレジスタ
である。割込処理手段13は、前記割込後先状態識別レ
ジスタ11の内容tスタックレジスタ12へ退避させ、
かつ現在のノログラムカウンタの内容荀データメモリ又
は専用のスタックレジスタに退避させる為の制御信号P
C8Tを発生し、割込信号に応じた割込処理プログラム
の開始番地を発生する割込処理制御回路である。The storage means 11 stores whether, at any given time, the microcomputer (not shown) is executing an interrupt processing program with a high priority or an interrupt processing program with a low priority; The flag is a 2-bit, 9-bit interrupt priority status identification register that stores the status of either interrupt processing or not. This is a stack register that saves and stores the contents of the destination state identification register 11 and restores the stored contents to the post-interrupt state identification register 11 when the interrupt processing is completed. The interrupt processing means 13 saves the contents of the post-interrupt state identification register 11 to the t-stack register 12,
and a control signal P for saving the current contents of the nologram counter to the data memory or dedicated stack register.
This is an interrupt processing control circuit that generates C8T and generates a start address of an interrupt processing program according to an interrupt signal.
許可手段14は2人力AND回路14−1および3人力
ANI)回路14−2〜l4−nf含み、更に前記割込
優先状態識別レジスタlの2ビツトのうち、上位1ビツ
ト出力倉入力とするインバータ15と、下位lビット出
力を入力とするインバータ16とにより構成されている
。The enabling means 14 includes a two-man power AND circuit 14-1 and a three-man power ANI (ANI) circuit 14-2 to l4-nf, and further includes an inverter which outputs the upper 1 bit of the 2 bits of the interrupt priority state identification register 1. 15, and an inverter 16 whose input is the output of the lower l bits.
(n−1)入力OR回路17は、前記AND@路14−
2〜14−nの出力全入力とするOR回路でるる。(n-1) The input OR circuit 17 has the AND@ path 14-
It is an OR circuit that takes all outputs from 2 to 14-n as input.
トランスファーグー)18及び19は、前記AND1g
l路14−1 の出力が論理値11”のときにそれぞれ
論理値”l”(電源電圧レベル)’kliitl記割込
優先状り識別レジスタ11の上位ビットに、論理値uO
” (GNDレベル)を下位ビットにセラトスるための
トランスファーゲートでめり、トランスファーゲート2
o及び21は、IQi2OR回路17の出力がul″′
のときに tfQIji前記割込優先状態識別レジスタ
11の上位ビー、 トに、″′l″′ケ下位ビットにセ
ットするためのトランスファーゲートである。transfer group) 18 and 19 are the AND1g
When the output of the l path 14-1 is a logical value 11'', the logical value uO is set in the upper bit of the interrupt priority identification register 11, respectively.
” (GND level) to the lower bit, transfer gate 2 is set.
o and 21, the output of the IQi2OR circuit 17 is ul'''
This is a transfer gate for setting the upper bit of the interrupt priority status identification register 11 to the lower bit of tfQIji when .
なお、n種類の割込み信号lNTl〜INTnのうち、
割込み信号lNTlが割込みの責先度が高く、割込み信
号INT2〜INT nは一律に優先度の低い割込みと
する。Note that among the n types of interrupt signals lNTl to INTn,
It is assumed that the interrupt signal lNTl has a high interrupt priority, and the interrupt signals INT2 to INTn are uniformly low priority interrupts.
次に本発明の一実施例の動作について更に詳しく説明す
る。Next, the operation of one embodiment of the present invention will be explained in more detail.
マイコンへのリセット信号大刀により割込曖先状態識別
レジスタ(以下ISTレジスタと叶ぷ)11の内容はい
ずれの割込処理も行っていないことを示すコード0OB
(2進数)がセットされる。By sending a reset signal to the microcomputer, the contents of the interrupt destination state identification register (hereinafter referred to as the IST register) 11 are code 0OB, which indicates that no interrupt processing is being performed.
(binary number) is set.
この状態において、優先度の低い割込み信号INT2〜
INT n のいずれかの割込、たとえは割込み信号I
NT 2 が発生したとすると、AND [g1路14
−2の割込み信号INT2による入力は11eで、かつ
I8Tレジスタ11の出力00Bはイン/(−タ15及
び16により反転し、前記AND回路14−2の、イン
バータ15及び16からの入力もoleであるため、u
l”が出力され、割込処理制御(ロ)路(以下IC0N
T回路と呼ぶ)13及び(JR回路17に入力される。In this state, the low priority interrupt signals INT2~
Any interrupt of INT n, for example interrupt signal I
If NT 2 occurs, AND [g1 road 14
The input from the interrupt signal INT2 of -2 is 11e, and the output 00B of the I8T register 11 is inverted by the inverters 15 and 16, and the input from the inverters 15 and 16 of the AND circuit 14-2 is also ole. Because there is, u
l” is output and the interrupt processing control (b) path (hereinafter IC0N
(referred to as T circuit) 13 and (JR circuit 17).
ICoNT回路13は、前記AND回路14−2からの
出力ul″により、割込み信号INT2の割込に対応し
た割込処理プログラムを開始させるために、I 8 ’
1”レジスタ11の内容をスタックレジスタ12へ退避
しかつ現在のノログラムカウンタの内容を退避させるだ
めの退避制御信号PC8Ti出力する。The ICoNT circuit 13 uses the output ul'' from the AND circuit 14-2 to start an interrupt processing program corresponding to the interrupt of the interrupt signal INT2.
1'' The contents of the register 11 are saved to the stack register 12, and the save control signal PC8Ti is outputted to save the contents of the current nologogram counter.
ISTレジスタ11は、前記制御信号PCB’l’の入
力により割込状態コード008′ftスタツクレジスタ
12へ転送する。その佼、0几回路17の出力oleに
エリトランスファーゲート2o及び21を通じて入力さ
れるコードOIBが新たにIf9T9−
レジスタ11にセ・ソトされる。The IST register 11 transfers the interrupt status code 008'ft to the stack register 12 in response to the input of the control signal PCB'l'. Then, the code OIB inputted to the output ole of the zero circuit 17 through the transfer gates 2o and 21 is newly stored in the If9T9 register 11.
ICoNT回路13は、前記制御信号PC8Tを出力す
るとともに、割込み信号INT2に対応した割込処理プ
ログラム開始番地を発生し、プログラムカウンタにセッ
トしマイコンの中央処理部(以下CPUと呼ぶ)は、前
記ICoNT回路13が発生したプログラム番地から所
定の処理(割込処理)全開始する。前記割込処理中に新
たに割込み信号INT2〜INTnのうちのいずれかの
割込が発生しても、I8Tレジスタ11の下位ビット出
力”l”によりインバータ16を介したANj)回路1
4−2〜14−nの入力がaO”である為、出力は@θ
″′となり、割込み信号はICoNT回路13へは入力
されない。The ICoNT circuit 13 outputs the control signal PC8T, and also generates an interrupt processing program start address corresponding to the interrupt signal INT2, and sets it in the program counter. The circuit 13 starts all predetermined processing (interrupt processing) from the program address where the circuit 13 generated it. Even if any one of the interrupt signals INT2 to INTn newly occurs during the interrupt processing, the lower bit output "l" of the I8T register 11 causes the ANj) circuit 1 to be output via the inverter 16.
Since the input of 4-2 to 14-n is aO'', the output is @θ
'', and the interrupt signal is not input to the ICoNT circuit 13.
即ち低位の優先度の割込処理中に同レベルの割込が発生
しても受け付けられず、割込は保留される。−万、前記
低位の割込処理中に高位の割込み信号lNTlが発生し
た場合には、AND回路14−1の割込み信号lNTl
による入力が”l”でかっ。That is, even if an interrupt of the same level occurs during interrupt processing of a lower priority, it will not be accepted and the interrupt will be put on hold. - If the high-level interrupt signal lNTl is generated during the low-level interrupt processing, the interrupt signal lNTl of the AND circuit 14-1
The input by ``l'' is huge.
I8Tレジスタllの上位ビット出方“0″により一1
〇−
インバーメIFI介した入力は11″となるため、AN
Dlpl路14−1+D出力U”l”と7にり、ICo
NT回路13及びトランスフアゲ−)18及び19に入
力される。IC0N’l”回路13は前述の割込み信号
INT2の割込時と同様に退避制御信号PC8’l’を
LSTレジスタ11とスタ・ツクレジスタ12に出力し
、これにより18Tレジスタ11は低位の割込処理中で
あることを示すコードOIBをスタックレジスタ12に
退避すると同時に現在のグログラムカウンタの内@を退
避し、又、トランスファーケート18及び19’に通じ
て、高位の割込処理中であることを示すコードIOBが
新たにセットされる。スタックレジスタ12はこれによ
り以前の、割込処理中でないことを示すコードOOBと
、直前の1代位割込処理中を示すコード1)IBをスタ
ックしたことになる。その後ICONTIg路13が割
込み信号lNTiの割込処理のグロダラム開始査地を発
生することによりCPUは所定の割込処理ノロク2ム?
開始する。割込今信号INT lの割込処理中は、Is
Tレジスタ11の上位ビットの出力uloによりインバ
ータ15’<介してのAND回路14−1−14−nへ
の入力はuO”となるため、割込み信号lNT1〜IN
Tnの割込が新たに発生してもいずれも実行されずに保
留される。The upper bit of I8T register 11 is set to 1 due to the output “0”.
〇- The input via the inverter IFI is 11″, so the AN
Dlpl path 14-1 + D output U"l" and 7, ICo
The signal is input to the NT circuit 13 and transfer gates 18 and 19. The IC0N'l'' circuit 13 outputs the save control signal PC8'l' to the LST register 11 and the stack register 12 in the same way as when the interrupt signal INT2 was interrupted, and thereby the 18T register 11 outputs a low-level interrupt. The code OIB indicating that processing is in progress is saved to the stack register 12, and at the same time the @ in the current program counter is saved, and the message is communicated to transfer cards 18 and 19' to indicate that a high-level interrupt is being processed. A code IOB indicating that an interrupt is being processed is newly set in the stack register 12. This causes the stack register 12 to stack the previous code OOB that indicates that an interrupt is not being processed and the previous code 1) IB that indicates that an interrupt is being processed. Thereafter, the ICONTIg path 13 generates a start point for the interrupt processing of the interrupt signal lNTi, so that the CPU executes the predetermined interrupt processing clock 2m?
Start. During interrupt processing of interrupt current signal INT l, Is
Due to the output ulo of the upper bit of the T register 11, the input to the AND circuit 14-1-14-n via the inverter 15' becomes uO'', so the interrupt signals lNT1 to IN
Even if a new Tn interrupt occurs, none of them are executed and are suspended.
割込み信号lNTlの割込が終了すると、CPUからの
割込終了信号EOIがlSTレジスタ11とxpルック
レジスタ1に入力され、スタックレジス:jl12に最
後にスタックされたISTレジスタ11のコードolB
がISTレジスタiiに復帰し、同時に割込み信号lN
Tlの割込発生時に退避した割込み信号INT 2の割
込処理10グラムのプログラムカウンタの内容もプログ
ラムカウンタ退避用のスタックからプログラムヵウンメ
rtc俵mするため、割込み信号INT2の割込処理が
再開する。When the interrupt of the interrupt signal lNTl is completed, the interrupt end signal EOI from the CPU is input to the lST register 11 and xp look register 1, and the code olB of the IST register 11 stacked last in the stack register: jl12.
returns to the IST register ii, and at the same time the interrupt signal lN
The contents of the 10-gram program counter are also saved from the stack for saving the program counter, so the interrupt processing of the interrupt signal INT2 is restarted. do.
更に、査ひ高位の割込みイ8@INT、が発生すれは前
述と同様にして割込み18号lNTlの割込処理にはい
るし、低位の割込み信号INT2〜1NTnは受け付け
られず保留される。Further, when a high-level interrupt I8@INT occurs, the interrupt processing for interrupt No. 18 1NTl is started in the same manner as described above, and low-level interrupt signals INT2 to 1NTn are not accepted and are held on hold.
前記割込み信号INT2の一11込が終了すると、前述
と同様にCPUからのEOI債号信号り割込与信号IN
’J’2の割込処理直前にスタックレジスタ12に退避
したISTレジスタ11のコードOOBがl8TL/ジ
スj111Vc復帰し、割込み信号INT2の割込処理
前のノログラム処理に戻る。When the interrupt signal INT2 is completed, the EOI bond signal from the CPU is output as the interrupt signal IN in the same manner as described above.
The code OOB of the IST register 11 saved in the stack register 12 immediately before the interrupt processing of 'J'2 returns to 18TL/J111Vc, and the process returns to the norogram processing before the interrupt processing of the interrupt signal INT2.
以下、割込が発生する度に前述と同様の制御により動作
する。尚、この一実施例で説明したスタックレジスタ1
2は専用のレジスタおるいはデータメモリスタックのい
ずれでも良(、LETレジスタ11vP’E容はツーロ
グラムカウンタに付加するなどしてグログラムカウンタ
の内容と同時に退避することもできる。Thereafter, each time an interrupt occurs, the same control as described above is performed. Note that the stack register 1 explained in this embodiment
2 may be either a dedicated register or a data memory stack (the contents of the LET register 11vP'E can be saved at the same time as the contents of the grogram counter by adding it to the grogram counter, etc.).
筐だ、この実施例では割込優先度を高位と低位の2レベ
ルとして説明したが、割込の数に応じて2レベル以上の
優先度ケもつ多束割込処理の場合に4.、I8’l’レ
ジスタ及びスタックレジスタのビット長r増力口するこ
とによって同様の多電割込処理10グラムの優先度を識
別するレジスタを設けることに工り1発生した割込に対
する割込処理の13−
実行・保留を目動的に判別制御し、かつ割込処理の開始
及び終了時に割込優先瞳別レジスタの内容が自動的に退
避・復帰するため、優先度をもった多頁割込処理におい
て、優先度の低い割込に対する個別許可フラグを処理プ
ログラムの中で操作する必要がなく、シたがって緊急?
!−寮する割込に対する即時実行性にすぐれ、かつ本来
の制御目的のために10ダラムエリア金有効に活用でき
る効果かわる。In this embodiment, the interrupt priority is explained as having two levels, high and low, but in the case of multi-bundle interrupt processing with two or more levels of priority depending on the number of interrupts, 4. By increasing the bit length r of the I8'l' register and the stack register, a register is provided to identify the priority of the similar multi-current interrupt processing 10 grams. 13- Multi-page interrupts with priority are controlled by dynamically determining whether to execute or suspend them, and the contents of the interrupt priority pupil register are automatically saved and restored at the start and end of interrupt processing. In processing, there is no need to manipulate individual permission flags for low-priority interrupts in the processing program, making them urgent?
! - It is excellent in immediate execution of dormitory interruptions, and has the effect of being able to effectively utilize the 10 Durham area money for the original control purpose.
図面は本発明の一実施例の多重割込処理装首倉示す図で
おる。
11・・・・・・割込優先状態識別レジスタ、12・・
・・・・スタックレジスタ、13・・・・・・割込処理
制御回路。
14 1=14−n=−−・kNl)回路、l 5.
l 6・−・−・インバータ、17・・・・・・oit
回路、18,19,20 。
21・・・・・・トランスファーケート。
14−The drawing shows a multiple interrupt processing system according to an embodiment of the present invention. 11... Interrupt priority state identification register, 12...
...Stack register, 13...Interrupt processing control circuit. 14 1=14-n=--kNl) circuit, l 5.
l 6・−・−・Inverter, 17・・・・・・oit
Circuits, 18, 19, 20. 21...Transfer Kate. 14-
Claims (1)
装置において、 割込処理実行に伴ない、プログラムアドレスの退避・復
帰及び分岐アドレスの発生を行なう割込処理手段と、所
定割込の優先順位に対応した優先度識別仙葡前記割込処
理手段の指示により記憶する記憶手段と、前記割込処理
手段の指示により、前記を先度識別値の退避及び前記目
ピ憶手段への復NIを制御する制御手段と、前記IU2
憶手段の内容に基つき、割込処理実行の許可又は保留全
制御する許可手段と?I−協え、 前記許可手数にエリlff−可避れた割込に対する割込
処理実行時に、前記記1手段の内容を退避すると共に当
杉割込に対応した後先*mt別値k ffl tie
@r:噂手段に設矩し、当該割込処理終了時には、退避
された優先度識別値【前記記憶手段に復帰せしめるよう
にしたことt%徴とした多重割込処理装置。[Claims] In a multiple interrupt processing device that executes interrupt processing based on interrupt priority, an interrupt processing that saves and restores a program address and generates a branch address as the interrupt processing is executed. storage means for storing a priority identification value corresponding to the priority of a predetermined interrupt according to an instruction from the interrupt processing means; a control means for controlling return NI to the memory means; and the IU2.
A permission means for permitting or suspending execution of interrupt processing based on the contents of the storage means? I-In cooperation, when executing the interrupt processing for the avoidable interrupt, save the contents of the above-mentioned means 1, and set the following *mt separate value kffl corresponding to the interruption. tie
@r: A multiple interrupt processing device in which the priority identification value is set in the rumor means, and when the interrupt processing is completed, the saved priority identification value is returned to the storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5880784A JPS60201445A (en) | 1984-03-27 | 1984-03-27 | Multiple interruption processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5880784A JPS60201445A (en) | 1984-03-27 | 1984-03-27 | Multiple interruption processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS60201445A true JPS60201445A (en) | 1985-10-11 |
Family
ID=13094867
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5880784A Pending JPS60201445A (en) | 1984-03-27 | 1984-03-27 | Multiple interruption processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60201445A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57174745A (en) * | 1981-04-21 | 1982-10-27 | Toshiba Corp | Control circuit for interruption priority |
-
1984
- 1984-03-27 JP JP5880784A patent/JPS60201445A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57174745A (en) * | 1981-04-21 | 1982-10-27 | Toshiba Corp | Control circuit for interruption priority |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH02144630A (en) | Data processor | |
| JPH02235156A (en) | information processing equipment | |
| JPS59114659A (en) | Memory access control circuit | |
| US5481756A (en) | DMA controller mailing auto-initialize halting unit | |
| JPS60201445A (en) | Multiple interruption processing device | |
| JPS58129658A (en) | Controller for microprogram | |
| JPS603049A (en) | Bus interface apparatus | |
| JPS6230455B2 (en) | ||
| JPS63228253A (en) | Interruption processing system | |
| JPS5826043B2 (en) | Processor reset method | |
| JPS59123933A (en) | Address comparison system | |
| JPS63310029A (en) | Interrupt processing system | |
| JPS59218569A (en) | micro computer | |
| JP2706082B2 (en) | Address bus control method | |
| JPS60134940A (en) | Register selection method for information processing equipment | |
| JPS5920030A (en) | Controlling system of input and output instruction | |
| JPS61202231A (en) | Data processor containing microprocessor | |
| JPH0444972B2 (en) | ||
| JPS61235951A (en) | One chip microcomputer | |
| JPS60138652A (en) | Memory bank switching system | |
| JPS62191934A (en) | Interruption control circuit | |
| JPH0486923A (en) | Task management controlling system | |
| JPH01236335A (en) | Single-chip microcomputer | |
| JPH0417538B2 (en) | ||
| JPS5994148A (en) | Hardware stack memory circuit |