JPH056280A - Interruption control system - Google Patents

Interruption control system

Info

Publication number
JPH056280A
JPH056280A JP18158591A JP18158591A JPH056280A JP H056280 A JPH056280 A JP H056280A JP 18158591 A JP18158591 A JP 18158591A JP 18158591 A JP18158591 A JP 18158591A JP H056280 A JPH056280 A JP H056280A
Authority
JP
Japan
Prior art keywords
interrupt
interrupt mask
mask
mask information
common
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
JP18158591A
Other languages
Japanese (ja)
Inventor
Kenji Shiba
健司 柴
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP18158591A priority Critical patent/JPH056280A/en
Publication of JPH056280A publication Critical patent/JPH056280A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To save labor for reloading a mask value according to a microprogram and to accelerate a processing by switching the mask value of interruption according to the execution address of the microprogram. CONSTITUTION:(n) pieces of interruption mask registers are existent from a register (1) 110 to a register (n) 120. One interruption mask 131 is selected by a mask selection part 130. A mask comparison part 140 compares the interruption mask 131 with an interruption cause 500, interruption 160 is applied to a microprocessor, and the interruption is generated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は情報処理装置の割り込み
制御方式に関し、特に複数の割り込みに対して各々に対
応する割り込みマスクを持ち、その対応によって割り込
みの発生を決定する割り込み制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interrupt control system for an information processing apparatus, and more particularly to an interrupt control system having an interrupt mask corresponding to each of a plurality of interrupts and determining the generation of an interrupt depending on the correspondence.

【0002】[0002]

【従来の技術】図6は、従来の割り込み制御方式のブロ
ック図である。
2. Description of the Related Art FIG. 6 is a block diagram of a conventional interrupt control system.

【0003】図6において、140は割り込みの発生を
決定する割り込みマスク比較部、150は共通マスクレ
ジスタ、151は共通マスクレジスタ150から出力さ
れる共通割り込みマスク、160は割り込みマスク比較
部140が発生する割り込み、325は共通マスクレジ
スタ150の設定用の共通割り込みマスクレジスタ書き
込みデータであり、326は共通割り込みマスクレジス
タ書き込み指示、500は割り込み要因である。
In FIG. 6, 140 is an interrupt mask comparison unit for determining the generation of an interrupt, 150 is a common mask register, 151 is a common interrupt mask output from the common mask register 150, and 160 is an interrupt mask comparison unit 140. An interrupt, 325 is common interrupt mask register write data for setting the common mask register 150, 326 is a common interrupt mask register write instruction, and 500 is an interrupt factor.

【0004】従来の割り込み制御方式においては、共通
的に使用される共通マスクレジスタ150を持ち、これ
にマイクロプログラムによって割り込みマスク情報であ
る共通割り込みマスクレジスタ書き込みデータ325と
共通割り込みマスクレジスタ書き込み指示326を設定
し、共通マスクレジスタ150から共通割り込みマスク
151を出力する。この共通割り込みマスク151と割
り込み要因500が割り込みマスク比較部140で比較
され割り込み160の発生を決定すると云う方式であ
る。
In the conventional interrupt control system, a common mask register 150 commonly used is provided, and a common interrupt mask register write data 325 and a common interrupt mask register write instruction 326, which are interrupt mask information, are provided to the common mask register 150. The common interrupt mask 151 is set and the common interrupt mask 151 is output from the common mask register 150. This is a method in which the common interrupt mask 151 and the interrupt factor 500 are compared by the interrupt mask comparison unit 140 and the generation of the interrupt 160 is determined.

【0005】[0005]

【発明が解決しようとする課題】上述した従来の方式で
は、割り込みのマスクを変更するためにマイクロプログ
ラムでマスク値を書き換える命令を実行しなければなら
ず、マスク値の設定の度に命令が必要となるため、マイ
クロプログラムのステップ数が増加し、ひいては、処理
速度の低下につながるという課題がある。
In the above-mentioned conventional method, an instruction to rewrite the mask value must be executed by the microprogram in order to change the mask of the interrupt, and the instruction is required every time the mask value is set. Therefore, there is a problem that the number of steps of the microprogram increases, which eventually leads to a decrease in processing speed.

