JPH0367338A - Interruption control circuit - Google Patents

Interruption control circuit

Info

Publication number
JPH0367338A
JPH0367338A JP20309589A JP20309589A JPH0367338A JP H0367338 A JPH0367338 A JP H0367338A JP 20309589 A JP20309589 A JP 20309589A JP 20309589 A JP20309589 A JP 20309589A JP H0367338 A JPH0367338 A JP H0367338A
Authority
JP
Japan
Prior art keywords
vector
interrupt
vectors
interruption
factor
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
JP20309589A
Other languages
Japanese (ja)
Inventor
Kazuhiko Oba
和彦 大場
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP20309589A priority Critical patent/JPH0367338A/en
Publication of JPH0367338A publication Critical patent/JPH0367338A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the effective use of a memory by providing a vector selection register between an interruption factor and a vector and selecting the vector to the interruption factor. CONSTITUTION:The contents of a vector selection register 3a are changed with an interruption factor 1a, and the vectors 2d, 2e, 2f, etc., are freely selected to start plural interruption routines. In the same way, the contents of the vector selection registers 3b and 3c are changed with the interruption factors 1b and 1c, and the vectors 2d - 2f are selected to start plural interruption routines. Thus the registers 3a - 3c are provided between the interruption factors 1a - 1c and the vectors 2d - 2f. As a result, the vectors 2 can be freely selected to the factors 1a - 1c. Thus the desired vectors 2 if included in a memory have not to be newly produced with application of factors 1a - 1c. Then the memory can be effectively used.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、メモリの有効的な利用全図る割り込み制御
回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an interrupt control circuit that makes effective use of memory.

〔従来の技術〕[Conventional technology]

第2図は、従来の割り込み回路の動作4示すブロック図
である。図にかいて、…は割り込み要因、rla)H@
 1 +7)割り込ミ要因、rtb)H第gの割り込み
要因、(lc)は第8の割り込み要因である。(2)ハ
フモリマツプ上の飛び先格納番地(以下ベクタという)
を表わし% (2a)は第1のベクタ、(gb)は2I
IIJgのベクタ、 (fa)は第8のベクタである。
FIG. 2 is a block diagram showing the operation 4 of a conventional interrupt circuit. In the figure, ... is an interrupt factor, rla)H@
1 +7) Interruption factor, rtb) Hth g-th interrupt factor, (lc) is the eighth interrupt factor. (2) Jump destination storage address on the hafmori map (hereinafter referred to as vector)
% (2a) is the first vector, (gb) is 2I
The vector of IIJg, (fa) is the eighth vector.

次VC#作について説明する。I will explain the next VC# work.

割り込みがかかったときの割り込要因に対するベクタが
決1りて釦υ、@lの割り込み要因(1a)のときは第
1のベクタ(ga)が示す飛び先番地に飛び1割り込み
ルーチンに入る。第2の割シ込み要因(Ib)のときは
第Bのベクタ(8b)が示す飛び先番地に飛び、割り込
みルーチンに入る。
When the vector for the interrupt factor when the interrupt occurs is determined and it is the interrupt factor (1a) of button υ, @l, the CPU jumps to the jump address indicated by the first vector (ga) and enters the 1st interrupt routine. If it is the second interrupt cause (Ib), the process jumps to the destination address indicated by the B-th vector (8b) and enters the interrupt routine.

第8の割り込み要因(lc)のときは第80ペクタNt
c)が示す飛び先番地に飛び、割り込みルーチンに入る
When it is the 8th interrupt factor (lc), the 80th pector Nt
The program jumps to the destination address indicated by c) and enters the interrupt routine.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の割り込み回路は1以上のように構成されているの
で、第1の割り込み要因%第8の割り込み要因、第8の
割り込み要因が、それぞれ第1のベクタ、第2のベクタ
、i@8のベクタにl対lに対応している。そのために
1例えば第1のベクタ、第2のベクタ、第8のベクタが
示す飛び先番地が同じ番地の場合、メモリマツプ上に同
じ飛び先番地を示すベクタが8つ存在する0また・割り
込み要因の数を増やす場合も、この要因に対応したベク
タが示す飛び先番地がすでにメモリマツプ上に存在する
ものであっても1割り込み要因の数だけベクタの数も存
在しなければならないので、ベクタの数も増やさなけれ
ばならない・ 以上のようVC、メモリの効率が悪いという問題点があ
った。
Since the conventional interrupt circuit is configured as one or more, the first interrupt factor, the eighth interrupt factor, and the eighth interrupt factor are respectively the first vector, the second vector, and the i@8. The vectors correspond to l to l. For example, if the jump addresses indicated by the first vector, second vector, and eighth vector are the same address, there are 8 vectors indicating the same jump address on the memory map. When increasing the number, even if the destination address indicated by the vector corresponding to this factor already exists on the memory map, the number of vectors must be equal to the number of interrupt factors, so the number of vectors must also be increased. Must be increased. As mentioned above, there was a problem with the inefficiency of VC and memory.