【0006】本発明は上述の課題を解決するためになさ
れたもので、その目的は、マイクロプログラムでマスク
値を書き換える手間を省き、マイクロプログラムのステ
ップ数を削減して処理を高速化する割り込み制御方式を
提供することである。
The present invention has been made in order to solve the above-mentioned problems, and an object of the present invention is to eliminate the trouble of rewriting a mask value in a microprogram, reduce the number of steps of the microprogram, and speed up processing. It is to provide a method.

【0007】[0007]

【課題を解決するための手段】第1の発明の割り込み制
御方式は、複数の割り込み要因に対して各々の割り込み
要因の割り込みを許可するか禁止するかを示す割り込み
マスク情報を記憶する割り込みマスク情報記憶手段と、
複数の前記割り込みマスク情報記憶手段に記憶された複
数の割り込みマスク情報の中から実行中のマイクロプロ
グラムアドレスにより一つの割り込みマスク情報を選択
する割り込みマスク選択手段と、該割り込みマスク選択
手段によって選択された割り込みマスク情報と前記割り
込み要因とを比較し割り込みが許可されていれば割り込
みを発生する割り込みマスク比較手段とを有している。
According to a first aspect of the present invention, there is provided an interrupt control system for storing interrupt mask information indicating interrupt mask information indicating whether interrupts of a plurality of interrupt factors are permitted or prohibited. Storage means,
An interrupt mask selecting unit that selects one interrupt mask information from a plurality of interrupt mask information stored in a plurality of interrupt mask information storing units according to a microprogram address being executed, and an interrupt mask selecting unit There is provided interrupt mask comparison means for comparing the interrupt mask information with the interrupt factor and generating an interrupt if the interrupt is permitted.

【0008】第2の発明の割り込み制御方式は、複数の
割り込み要因に対して各々の割り込み要因の割り込みを
許可するか禁止するかを示す割り込みマスク情報を記憶
する割り込みマスク情報記憶手段と、複数の前記割り込
みマスク情報記憶手段に記憶された複数の割り込みマス
ク情報の中から実行中のマイクロプログラムアドレスに
より一つの割り込みマスク情報を選択する割り込みマス
ク選択手段と、実行中のマイクロプログラムアドレスと
は無関係に共通的に使用される前記割り込みマスク情報
を記憶する共通割り込みマスク情報記憶手段と、前記割
り込みマスク選択手段によって選択された割り込みマス
ク情報と前記共通割り込みマスク情報記憶手段に記憶さ
れた共通割り込みマスク情報と前記割り込み要因とを比
較し前記二つの割り込みマスク情報で共に割り込みが許
可されていれば割り込みを発生する割り込みマスク比較
手段とを有している。
In the interrupt control system of the second invention, an interrupt mask information storage means for storing interrupt mask information indicating whether to permit or prohibit an interrupt of each interrupt factor for a plurality of interrupt factors, and a plurality of interrupt mask information storage units. An interrupt mask selecting unit that selects one interrupt mask information from a plurality of interrupt mask information stored in the interrupt mask information storing unit according to a microprogram address being executed, and a common interrupt mask information regardless of the microprogram address being executed. Common interrupt mask information storage means for storing the interrupt mask information used for the purpose, interrupt mask information selected by the interrupt mask selection means, common interrupt mask information stored in the common interrupt mask information storage means, and the Compare with the interrupt factor and compare the two And a interrupt mask comparing means for generating an interrupt if it is both permitted interrupt in write mask information.

【0009】[0009]

【作用】第1の発明における、割り込みマスク選択手段
は割り込みマスク情報記憶手段に記憶された複数の割り
込みマスク情報の中から、実行中のマイクロプログラム
アドレスにより一つの割り込みマスク情報を選択し、割
り込みマスク比較手段がこの選択された割り込みマスク
情報と割り込み要因とを比較して割り込みが許可されて
いれば割り込みを発生させるので、マイクロプログラム
の実行アドレスによって割り込みマスクを設定すること
ができる。
In the first aspect of the invention, the interrupt mask selecting means selects one interrupt mask information from the plurality of interrupt mask information stored in the interrupt mask information storage means according to the microprogram address being executed, and the interrupt mask information is selected. Since the comparing means compares the selected interrupt mask information with the interrupt factor and generates an interrupt if the interrupt is permitted, the interrupt mask can be set by the execution address of the microprogram.

【0010】第2の発明においても、割り込みマスク比
較手段は割り込みマスク選択手段が実行中のマイクロプ
ログラムアドレスにより選択した割り込みマスク情報
と、マイクロプログラムアドレスとは無関係に共通的に
使用される共通割り込みマスク情報と、割り込み要因と
を比較して二つの割り込み情報で共に割り込みが許可さ
れていれば割り込みを発生させるので、マイクロプログ
ラムの実行アドレスによって割り込みマスクの設定がで
き、マイクロプログラムのステップ数を削減できる。
In the second aspect of the invention as well, the interrupt mask comparing means uses the interrupt mask information selected by the microprogram address being executed by the interrupt mask selecting means, and the common interrupt mask commonly used regardless of the microprogram address. The information and the interrupt factor are compared, and an interrupt is generated if interrupts are enabled for both of the two interrupt information, so the interrupt mask can be set by the execution address of the microprogram, and the number of steps of the microprogram can be reduced. .

【0011】[0011]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0012】図3は本発明を適用する割り込み制御装置
を含む情報処理装置のブロック図であり、割り込み制御
部100、CSアドレス制御部200、マイクロプロセ
ッサ300、CS400から構成される。
FIG. 3 is a block diagram of an information processing device including an interrupt control device to which the present invention is applied, which is composed of an interrupt control unit 100, a CS address control unit 200, a microprocessor 300, and a CS 400.

【0013】CS400はマイクロプロセッサ300が
実行するマイクロプログラムを格納するメモリである。
CSアドレス制御部200は、マイクロプロセッサ30
0が実行するマイクロプログラムのアドレスを管理す
る。CSアドレス制御部200から出力されるCSアド
レス210はCS400に与えられ、CSアドレス21
0に応じたマイクロプログラム410がCS400から
出力される。マイクロプログラム410がマイクロプロ
セッサ300に与えられると、マイクロプロセッサ30
0はマイクロプログラム410を解読し、命令に応じた
処理を行う。実行したマイクロプログラムがジャンプ命
令等であった場合には、CSアドレス制御信号310が
CSアドレス制御部200に与えられ、CSアドレスが
制御される。また、割り込みマスク値の設定等の命令の
場合には、割り込み制御部制御信号320が割り込み制
御部100に与えられて、割り込み制御部100の状態
が設定される。割り込み制御部100は設定された割り
込みマスク値及びCSアドレス210により、割り込み
要因500との比較を行い、割り込み160をマイクロ
プロセッサ300に与え、割り込みを発生させる。
The CS 400 is a memory for storing a micro program executed by the microprocessor 300.
The CS address control unit 200 includes the microprocessor 30.
0 manages the address of the microprogram executed. The CS address 210 output from the CS address control unit 200 is given to the CS 400 and the CS address 21
The microprogram 410 corresponding to 0 is output from the CS 400. When the microprogram 410 is given to the microprocessor 300, the microprocessor 30
0 decodes the microprogram 410 and performs processing according to the instruction. When the executed micro program is a jump instruction or the like, the CS address control signal 310 is given to the CS address control unit 200 to control the CS address. Further, in the case of an instruction such as setting an interrupt mask value, the interrupt control unit control signal 320 is given to the interrupt control unit 100, and the state of the interrupt control unit 100 is set. The interrupt controller 100 compares the interrupt factor 500 with the interrupt mask value and the CS address 210 that have been set, and gives an interrupt 160 to the microprocessor 300 to generate an interrupt.