この発明は上記のような問題点を解決するためになされ
たもので1割り込み要因に対してベクタ、すなわち・飛
び先番地金プログラムにより自由VC選択可能とするこ
とを目的とする。
This invention was made to solve the above-mentioned problems, and its object is to enable free VC selection for one interrupt factor using a vector, that is, a jump destination address program.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る刷り込み制御回路は1割り込み要因と割
り込みルーチンへ入るための飛び先番地を格納している
ベクタとの間に、ベクタ選択レジスタを設けるものであ
る。
The imprint control circuit according to the present invention is provided with a vector selection register between one interrupt cause and a vector storing a jump address for entering an interrupt routine.

〔作用〕[Effect]

この発明にかけるベクタ選択レジスタは、プログラムに
よりベクタを自由に選択することが可能である。
The vector selection register according to the present invention allows vectors to be freely selected by a program.

〔実施例〕〔Example〕

以下、この発明の一実施例合図に従って説明する。第五
図は1割り込み制御回路の動作を示すブロック図である
Hereinafter, one embodiment of the present invention will be described according to the drawings. FIG. 5 is a block diagram showing the operation of the 1-interrupt control circuit.

図にかいて、+11 、 (la) 〜(la) 、 
+!NjvIit図の従来例に示したものと同等である
ので説明全省略する。(2d)は第4 のベクタ、(2
e)は第5のベクタ、(2f)は第60ベクタ、(8a
)fl第1 Oペクタ選択レジスタ、  (8b)は第
2のベクタ選択レジスタ、 (8c)ij第80ペクタ
選択レジスタである。
In the figure, +11, (la) ~ (la),
+! Since this is the same as that shown in the conventional example of the NjvIit diagram, a complete explanation will be omitted. (2d) is the fourth vector, (2
e) is the fifth vector, (2f) is the 60th vector, (8a
) fl is the first vector selection register, (8b) is the second vector selection register, and (8c) ij is the 80th vector selection register.

次に動作について説明する。1g1の割り込み要因(l
a)のとき、第1のベクタ選択レジスタ(8a)の内容
を変えることにより、第4のベクタ(2d)、@50ペ
クタ(2e)、第60ペクタ(2f)、他のベクタを自
由に選択することができ、複数の割り込みルーチンに入
ることができる。同様に、第2の割す込み要因(11)
)のとき、第8のベクタ選択レジスタ(8b)の内容を
変えることにょか。
Next, the operation will be explained. 1g1 interrupt factor (l
In case a), the fourth vector (2d), @50 vector (2e), 60th vector (2f), and other vectors can be freely selected by changing the contents of the first vector selection register (8a). and can enter multiple interrupt routines. Similarly, the second interrupt factor (11)
), what about changing the contents of the eighth vector selection register (8b)?

第4のベクタ(2d)、第5のベクタ(go)、第6の
ベクタ(2f)、他のベクタを自由に選択することがで
き、複数の割り込みルーチンに入ることができる。第8
の割り込み要因(la)のとき。
The fourth vector (2d), the fifth vector (go), the sixth vector (2f), and other vectors can be freely selected, and a plurality of interrupt routines can be entered. 8th
When the interrupt factor (la) occurs.

第8のベクタ選択レジスタ(8C)の内容を変えること
により、第4のベクタ(2d)、第60ベクタrge)
 、第6のベクタ(2f)、他のベクタを自由に選択す
ることができ、複数の割り込みルーチンに入ることがで
きる。
By changing the contents of the 8th vector selection register (8C), the 4th vector (2d), 60th vector rge)
, the sixth vector (2f), and other vectors can be freely selected, and multiple interrupt routines can be entered.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明によれば、割り込み要因とベクタ
との間にベクタ選択レジスタを設けたことにより1割り
込み要因に対してベクタをソフトウェアで自由に選択す
ることができる。
As described above, according to the present invention, by providing a vector selection register between an interrupt cause and a vector, a vector can be freely selected by software for one interrupt cause.