【0014】図1は第一の発明の一実施例の割り込み制
御方式のブロック図であり、図3における割り込み制御
部100に対応する。
FIG. 1 is a block diagram of an interrupt control system according to an embodiment of the first invention, and corresponds to the interrupt control unit 100 in FIG.

【0015】図1から、割り込みマスクレジスタ(1)
110(割り込みマスク情報記憶手段)、割り込みマス
クレジスタ(N)120(割り込みマスク情報記憶手
段)、割り込みマスク選択部130(割り込みマスク選
択手段)、割り込みマスク比較部140(割り込みマス
ク比較手段)から構成されている。
From FIG. 1, the interrupt mask register (1)
110 (interrupt mask information storage unit), interrupt mask register (N) 120 (interrupt mask information storage unit), interrupt mask selection unit 130 (interrupt mask selection unit), and interrupt mask comparison unit 140 (interrupt mask comparison unit). ing.

【0016】割り込みマスクレジスタは、割り込みマス
クレジスタ(1)110から割り込みマスクレジスタ
(N)120までのN個存在する。割り込みマスクレジ
スタ(1)110は割り込みマスクレジスタ(1)書き
込みデータ321(割り込みマスク情報記憶手段)及び
割り込みマスクレジスタ(1)書き込み指示322(割
り込みマスク情報記憶手段)によって、図3に示すマイ
クロプロセッサ300から指示された値を設定する。割
り込みマスクレジスタ(N)120は割り込みマスクレ
ジスタ(N)書き込みデータ323(割り込みマスク情
報記憶手段)及び割り込みマスクレジスタ(N)書き込
み指示324(割り込みマスク情報記憶手段)によっ
て、図3に示すマイクロプロセッサ300から指示され
た値を設定する。他の割り込みマスクレジスタも同様に
して設定される。前述の割り込みマスクレジスタ群に設
定された、割り込みマスク(1)111(割り込みマス
ク選択手段)から割り込みマスク(N)121(割り込
みマスク選択手段)は、割り込みマスク選択部130に
入力される。割り込みマスク選択部130はCSアドレ
ス210(割り込みマスク選択手段)によって入力され
た割り込みマスクから一つを選択し、割り込みマスク1
31(割り込みマスク比較手段)を出力する。割り込み
マスク131は割り込み要因500(割り込みマスク比
較手段)と共に割り込みマスク比較部140に入力さ
れ、各々の対応するビットが比較され、割り込みが許可
状態であれば割り込み160(割り込みマスク比較手
段)によって割り込みを発生する。
There are N interrupt mask registers from interrupt mask register (1) 110 to interrupt mask register (N) 120. The interrupt mask register (1) 110 is constituted by the interrupt mask register (1) write data 321 (interrupt mask information storage means) and the interrupt mask register (1) write instruction 322 (interrupt mask information storage means) by the microprocessor 300 shown in FIG. Set the value instructed by. The interrupt mask register (N) 120 uses the interrupt mask register (N) write data 323 (interrupt mask information storage means) and the interrupt mask register (N) write instruction 324 (interrupt mask information storage means) to cause the microprocessor 300 shown in FIG. Set the value instructed by. Other interrupt mask registers are similarly set. The interrupt mask (1) 111 (interrupt mask selecting unit) to the interrupt mask (N) 121 (interrupt mask selecting unit) set in the above-described interrupt mask register group are input to the interrupt mask selecting unit 130. The interrupt mask selection unit 130 selects one from the interrupt masks input by the CS address 210 (interrupt mask selection means), and interrupt mask 1
31 (interrupt mask comparison means) is output. The interrupt mask 131 is input to the interrupt mask comparing section 140 together with the interrupt factor 500 (interrupt mask comparing means), the corresponding bits are compared, and if the interrupt is enabled, the interrupt is interrupted by the interrupt 160 (interrupt mask comparing means). Occur.

【0017】図4は、第1の発明の割り込み発生概念図
である。この場合図1でN=4の場合に相当するものと
する。
FIG. 4 is a conceptual diagram of interrupt generation of the first invention. In this case, it corresponds to the case of N = 4 in FIG.

【0018】CSアドレス210が5000(16進)
の時に0010(2進)の割り込み要因があった場合を
考える。このとき、CSアドレス210の上位2ビット
は01(2進)であり、これが割り込みマスクレジスタ
110の選択に使用され、割り込みマスク131は00
11(2進)となる。この割り込みマスク値と割り込み
要因の論理積を取ると、0010(2進)となり、比較
結果ビットが1であるので割り込みは許可され、割り込
みが発生する。同様に、CSアドレス210が9000
(16進)の場合は、CSアドレス210の上位2ビッ
トは10(2進)であり、割り込みマスク131値は0
100(2進)となる。0100(2進)と0010
(2進)の論理積は0000(2進)となるので、この
場合は割り込みは許可されず割り込みは発生しない。
CS address 210 is 5000 (hexadecimal)
Consider a case where there is an interrupt factor of 0010 (binary) at the time. At this time, the upper 2 bits of the CS address 210 are 01 (binary), which is used for selecting the interrupt mask register 110, and the interrupt mask 131 is 00.
It becomes 11 (binary). The logical product of the interrupt mask value and the interrupt factor is 0010 (binary). Since the comparison result bit is 1, the interrupt is permitted and the interrupt is generated. Similarly, the CS address 210 is 9000
In the case of (hexadecimal), the upper 2 bits of the CS address 210 are 10 (binary), and the interrupt mask 131 value is 0.
It becomes 100 (binary). 0100 (binary) and 0010
Since the logical product of (binary) is 0000 (binary), in this case, the interrupt is not permitted and the interrupt does not occur.

【0019】図2は第二の発明の一実施例の割り込み制
御方式のブロック図であり、図3に示す割り込み制御部
100に対応する。
FIG. 2 is a block diagram of an interrupt control system according to an embodiment of the second invention and corresponds to the interrupt control unit 100 shown in FIG.

【0020】割り込みマスクレジスタ(1)110、割
り込みマスクレジスタ(N)120、割り込みマスク選
択部130、割り込みマスク比較部140、共通割り込
みマスクレジスタ150(共通割り込みマスク情報記憶
手段)から構成されている。
The interrupt mask register (1) 110, the interrupt mask register (N) 120, the interrupt mask selecting unit 130, the interrupt mask comparing unit 140, and the common interrupt mask register 150 (common interrupt mask information storage means).

【0021】割り込みマスクレジスタは、割り込みマス
クレジスタ(1)110から割り込みマスクレジスタ
(N)120までのN個存在する。割り込みマスクレジ
スタ(1)110は割り込みマスクレジスタ(1)書き
込みデータ321及び割り込みマスクレジスタ(1)書
き込み指示322によって、図3に示すマイクロプロセ
ッサ300から指示された値を設定する。割り込みマス
クレジスタ(N)120は割り込みマスクレジスタ
(N)書き込みデータ323及び割り込みマスクレジス
タ(N)書き込み指示324によって、図3に示すマイ
クロプロセッサ300から指示された値を設定する。他
の割り込みマスクレジスタも同様にして設定される。ま
た、共通割り込みマスクレジスタ150は従来例と同じ
であり、共通割り込みマスクレジスタ書き込みデータ3
25(共通割り込みマスク情報記憶手段)及び共通割り
込みマスクレジスタ書き込み指示326(共通割り込み
マスク情報記憶手段)によって、図3に示すマイクロプ
ロセッサ300から指示された値を設定する。前述の割
り込みマスクレジスタ群に設定された、割り込みマスク
(1)111から割り込みマスク(N)121は、割り
込みマスク選択部130に入力される。割り込みマスク
選択部130はCSアドレス210によって入力された
割り込みマスクから一つを選択し、割り込みマスク13
1を出力する。割り込みマスク131、共通割り込みマ
スクレジスタ150の出力である共通割り込みマスク1
51(割り込みマスク比較手段)、割り込み要因500
が共に割り込みマスク比較部140に入力され、各々の
対応するビットが比較され、割り込みが許可状態であれ
ば割り込み160によって割り込みを発生する。
There are N interrupt mask registers from interrupt mask register (1) 110 to interrupt mask register (N) 120. The interrupt mask register (1) 110 sets the value instructed by the microprocessor 300 shown in FIG. 3 according to the interrupt mask register (1) write data 321 and the interrupt mask register (1) write instruction 322. The interrupt mask register (N) 120 sets the value instructed by the microprocessor 300 shown in FIG. 3 by the interrupt mask register (N) write data 323 and the interrupt mask register (N) write instruction 324. Other interrupt mask registers are similarly set. The common interrupt mask register 150 is the same as the conventional example, and the common interrupt mask register write data 3
25 (common interrupt mask information storage means) and the common interrupt mask register write instruction 326 (common interrupt mask information storage means) set the value instructed by the microprocessor 300 shown in FIG. The interrupt mask (1) 111 to the interrupt mask (N) 121 set in the above-described interrupt mask register group are input to the interrupt mask selection unit 130. The interrupt mask selection unit 130 selects one from the interrupt masks input by the CS address 210 and
1 is output. The common interrupt mask 1 output from the interrupt mask 131 and the common interrupt mask register 150
51 (interrupt mask comparison means), interrupt factor 500
Are both input to the interrupt mask comparison unit 140, the corresponding bits are compared, and if the interrupt is enabled, an interrupt is generated by the interrupt 160.