これにより、従来のように必ずしも割り込み要因の数だ
けベクタの数が必要ではなくなり、同じ飛び先番地を示
すベクタが複数存在する場合はそれらft1つのベクタ
にまとめることができまた。新たに割り込み要因を増や
したい場合も、この割シ込み要因がかかったときに飛び
たい飛び先番地を示すベクタがすでにメモリマツプ上に
存在するときは、frたにベクタを作る必要はなく、ベ
クタ選択レジスタですでに存在するベクタを選択すれば
よい。したがって、メモリ?r:有効的に利用すること
が可能となる@
This eliminates the need for as many vectors as the number of interrupt factors as in the past, and if there are multiple vectors indicating the same jump address, they can be combined into one vector. Even if you want to add a new interrupt source, if a vector indicating the jump destination address you want to jump to when this interrupt source is applied already exists on the memory map, there is no need to create a new vector, and just use vector selection. Just select a vector that already exists in the register. Therefore, memory? r: It becomes possible to use it effectively @

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

第1図はこの発明に係る一実施例の割り込み制御回路の
動作を示すブロック図、第3図は従来の割り込み回路の
動作を示すプqツク図であるO 図にかいて、11)は割り込み要因%(la)は第1の
割り込み要因、(lb)f′i第2の割り込み要因、(
lc)はWIJ8の割り込み要因、2)ハベクタ、(g
a)は第1のベクタ、(21))は第2のベクタ、(2
c)ij第80ペクタ、(fa)は第4のベクタ、(2
e’Jd第5のベクタ、(2f)は第6のベクタ、(k
l第1のベクタ選択レジスタ、 (8b)ij第1のペ
クタ選択レジスタ* (Jlc)は第8のベクタ選択レ
ジスタである。 なか、各図中、同一符号は同一、又は相当部分金示す。
FIG. 1 is a block diagram showing the operation of an interrupt control circuit according to an embodiment of the present invention, and FIG. 3 is a block diagram showing the operation of a conventional interrupt circuit. Factor % (la) is the first interrupt factor, (lb) f'i is the second interrupt factor, (
lc) is the interrupt factor of WIJ8, 2) Havector, (g
a) is the first vector, (21)) is the second vector, (2
c) ij is the 80th vector, (fa) is the 4th vector, (2
e'Jd is the fifth vector, (2f) is the sixth vector, (k
l first vector selection register, (8b) ij first vector selection register* (Jlc) is the eighth vector selection register. In each figure, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 割り込み要因とメモリマップ上の飛び先格納番地との間
に、プログラムにより飛び先格納番地を選択可能なレジ
スタを設けたことを特徴とする割り込み制御回路。
An interrupt control circuit characterized in that a register is provided between an interrupt cause and a destination storage address on a memory map, allowing the destination storage address to be selected by a program.
JP20309589A 1989-08-05 1989-08-05 Interruption control circuit Pending JPH0367338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20309589A JPH0367338A (en) 1989-08-05 1989-08-05 Interruption control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20309589A JPH0367338A (en) 1989-08-05 1989-08-05 Interruption control circuit

Publications (1)

Publication Number Publication Date
JPH0367338A true JPH0367338A (en) 1991-03-22

Family

ID=16468294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20309589A Pending JPH0367338A (en) 1989-08-05 1989-08-05 Interruption control circuit

Country Status (1)

Country Link
JP (1) JPH0367338A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004066150A1 (en) * 2003-01-24 2004-08-05 Fujitsu Limited Interrupt control method and interrupt control device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004066150A1 (en) * 2003-01-24 2004-08-05 Fujitsu Limited Interrupt control method and interrupt control device
CN100336022C (en) * 2003-01-24 2007-09-05 富士通株式会社 Interrupt control method and interrupt control device

Similar Documents

Publication Publication Date Title
KR940024586A (en) Micro computer
EP0144779B1 (en) Parallel processing computer
JPH0367338A (en) Interruption control circuit
JPH02103630A (en) Data processor
US5257385A (en) Apparatus for providing priority arbitration in a computer system interconnect
JPS638971A (en) Polynomial vector arithmetic and control unit
US6081869A (en) Bit-field peripheral
SU1697082A1 (en) Microprogramming computer processor
JP2576589B2 (en) Virtual storage access control method
JPS586970B2 (en) ROM address sequence control method
JP2918570B2 (en) Central processing unit
JPS61147338A (en) Branch control circuit of microprogram
JPH0335326A (en) Microprocessor
JPH0460765A (en) Vector register designation system
JP3055903B2 (en) Data reading device
JPS6035690B2 (en) Address extension method
JPS6373325A (en) Information processor
JPH02249006A (en) Programmable controller
JPH0652334A (en) Data flow processor processing changing device
JPH02287624A (en) Data processor
JPS6395543A (en) Microprogram controller
JPS59195685A (en) Bit pattern generation system for display unit
JPS6226549A (en) Memory circuit
JPS61122752A (en) Microprogram control device
JPS59117639A (en) Data processing device