【0022】図5は第2の発明の割り込み発生概念図で
ある。この場合は図2においてN=4の場合に対応する
ものとする。
FIG. 5 is a conceptual diagram of interrupt generation of the second invention. This case corresponds to the case of N = 4 in FIG.

【0023】CSアドレス210が5000(16進)
の時に0010(2進)の割り込み要因があった場合を
考える。このとき、CSアドレス210の上位2ビット
は01(2進)であり、これが割り込みマスクレジスタ
の選択に使用され、割り込みマスク131は0011
(2進)となる。また、共通割り込みマスクレジスタの
値151は0110(2進)である。この二つの割り込
みマスク値と割り込み要因との論理積を取ると、001
0(2進)となり、比較結果ビットが1であるので割り
込みは許可され、割り込みが発生する。同様に、CSア
ドレス210が9000(16進)の場合は、CSアド
レスの上位2ビットは10(2進)であり、割り込みマ
スク値131は0100(2進)となる。また、共通割
り込みマスクレジスタの値151は0110(2進)で
ある。この二つの割り込みマスク値と割り込み要因との
論理積を取ると、0000(2進)となるので、この場
合は割り込みは許可されず割り込みは発生しない。
The CS address 210 is 5000 (hexadecimal)
Consider a case where there is an interrupt factor of 0010 (binary) at the time. At this time, the upper 2 bits of the CS address 210 are 01 (binary), which is used for selecting the interrupt mask register, and the interrupt mask 131 is 0011.
(Binary). The value 151 of the common interrupt mask register is 0110 (binary). The logical product of these two interrupt mask values and the interrupt factor is 001.
Since it is 0 (binary) and the comparison result bit is 1, the interrupt is permitted and the interrupt occurs. Similarly, when the CS address 210 is 9000 (hexadecimal), the upper 2 bits of the CS address are 10 (binary), and the interrupt mask value 131 is 0100 (binary). The value 151 of the common interrupt mask register is 0110 (binary). The logical product of these two interrupt mask values and the interrupt factor is 0000 (binary). In this case, therefore, no interrupt is permitted and no interrupt occurs.

【0024】[0024]

【発明の効果】以上説明したように、本発明は割り込み
のマスク値をマイクロプログラムの実行アドレスによっ
て切り替えることができ、メモリに格納するマイクロプ
ログラムのモジュール毎の格納アドレスによって割り込
みマスクを設定できるため、マイクロプログラムで頻繁
にマスク値を書き換える手間が省け、マイクロプログラ
ムのステップ数削減と、処理の高速化が期待できるとい
う効果がある。
As described above, according to the present invention, the interrupt mask value can be switched by the execution address of the microprogram, and the interrupt mask can be set by the storage address of each module of the microprogram stored in the memory. There is an effect that the trouble of frequently rewriting the mask value by the microprogram can be saved, and the number of steps of the microprogram can be reduced and the processing can be speeded up.

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

【図1】第1の発明の一実施例である割り込み制御方式
のブロック図である。
FIG. 1 is a block diagram of an interrupt control system according to an embodiment of the first invention.

【図2】第2の発明の一実施例である割り込み制御方式
のブロック図である。
FIG. 2 is a block diagram of an interrupt control system according to an embodiment of the second invention.

【図3】本発明を適用する割り込み制御装置を含む情報
処理装置のブロック図である。
FIG. 3 is a block diagram of an information processing device including an interrupt control device to which the present invention is applied.

【図4】第1の発明の割り込み発生概念図である。FIG. 4 is a conceptual diagram of interrupt generation of the first invention.

【図5】第2の発明の割り込み発生概念図である。FIG. 5 is a conceptual diagram of interrupt generation of the second invention.

【図6】従来の割り込み制御方式のブロック図である。FIG. 6 is a block diagram of a conventional interrupt control system.

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

100 割り込み制御部 110 割り込みマスクレジスタ(1) 111 割り込みマスク(1) 120 割り込みマスクレジスタ(N) 121 割り込みマスク(N) 130 割り込みマスク選択部 131 割り込みマスク 140 割り込みマスク比較部 150 共通割り込みマスクレジスタ 151 共通割り込みマスク 160 割り込み 200 CSアドレス制御部 210 CSアドレス 300 マイクロプロセッサ 310 CSアドレス制御信号 320 割り込み制御部制御信号 321 割り込みマスクレジスタ(1)書き込みデー
タ 322 割り込みマスクレジスタ(1)書き込み指示 323 割り込みマスクレジスタ(N)書き込みデー
タ 324 割り込みマスクレジスタ(N)書き込み指示 325 共通割り込みマスクレジスタ書き込みデータ 326 共通割り込みマスクレジスタ書き込み指示 400 CS 410 マイクロプログラム 500 割り込み要因
100 interrupt control unit 110 interrupt mask register (1) 111 interrupt mask (1) 120 interrupt mask register (N) 121 interrupt mask (N) 130 interrupt mask selection unit 131 interrupt mask 140 interrupt mask comparison unit 150 common interrupt mask register 151 common Interrupt mask 160 Interrupt 200 CS address control unit 210 CS address 300 Microprocessor 310 CS address control signal 320 Interrupt control unit control signal 321 Interrupt mask register (1) Write data 322 Interrupt mask register (1) Write instruction 323 Interrupt mask register (N ) Write data 324 Interrupt mask register (N) write instruction 325 Common interrupt mask register write data 326 Common allocation Inclusive mask register write instruction 400 CS 410 microprogram 500 interrupt factor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の割り込み要因に対して各々の割り
込み要因の割り込みを許可するか禁止するかを示す割り
込みマスク情報を記憶する割り込みマスク情報記憶手段
と、複数の前記割り込みマスク情報記憶手段に記憶され
た複数の割り込みマスク情報の中から実行中のマイクロ
プログラムアドレスにより一つの割り込みマスク情報を
選択する割り込みマスク選択手段と、該割り込みマスク
選択手段によって選択された割り込みマスク情報と前記
割り込み要因とを比較し割り込みが許可されていれば割
り込みを発生する割り込みマスク比較手段とを有するこ
とを特徴とする情報処理装置の割り込み制御方式。
1. An interrupt mask information storage unit for storing interrupt mask information indicating whether to permit or prohibit an interrupt of each interrupt factor for a plurality of interrupt factors, and a plurality of interrupt mask information storage units. Interrupt mask selecting means for selecting one interrupt mask information according to an executing microprogram address from a plurality of interrupt mask information thus generated, and comparing the interrupt mask information selected by the interrupt mask selecting means with the interrupt factor An interrupt control method for an information processing apparatus, comprising: an interrupt mask comparing means for generating an interrupt if the interrupt is permitted.
【請求項2】 複数の割り込み要因に対して各々の割り
込み要因の割り込みを許可するか禁止するかを示す割り
込みマスク情報を記憶する割り込みマスク情報記憶手段
と、複数の前記割り込みマスク情報記憶手段に記憶され
た複数の割り込みマスク情報の中から実行中のマイクロ
プログラムアドレスにより一つの割り込みマスク情報を
選択する割り込みマスク選択手段と、実行中のマイクロ
プログラムアドレスとは無関係に共通的に使用される前
記割り込みマスク情報を記憶する共通割り込みマスク情
報記憶手段と、前記割り込みマスク選択手段によって選
択された割り込みマスク情報と前記共通割り込みマスク
情報記憶手段に記憶された共通割り込みマスク情報と前
記割り込み要因とを比較し前記二つの割り込みマスク情
報で共に割り込みが許可されていれば割り込みを発生す
る割り込みマスク比較手段とを有することを特徴とする
情報処理装置の割り込み制御方式。
2. An interrupt mask information storage unit for storing interrupt mask information indicating whether to permit or prohibit an interrupt of each interrupt factor for a plurality of interrupt factors, and a plurality of interrupt mask information storage units. Interrupt mask selection means for selecting one interrupt mask information by the microprogram address being executed from among the plurality of interrupt mask information generated, and the interrupt mask commonly used regardless of the microprogram address being executed Common interrupt mask information storage means for storing information, the interrupt mask information selected by the interrupt mask selection means, the common interrupt mask information stored in the common interrupt mask information storage means, and the interrupt factor, Interrupts can be generated with one interrupt mask information. An interrupt control system for an information processing apparatus, comprising: an interrupt mask comparing means for generating an interrupt if permitted.
JP18158591A 1991-06-27 1991-06-27 Interruption control system Pending JPH056280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18158591A JPH056280A (en) 1991-06-27 1991-06-27 Interruption control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18158591A JPH056280A (en) 1991-06-27 1991-06-27 Interruption control system

Publications (1)

Publication Number Publication Date
JPH056280A true JPH056280A (en) 1993-01-14

Family

ID=16103384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18158591A Pending JPH056280A (en) 1991-06-27 1991-06-27 Interruption control system

Country Status (1)

Country Link
JP (1) JPH056280A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008191074A (en) * 2007-02-07 2008-08-21 Fujitsu Ltd Output arbitration program and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01161537A (en) * 1987-12-18 1989-06-26 Nec Corp Interruption controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01161537A (en) * 1987-12-18 1989-06-26 Nec Corp Interruption controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008191074A (en) * 2007-02-07 2008-08-21 Fujitsu Ltd Output arbitration program and device

Similar Documents

Publication Publication Date Title
US5600807A (en) Programmable controller capable of updating a user program during operation by switching between user program memories
US5519649A (en) Micro-processor having rapid condition comparison function
JP2003058381A (en) Processor realizing exception processing setting by program
JPH056280A (en) Interruption control system
JP3055999B2 (en) Microprogram control device group
JPH056281A (en) Information processor
JP3597548B2 (en) Digital signal processor
JPS6148174B2 (en)
JPH044630B2 (en)
JP3575052B2 (en) Electronic equipment
KR940011045B1 (en) Interrupt vector addressing method in micro controller unit
JPH10143376A (en) Information processing device
JPH05334099A (en) Write circuit for state setting register
JP2001075778A (en) Arithmetic unit and its method
JPH0731608B2 (en) Information processing equipment
JP2000029508A (en) Programmable controller
JP2504151B2 (en) Data processing device
JPH08297583A (en) Processor and method for interruption processing
JPS6175437A (en) Interruption processing system
JPS63229530A (en) Interruption control system
JPH0883188A (en) Multitask processing computer
JPS63120336A (en) Switching system for memory access mode
JPH0335326A (en) Microprocessor
JPS6362037A (en) Microprogram controller
JPH05120014A (en) Microcomputer