JP2990800B2 - Interrupt processing device - Google Patents

Interrupt processing device

Info

Publication number
JP2990800B2
JP2990800B2 JP2340912A JP34091290A JP2990800B2 JP 2990800 B2 JP2990800 B2 JP 2990800B2 JP 2340912 A JP2340912 A JP 2340912A JP 34091290 A JP34091290 A JP 34091290A JP 2990800 B2 JP2990800 B2 JP 2990800B2
Authority
JP
Japan
Prior art keywords
interrupt
output
request
controller
processor
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.)
Expired - Lifetime
Application number
JP2340912A
Other languages
Japanese (ja)
Other versions
JPH04209058A (en
Inventor
尚夫 針谷
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP2340912A priority Critical patent/JP2990800B2/en
Publication of JPH04209058A publication Critical patent/JPH04209058A/en
Application granted granted Critical
Publication of JP2990800B2 publication Critical patent/JP2990800B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は割込みの処理方式に関し、とくに不完全な割
込みが発生したときの割込みコントローラと中央処理装
置による割込み処理方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interrupt processing method, and particularly to an interrupt processing method by an interrupt controller and a central processing unit when an incomplete interrupt occurs.

〔従来の技術〕[Conventional technology]

情報処理システムに於いて、中央処理装置(以下プロ
セッサと略記)はメモリのほかにいくつかの入出力デバ
イス(以下I/Oと略記)との間で情報を交換する必要が
ある。システムのスループットを向上させるために、I/
Oへのサービスは割込みによって行なわれる。プロセッ
サからのサービスを必要とするI/Oはプロセッサに対し
て割込み要求信号をアクティブにする。割込み許可状態
にあるプロセッサは割込み要求信号により割込み発生を
認識するとそれまでのプログラムの実行を中断して割込
み処理プログラム(割込みサービス・ルーチン)へと制
御を移し、割込み処理プログラムでI/Oに対するサービ
スを行う。
In an information processing system, a central processing unit (hereinafter abbreviated as a processor) needs to exchange information with some input / output devices (hereinafter abbreviated as I / O) in addition to a memory. To improve system throughput,
Service to O is provided by an interrupt. An I / O requiring service from the processor activates an interrupt request signal to the processor. When the processor in the interrupt enabled state recognizes the occurrence of the interrupt by the interrupt request signal, it suspends the execution of the previous program and transfers control to the interrupt processing program (interrupt service routine). I do.

情報処理システム内にI/Oが多数存在する場合には、
それぞれのI/Oからの割込み要求を優先順位により調停
してプロセッサに伝える割込みコントローラ使用する。
割込みコントローラはいくつかのI/Oからの割込み要求
信号を入力とし、プロセッサに割込み要求の有無を通知
する。この通知信号をINT信号とよぶことにする。プロ
セッサは1つの命令の実行が修了しつぎの命令の実行が
開始されるまでの間にプロセッサ外部から入力されるIN
T信号をサンプルし、INT信号がアクティブであってプロ
セッサが割込み受付け許可状態であると、プロセッサは
内部での割込み受付け処理を開始し、まず割込み受付け
信号を出力する。割込みコントローラは割込み受付け信
号を受け取ると、その瞬間にアクティブになっている割
込み要求信号のなかで優先順位の最も高い割込み要求を
発している割込み要求元を特定することのできる情報を
含んだベクタをプロセッサにかえす。プロセッサは割込
みコントローラから得たベクタを解析することにより割
込み要求元に対応するサービス・ルーチンへと分岐す
る。
If there are many I / Os in the information processing system,
Uses an interrupt controller that arbitrates interrupt requests from each I / O according to priority and transmits them to the processor.
The interrupt controller receives interrupt request signals from several I / Os and notifies the processor of the presence or absence of an interrupt request. This notification signal is called an INT signal. The processor inputs IN from outside the processor until the execution of one instruction is completed and the execution of the next instruction is started.
When the T signal is sampled and the INT signal is active and the processor is in the interrupt accepting state, the processor starts an internal interrupt accepting process and first outputs an interrupt accepting signal. Upon receiving the interrupt acceptance signal, the interrupt controller generates a vector containing information that can identify the interrupt request source that has issued the highest priority interrupt request among the active interrupt request signals at that moment. Return to processor. The processor branches to the service routine corresponding to the interrupt request source by analyzing the vector obtained from the interrupt controller.

第14図はプロセッサと割込みコントローラによって構
成されている情報処理システムのブロック図である。10
1はプロセッサ、1002は8本の割込み要求を処理するこ
とができる割込みコントローラ、103は1つのI/O、104
はI/O103からの割込み要求信号、105は割込みコントロ
ーラ102からの前記INT信号、106はプロセッサ101からの
割込み受付け信号、107は本情報処理システムのデータ
・バスである。
FIG. 14 is a block diagram of an information processing system including a processor and an interrupt controller. Ten
1 is a processor, 1002 is an interrupt controller capable of processing eight interrupt requests, 103 is one I / O, 104
Is an interrupt request signal from the I / O 103, 105 is the INT signal from the interrupt controller 102, 106 is an interrupt acceptance signal from the processor 101, and 107 is a data bus of the information processing system.

以下プロセッサ101は割込み受付け可能な状態にあ
り、割込みコントローラ1002には1つのI/O103からの割
込み要求104が1つだけアクティブになっている場合を
考える。該I/O103からの割込み要求104がアクティブに
なると割込みコントローラ1002からのINT信号105がアク
ティブになり、プロセッサ101にたいして割込み要求が
発生したことを通知する。
Hereinafter, a case is considered where the processor 101 is in a state in which an interrupt can be accepted, and only one interrupt request 104 from one I / O 103 is active in the interrupt controller 1002. When the interrupt request 104 from the I / O 103 becomes active, the INT signal 105 from the interrupt controller 1002 becomes active and notifies the processor 101 that an interrupt request has occurred.

第15図に示すようにプロセッサ101がINT信号を1101で
サンプルし、INT信号がアクティブであることを検出し
たあと、割込み受付け信号106が出力されるまで該I/O10
3からの割込み要求104がアクティブであるときには、次
のような正常な割込み処理がおこなわれる。プロセッサ
101が割込みを受付けるときには、割込み受付けバス・
サイクルを連続して2サイクル起動する。各割込み受付
けバス・サイクルにおいて、プロセッサ101は割込み受
付け信号106を割込みコントローラ1002にたいして出力
する。1回目の割込み受付けバス・サイクルにおいて割
込みコントローラ1002はアクティブになっている割込み
要求入力のなかで優先順位レベルのもっとも高い割込み
要求入力にたいするサービスをプロセッサ101に要求す
ることを決定する。本例においては、割込み要求104が
1つだけがアクティブであるので、1回目の割込み受付
けバス・サイクルにおいて割込みコントローラ1002は割
込み要求104にたいするサービスをプロセッサ101に要求
することを決定する。2回目の割込み受付けバス・サイ
クルにおいて割込みコントローラ1002はデータ・バス10
7に前記割込み要求104の優先順位を含むベクタを出力
し、プロセッサ101は該ベクタを受け取る。プロセッサ1
01はプログラム・カウンタや該割込みにより中断された
プログラムの走行の状態を示す情報をスタックに退避し
た後に、該ベクタによりI/O103にたいする割込みサービ
ス・ルーチンへ分岐する。
As shown in FIG. 15, after the processor 101 samples the INT signal at 1101 and detects that the INT signal is active, the I / O 10 until the interrupt acceptance signal 106 is output.
When the interrupt request 104 from 3 is active, the following normal interrupt processing is performed. Processor
When the 101 accepts an interrupt, the interrupt accept bus
Two cycles are started continuously. In each interrupt acceptance bus cycle, processor 101 outputs interrupt acceptance signal 106 to interrupt controller 1002. In the first interrupt acceptance bus cycle, the interrupt controller 1002 determines to request the processor 101 to service the interrupt request input having the highest priority level among the active interrupt request inputs. In this example, since only one interrupt request 104 is active, the interrupt controller 1002 determines to request the service for the interrupt request 104 from the processor 101 in the first interrupt acceptance bus cycle. In the second interrupt acceptance bus cycle, the interrupt controller 1002 sets the data bus 10
7 outputs a vector including the priority of the interrupt request 104, and the processor 101 receives the vector. Processor 1
In step 01, the information indicating the running state of the program interrupted by the program counter and the interrupt is saved on the stack, and then the process branches to the interrupt service routine for the I / O 103 by the vector.

割込みコントローラ1002からプロセッサ101へ渡され
る前記ベクタは第16図に示されるフォーマットになって
いる。1201は割込みコントローラ1002からプロセッサ10
1へ渡される8ビット幅の前記ベクタである。1202は該
ベクタ1201のなかのアドレスに相当する5ビットの部分
であり、予めプロセッサ101から割込みコントローラ100
2にたいしてセットされる。1203は該ベクタ1201のなか
の割込み要求の優先順位のレベルを3ビットにエンコー
ドした部分である。割込みコントローラ1002は8本の割
込み要求に8レベルの優先順位に割り付けて、プロセッ
サ101が割込みを受付けるとき前記8本の割込み要求の
なかのサービスすべき割込み要求の優先順位のレベルを
3ビットにエンコードして、プロセッサ101へのベクタ1
201のなかの1203に示す。本例においてたとえばI/O103
からの割込み要求104が割込みコントローラの優先順位
3レベルに相当する割込み要求入力端子に接続されてい
るとすると、割込み要求104にたいするベクタ1201の中
の1203には2進数の0112が入る。
The vector passed from the interrupt controller 1002 to the processor 101 has the format shown in FIG. 1201 is from interrupt controller 1002 to processor 10
This is the 8-bit wide vector passed to 1. Reference numeral 1202 denotes a 5-bit portion corresponding to an address in the vector 1201.
Set for 2 Reference numeral 1203 denotes a portion obtained by encoding the priority level of the interrupt request in the vector 1201 into 3 bits. The interrupt controller 1002 assigns eight levels of priority to the eight interrupt requests, and encodes the priority level of the interrupt request to be serviced in the eight interrupt requests into three bits when the processor 101 receives the interrupt. And the vector 1 to the processor 101
Shown at 1203 in 201. In this example, for example, I / O103
When an interrupt request 104 is to be connected to the interrupt request input pin corresponding to the priority three levels of interrupt controller from, 011 2 binary enters the 1203 in the vector 1201 against interrupt request 104.

プロセッサ101は割込みコントローラ1002から得た該
ベクタ1201を用いて16ビットのアドレス1204を生成す
る。アドレス1204は、メモリ中に用意されているベクタ
・テーブルのなかの割込み要求104の優先順位レベルに
対応するエントリの位置を示している。本例では、ベク
タ・テーブルのなかの各エントリには、そのエントリの
位置を示している。本例では、ベクタ・テーブルのなか
の各エントリには、そのエントリの示す優先順位レベル
の割込みのサービス・ルーチンの先頭アドレスに関する
情報が格納されているものとする。最初にプロセッサ10
1はベクタ・テーブルのなかの前記ベクタにより指定さ
れるエントリへアクセスして割込みのサービス・ルーチ
ンの先頭アドレスに関する情報を得る。つぎに該情報に
より割込みサービス・ルーチンの先頭アドレスへと制御
を移す。
The processor 101 generates a 16-bit address 1204 using the vector 1201 obtained from the interrupt controller 1002. The address 1204 indicates the position of the entry corresponding to the priority level of the interrupt request 104 in the vector table prepared in the memory. In this example, each entry in the vector table indicates the position of the entry. In this example, it is assumed that each entry in the vector table stores information on the start address of the service routine of the interrupt of the priority level indicated by the entry. First processor 10
1 accesses the entry specified by the vector in the vector table to obtain information on the start address of the interrupt service routine. Next, control is transferred to the start address of the interrupt service routine based on the information.

第18図は従来の割込み処理の流れを示す図である。プ
ロセッサ101は1命令の実行を終了する度に、割込みコ
ントローラ1002からのINT信号がアクティブであるか否
かを判断し、アクティブであった場合にはプロセッサ10
1が割込み受付けバス・サイクルを連続して2回起動
し、2回目の割込み受付けバス・サイクルにおいて割込
みコントローラ1002からベクタを取込む。プロセッサ10
1は該ベクタによりベクタ・テーブル内の該割込みにた
いするサービス・ルーチンのエントリにアクセスし該割
込みにたいするサービス・ルーチンの先頭アドレスに関
する情報を得る。次にプロセッサ101はプログラム・カ
ウンタや該割込みにより中断されたプログラムの走行の
状態を示すスタックに退避した後に、前記割込みにたい
するサービス・ルーチンの先頭アドレスへ制御を移す。
該割込みに対する、サービス・ルーチンでの処理が終了
すると、該サービス・ルーチンの最後に書かれている割
込みからの復帰命令を実行することによりスタックに退
避した前記プログラム・カウンタ等の情報をスタックか
ら復帰して割込みにより中断されたプログラムへと制御
を戻す。
FIG. 18 is a diagram showing a flow of a conventional interrupt process. Each time the processor 101 completes execution of one instruction, the processor 101 determines whether or not the INT signal from the interrupt controller 1002 is active.
1 starts the interrupt acceptance bus cycle twice in succession, and fetches the vector from the interrupt controller 1002 in the second interrupt acceptance bus cycle. Processor 10
1 accesses the entry of the service routine for the interrupt in the vector table using the vector, and obtains information on the start address of the service routine for the interrupt. Next, the processor 101 saves the program counter and the stack indicating the running state of the program interrupted by the interrupt, and then transfers the control to the start address of the service routine corresponding to the interrupt.
When the processing for the interrupt in the service routine is completed, the information such as the program counter saved on the stack is restored from the stack by executing a return instruction from the interrupt written at the end of the service routine. Control is returned to the program interrupted by the interrupt.

第17図に示すように1301においてプロセッサ101がINT
信号105をサンプルしたときにはI/O103からの割込み要
求104がアクティブであったのに、プロセッサ101が割込
み受付け信号を出力したときには該I/O103からの割込み
要求104がインアクティブになってしまっていたときに
は、割込みコントローラ1002は割込み受付け信号106の
入力にたいして割込み要求元を示すベクタをプロセッサ
101に返すことができない。第17図に示すようなタイミ
ングで入力された割込みを不完全割込みとよぶことにす
る。不完全割込みはI/Oが独自に割込み要求の発生・消
去をおこなう場合に発生する。
As shown in FIG. 17, at 1301, the processor 101
When the signal 105 was sampled, the interrupt request 104 from the I / O 103 was active, but when the processor 101 output the interrupt acceptance signal, the interrupt request 104 from the I / O 103 was inactive. Sometimes, the interrupt controller 1002 outputs a vector indicating the source of the interrupt request to the processor in response to the input of the interrupt acceptance signal 106.
Cannot return to 101. An interrupt input at the timing shown in FIG. 17 is called an incomplete interrupt. An incomplete interrupt occurs when an I / O independently generates or deletes an interrupt request.

従来の割込み処理方式では不完全割込みが発生したと
き、割込み受付けバス・サイクル中に割込みコントロー
ラ1002はプロセッサ101にたいして、不完全割込みが発
生したとき使用すると決められている優先順位レベル
(例えばレベル7)に対応する割込みベクタを出力し、
プロセッサ101は不完全割込みであることを知らずに該
割込みベクタを受け取り、そのまま不完全割込み処理を
第14図に説明した正常な割込み処理の1つとして行って
いた。
In the conventional interrupt processing method, when an incomplete interrupt occurs, the interrupt controller 1002 gives the processor 101 to the processor 101 during the interrupt acceptance bus cycle a priority level determined to be used when the incomplete interrupt occurs (for example, level 7). Output the interrupt vector corresponding to
The processor 101 receives the interrupt vector without knowing that the interrupt is an incomplete interrupt, and directly performs the incomplete interrupt process as one of the normal interrupt processes described in FIG.

つまり割込み要求元のI/O103が既に発行していた割込
み要求を自ら消去したことによって発生した不完全割込
みにより、プロセッサ101は該不完全割込みを受け付け
た箇所でそれまでのプログラムの実行を中断し、プログ
ラム・カウンタ等の情報をスタックに退避し、不完全割
込みベクタを解析してベクタ・テーブルから不完全割込
み処理ルーチンの先頭アドレスの情報を得て不完全割込
み処理ルーチンへと制御を移す。
In other words, due to an incomplete interrupt generated by erasing the interrupt request issued by the interrupt request source I / O 103 itself, the processor 101 suspends the execution of the program up to that point at the point where the incomplete interrupt is received. Then, the information such as the program counter is saved on the stack, the incomplete interrupt vector is analyzed, the information of the start address of the incomplete interrupt processing routine is obtained from the vector table, and the control is transferred to the incomplete interrupt processing routine.

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

従来の割込み処理方式では、不完全割込みが発生した
ことを割込みコントローラが検出することができるが、
プロセッサはどの割込みレベルに割込み要求が発生して
たかを特定することができないため不完全割込み処理ル
ーチンでは特に為すべき処理はない。I/O処理に即時性
・適時性が必要となる適用分野においては不完全割込み
が発生した場合にどの割込みレベルに割込み要求が発生
していたかを特定する必要がある。従来の割込み処理方
式のおいては不完全割込み処理ルーチンのなかで割込み
要求を発行するI/Oを一つ一つポーリングして個々のI/O
の状態をチェックしなければならず、I/O処理の即時性
・適時性が著しく損なわれるという欠点を有していた。
In the conventional interrupt processing method, the interrupt controller can detect that an incomplete interrupt has occurred.
Since the processor cannot identify the interrupt level at which the interrupt request has occurred, there is no particular processing to be performed in the incomplete interrupt processing routine. In an application field that requires immediacy and timeliness for I / O processing, it is necessary to specify at which interrupt level an interrupt request was generated when an incomplete interrupt occurred. In the conventional interrupt processing method, each I / O that issues an interrupt request is polled one by one in the incomplete interrupt processing routine.
Has to be checked, and the immediacy and timeliness of I / O processing are significantly impaired.

また従来の割込みコントローラにおいては不完全割込
みが発生したとき使用すると決められている優先順位レ
ベル(上記の従来例ではレベル7)に対応する割込み要
求入力端子には実質的にシステム内のI/O等からの割込
み要求信号を接続できないという欠点を有していた。
In a conventional interrupt controller, an interrupt request input terminal corresponding to a priority level determined to be used when an incomplete interrupt occurs (level 7 in the above-described conventional example) is substantially connected to an I / O in the system. And the like.

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

本発明による割込み処理装置は、中央処理装置と割込
みコントローラと複数の入出力デバイスとを有し、前記
入出力デバイスからの割込み要求が前記割込みコントロ
ーラに入力され、前記割込みコントローラが該複数の入
出力デバイスからの割込み要求を調停して前記中央処理
装置に割込み要求信号を出力し、前記中央処理装置が前
記割込みコントローラからの該割込み受付けると前記割
込みコントローラにたいして割込み受付けバス・サイク
ルを起動し、前記割込みコントロールは該割込み受付け
バス・サイクル中に前記中央処理装置にたいして割込み
ベクタを出力する情報処理システムにおいて、前記割込
みコントローラ内部にあって前記中央処理装置から値を
設定されるレジスタ1と、レジスタ1の内容と異なる値
を出力する手段2と、レジスタ1と手段2との出力を入
力とする選択手段3と,該複数の入出力デバイスからの
アクティブな割込み要求の優先順位を判断し最高優先順
位の割込み要求レベルの値を出力する手段4と、前記入
出力デバイスからの割込み要求の有無の情報を保持する
手段5と,前記保持手段5の出力を入力して優先順位を
判断し最高優先順位の割込み要求レベルの値を出力する
手段6と、手段4の出力と手段6と出力とを入力とをす
る選択手段7と、前記割込みコントローラ内部にあって
前記入出力デバイスからの割込み要求が1つも無いこと
を検出する手段8とを有し、 前記中央処理装置が前記割込みコントローラからの割
込み要求を受付けたあと割込み受付けバス・サイクルに
対して、検出手段8により選択手段3と選択手段7とが
同時に制御されて、割込みベクタをレジスタ1の内容と
手段4の出力から生成するか、あるいは手段2の出力と
手段6の出力から生成するかを選択することを特徴とす
る。
An interrupt processing device according to the present invention includes a central processing unit, an interrupt controller, and a plurality of input / output devices, wherein an interrupt request from the input / output device is input to the interrupt controller, and the interrupt controller is configured to control the plurality of input / output devices. Arbitrates an interrupt request from a device and outputs an interrupt request signal to the central processing unit. When the central processing unit receives the interrupt from the interrupt controller, the central processing unit starts an interrupt receiving bus cycle for the interrupt controller, and In the information processing system, the control outputs an interrupt vector to the central processing unit during the interrupt receiving bus cycle. In the information processing system, a register 1 inside the interrupt controller, to which a value is set from the central processing unit, and a content of the register 1 Means 2 for outputting a value different from Selecting means 3 which receives the outputs of the register 1 and the means 2 as inputs, and means 4 for determining the priority of active interrupt requests from the plurality of input / output devices and outputting the value of the highest priority interrupt request level. Means 5 for holding information on the presence / absence of an interrupt request from the input / output device; means 6 for receiving the output of the holding means 5 to determine the priority and outputting the value of the highest priority interrupt request level; Selecting means 7 for inputting the output of the means 4, inputting the means 6 and the output, and means 8 for detecting that there is no interrupt request from the input / output device inside the interrupt controller. After the central processing unit receives an interrupt request from the interrupt controller, the detecting means 8 controls the selecting means 3 and the selecting means 7 simultaneously with respect to the interrupt receiving bus cycle. It is in, and selects whether to generate an interrupt vector should be generated from the output of register 1 contents and means 4, or from the output of the output means 6 of the device 2.

また、前記割込み処理装置において、前記割込みコン
トローラ内部にあって前記中央処理装置から値を設定さ
れるレジスタ9を有し、レジスタ9の内容により前記入
出力デバイスからの割込み要求の優先順位を決定を制御
する手段と、レジスタ9の内容により前記入出力デバイ
スからの割込み要求をマスク制御して前記検出手段8へ
入力する手段と、レジスタ9の内容により前記保持手段
5の出力をマスク制御して前記手段6へ入力する手段と
を有することを特徴とする。
Further, the interrupt processing device has a register 9 inside the interrupt controller for setting a value from the central processing unit, and determines the priority of an interrupt request from the input / output device based on the contents of the register 9. Control means, means for masking an interrupt request from the input / output device based on the contents of a register 9 and inputting the interrupt request to the detecting means 8, and masking the output of the holding means 5 based on the contents of the register 9 Means for inputting to the means 6.

〔実施例〕〔Example〕

以下、図面により本発明を詳述する。 Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は本発明の第1の実施例でプロセッサと割込み
コントローラとI/Oとの接続方法を示す図であり従来例
の接続方法と同様である。
FIG. 1 is a diagram showing a connection method between a processor, an interrupt controller, and an I / O according to a first embodiment of the present invention, which is similar to the connection method of the conventional example.

101はプロセッサ、102は本実施例で改良された割込み
コントローラである。103は割込みコントローラ102に対
して割込み要求を発行するI/O、104はI/O103から割込み
コントローラ102への割込み要求信号、105は割込みコン
トローラ102からプロセッサ101へのINT信号である。106
はプロセッサ101から割込みコントローラ102への割込み
受付け信号である。107はプロセッサ101、割込みコント
ローラ102、I/O103を接続する外部バスである。
101 is a processor, and 102 is an interrupt controller improved in this embodiment. 103 is an I / O for issuing an interrupt request to the interrupt controller 102, 104 is an interrupt request signal from the I / O 103 to the interrupt controller 102, and 105 is an INT signal from the interrupt controller 102 to the processor 101. 106
Is an interrupt acceptance signal from the processor 101 to the interrupt controller 102. An external bus 107 connects the processor 101, the interrupt controller 102, and the I / O 103.

割込みコントローラ102の内部のハードウェアについ
て説明する。108は割込みコントローラ102外部からの8
本の割込み要求信号が全てインアクティブであること検
出する回路で、8本の割込み要求信号が全てインアクテ
ィブであるとき出力信号110が‘1'になる。108は例えば
8入力のNOR回路である。不完全割込みの検出に使用す
る。109はレジスタ111の5ビット出力の中の最下位ビッ
トのみを反転する回路である。110は検出回路108の出力
信号である。111はプロセッサ101により設定される5ビ
ットのアドレス情報を格納するレジスタである。通例プ
ロセッサ101は割込みコントローラ102からの割込みを受
付ける前に外部データ・バス107、割込みコントローラ1
02の内部データ・バスを介して5ビットのアドレス情報
を該レジスタ111に格納する。112はセレクタでレジスタ
111の出力と109の出力を入力とし、信号108を選択信号
として、信号108が‘1'のとき109の出力を選択し、信号
108が‘0'のとき111の出力を選択して内部データ・バス
118のビット3,4,5,6,7に出力する。113は割込みコント
ローラ102外部からの8本の割込み要求信号を入力とす
る優先順位決定回路である。入力される8本の割込み要
求信号のなかのアクティブになっている割込み要求のな
かで優先順位の最も高い割込み要求を検出して3ビット
にエンコードする優先順位決定回路で、114は優先順位
決定回路113の3ビット出力である。115は割込みコント
ローラ102外部からの8本の割込み要求信号の各信号の
状態を保持する8ビット・レジスタで、該8ビット・レ
ジスタの各ビットは各割込み要求信号の立上がりエッジ
で1にセットされ、プロセッサ101が起動する連続2回
の割込み受付けバスサイクルの2回めの割込み受付けバ
ス・サイクルに付随して2回アクティブになる割込み受
付け信号106の2回目のアクティブ・パルスの立ち下が
りエッジでリセットされる。116は8レジスタ115の出力
を入力とするプライオリティー・エンコーダで、8ビッ
トのレジスタ115の出力のなかの‘1'となっているビッ
トのなかで優先順位の最も高いビットの位置を検出して
3ビットにエンコードして出力する。
The hardware inside the interrupt controller 102 will be described. 108 is an 8 from the outside of the interrupt controller 102
This circuit detects that all the interrupt request signals are inactive. When all eight interrupt request signals are inactive, the output signal 110 becomes "1". Reference numeral 108 denotes an 8-input NOR circuit, for example. Used to detect incomplete interrupts. A circuit 109 inverts only the least significant bit in the 5-bit output of the register 111. 110 is an output signal of the detection circuit 108. A register 111 stores 5-bit address information set by the processor 101. Usually, the processor 101 connects to the external data bus 107 and the interrupt controller 1 before accepting an interrupt from the interrupt controller 102.
The 5-bit address information is stored in the register 111 via the internal data bus 02. 112 is a selector and a register
The output of 111 and the output of 109 are input, the signal 108 is used as a selection signal, and when the signal 108 is '1', the output of 109 is selected.
When 108 is '0', select 111 output and use internal data bus
Output to 118 bits 3,4,5,6,7. Reference numeral 113 denotes a priority determination circuit which receives eight interrupt request signals from the outside of the interrupt controller 102. A priority determination circuit which detects the highest priority interrupt request among the active interrupt requests among the eight interrupt request signals to be input and encodes it into 3 bits. Reference numeral 114 denotes a priority determination circuit. 113 3-bit output. An 8-bit register 115 holds the state of each of the eight interrupt request signals from the outside of the interrupt controller 102. Each bit of the 8-bit register is set to 1 at the rising edge of each interrupt request signal. The processor 101 is reset by the falling edge of the second active pulse of the interrupt reception signal 106 which becomes active twice following the second interrupt reception bus cycle of the two consecutive interrupt reception bus cycles activated by the processor 101. You. Reference numeral 116 denotes a priority encoder which receives the output of the 8-register 115 as an input, and detects the position of the bit having the highest priority among the bits set to "1" in the output of the 8-bit register 115. Encode to 3 bits and output.

117はセレクタで優先順位決定回路113の3ビットの出
力114と116の3ビット出力を入力とし、信号108を選択
信号として、信号108が‘1'のときプライオリティー・
エンコーダ116の出力を選択し、信号108が‘0'のとき優
先順位決定回路113の3ビットの出力114を選択して内部
データ・バス118のビット0,1,2に出力する。118は割込
みコントローラ102の内部バスで8ビット・バスであ
る。
A selector 117 receives the 3-bit outputs 114 and 116 of the priority determining circuit 113 and the 3-bit output of the input 116, uses the signal 108 as a selection signal, and sets the priority when the signal 108 is "1".
The output of the encoder 116 is selected, and when the signal 108 is “0”, the 3-bit output 114 of the priority determination circuit 113 is selected and output to the bits 0, 1, and 2 of the internal data bus 118. An internal bus 118 of the interrupt controller 102 is an 8-bit bus.

本実施例におけるプロセッサ101にたいして割込みコ
ントローラ102からINT信号105により割込みが発生した
ことが通知されると、プロセッサ101は割込み受付けバ
ス・サイクルを連続して2回起動する。従来の割込みコ
ントローラと同様に割込みコントローラ102では1回目
の割込み受付けバス・サイクルに付随して出力される割
込み受付け信号106が、割込みコントローラ内部での割
込み優先順位決定のためにのみ使用され、2回めの割込
み受付けバス・サイクルでベクタが外部バス107を介し
てプロセッサ101に取り込まれる。該ベクタのフォーマ
ットは従来の割込み受付けバス・サイクルにおいて出力
されるベクタのフォーマット1204と同一である。
When the interrupt controller 102 is notified by the INT signal 105 that an interrupt has occurred to the processor 101 in this embodiment, the processor 101 starts the interrupt receiving bus cycle twice in succession. Like the conventional interrupt controller, the interrupt controller 102 uses the interrupt acceptance signal 106 output accompanying the first interrupt acceptance bus cycle only for determining the priority of the interrupt inside the interrupt controller, and is used twice. The vector is fetched into the processor 101 via the external bus 107 in the interrupt receiving bus cycle. The format of the vector is the same as the format 1204 of the vector output in the conventional interrupt acceptance bus cycle.

以下の説明のために本実施例ではレジスタ111に11100
2がプリセットされているものとする。109はレジスタ11
1の5ビット出力の中の最下位ビットのみを反転するた
め109の出力は111012となっている。また割込みコント
ローラ102には1つのI/O103のみから割込みを要求さ
れ、I/O103の割込み要求信号104は割込みコントローラ1
02の割込み優先順位レベル3に接続されているものとす
る。
In the present embodiment, 11100 is stored in the register 111 for the following description.
It is assumed that 2 is preset. 109 is register 11
Output 109 for inverting only the least significant bits in the 5-bit output of 1 has a 11101 2. The interrupt controller 102 receives an interrupt request from only one I / O 103, and the interrupt request signal 104 of the I / O 103
It is assumed that it is connected to the 02 interrupt priority level 3.

不完全割込み以外の正常な割込みについては割込みコ
ントローラ102は次のような8ビットのベクタを外部バ
ス107を介してプロセッサ101に発行する。正常な割込み
の場合つまりプロセッサ101がINT信号をサンプルしたあ
と2回の割込み受付けバス・サイクルの1回めの割込み
受付けバス・サイクルを起動したときに割込みコントロ
ーラ102への割込み要求信号が1つでもアクティブであ
れば110が‘0'となるので、セレクタ112はレジスタ111
の内容(本例では111002)を選択する。またセレクタ11
7は優先順位決定回路113の出力114を選択する。本例で
はI/O103の割込み要求信号104は割込みコントローラ102
の割込み優先順位レベル3に接続されているので優先順
位決定回路113の出力114は0112となっている。
For normal interrupts other than incomplete interrupts, the interrupt controller 102 issues the following 8-bit vector to the processor 101 via the external bus 107. In the case of a normal interrupt, that is, when the processor 101 starts the first interrupt receiving bus cycle of the two interrupt receiving bus cycles after sampling the INT signal, even if there is one interrupt request signal to the interrupt controller 102, If active, 110 becomes '0', so selector 112
(In this example, 11100 2 ) is selected. Also selector 11
7 selects the output 114 of the priority determination circuit 113. In this example, the interrupt request signal 104 of the I / O 103 is the interrupt controller 102
Because it is connected to the interrupt priority level 3 is output 114 of the priority order determination circuit 113 has a 011 2.

第3図においてベクタ301は正常な割込みの(2回目
の)割込み受付けバスサイクルにたいして発行されるベ
クタである。ベクタ301の中の1202の部分はプロセッサ1
01からプリセットされる5ビットのアドレス情報(本例
では111002)である。ベクタの301の1203は3ビットの
優先順位レベル(本例では0112)に相当する。
In FIG. 3, a vector 301 is a vector issued for a (second) interrupt receiving bus cycle of a normal interrupt. The part 1202 in the vector 301 is processor 1
5-bit address information (11100 2 in this example) preset from 01. 1203 of the vector 301 corresponds to a 3-bit priority level (0111 2 in this example).

不完全割込みが発生したとき、つまり第2図のタイミ
ング・チャートに示すようにプロセッサ101がタイミン
グ201でアクティブなINT信号105をサンプルしたことに
起因して2回の割込み受付けバス・サイクルの1回めの
割込み受け付けバス・サイクルを起動したときに、割込
みコントローラ102への割込み要求入力が全てインアク
ティブであったときには、割込みコントローラ102は次
のような8ビットのベクタをプロセッサ101に対して発
行する。タイミング201でプロセッサ101がINT信号をサ
ンプルしたあと2回の割込み受付けバス・サイクルの1
回めの割込み受付けバス・サイクルを起動する前のタイ
ミング202で割込みコントローラ102への割込み要求信号
が全てインアクティブであれば、タイミング202以降は1
10が‘1'となる。本実施例においては、I/O103の割込み
要求信号104は割込みコントローラ102の割込み優先順位
レベル3に接続されてるためタイミング202までは優先
順位決定回路113は0112を出力しているがタイミング202
以降は不定の値を出力する。これに対してレジスタ115
では優先順位レベル3に接続されている割込み要求信号
104の立上がりエッヂによりビット3のみがセットさ
れ、タイミング202で優先順位レベル3に接続されてい
る割込み要求信号104がインアクティブになったあとで
も、優先順位レベル3に接続されている割込み要求信号
104の立上がりエッヂがあった事をレジスタ115のビット
3が記憶しているため、割込み要求信号104の立上りエ
ッヂ以降の2回目の割込み受付け信号の立ち下がりエッ
ヂまではプライオリティー・エンコーダ116は0112を出
力する。タイミング202以降は110が‘1'であるのでセレ
クタ112はレジスタ109の内容(本例では111012)を選択
する。セレクタ117はプライオリティー・エンコーダ116
の出力(本例では0112)を選択する。第3図においてベ
クタ302は正常な割込みの(2回目の)割込み受付けバ
スサイクルにたいして発行されるベクタである。
One of two interrupt acceptance bus cycles when an incomplete interrupt occurs, that is, due to the processor 101 sampling the active INT signal 105 at the timing 201 as shown in the timing chart of FIG. When all the interrupt request inputs to the interrupt controller 102 are inactive when the interrupt acceptance bus cycle is started, the interrupt controller 102 issues the following 8-bit vector to the processor 101: . After the processor 101 samples the INT signal at timing 201, one of two interrupt acceptance bus cycles
If all the interrupt request signals to the interrupt controller 102 are inactive at the timing 202 before the start of the second interrupt acceptance bus cycle, 1
10 becomes '1'. In this embodiment, I / O103 interrupt request signal 104 is up timing 202 because it is connected to the interrupt priority level 3 interrupt controller 102 the priority decision circuit 113 outputs the 011 second timing 202
Thereafter, an undefined value is output. Register 115
Shows the interrupt request signal connected to priority level 3.
Only the bit 3 is set by the rising edge of 104, and even after the interrupt request signal 104 connected to the priority level 3 becomes inactive at the timing 202, the interrupt request signal connected to the priority level 3 becomes inactive.
Since that had 104 rising edge bit 3 of register 115 is storing, priority encoder 116 until the falling edge of the second interrupt acceptance signal rising edge after the interrupt request signal 104 011 2 Is output. Since the timing 110 is “1” after the timing 202, the selector 112 selects the contents of the register 109 (11101 2 in this example). Selector 117 is priority encoder 116
Output (in this example 011 2) Select. In FIG. 3, a vector 302 is a vector issued for a (second) interrupt receiving bus cycle of a normal interrupt.

第4図に示すように、第3図をもとに本実施例におい
て正常な割込みに対するベクタ・アドレス1204は03800H
〜039COHの範囲内にあり、不完全割込みに対するベクタ
・アドレス1204は03A00H〜03BC0Hの範囲内にある。本実
施例においてはプロセッサ101は従来の割込み制御方式
を用いたまま、不完全割込みが発生しても正常な割込み
発生しても、プロセッサ101は第14図にしめすようなフ
ローで、INT信号をサンプルしたあと2回の割込みで受
付けバス・サイクルを起動して、2回目の割込み受付け
バス・サイクルで取込んだベクタをもとにベクタテーブ
ルにアクセスして目的のベクタ・アドレスへ分岐する事
が可能である。特に不完全割込みが発生した場合には、
2回目の割込み受付けバス・サイクルにおいて割込みコ
ントローラ102から不完全割込み用のベクタが発行さ
れ、不完全割込みを発生させた割込み要求レベルを区別
して第4図の不完全割込み用ベクタテーブルのなかの該
当するエントリへアクセスする。不完全割込み用ベクタ
テーブルのなかの該当するエントリには、各割込みレベ
ルの不完全割込み処理ルーチンの先頭アドレスが格納さ
れている。
As shown in FIG. 4, the vector address 1204 for a normal interrupt in this embodiment is 03800H based on FIG.
The vector address 1204 for incomplete interrupts is in the range 03A00H to 03BC0H. In the present embodiment, the processor 101 uses the conventional interrupt control method, and when the incomplete interrupt occurs or the normal interrupt occurs, the processor 101 outputs the INT signal according to the flow shown in FIG. After sampling, the acceptance bus cycle is started by two interrupts, and the vector table is accessed based on the vector fetched in the second interrupt acceptance bus cycle to branch to the target vector address. It is possible. Especially when an incomplete interrupt occurs,
In the second interrupt acceptance bus cycle, the vector for the incomplete interrupt is issued from the interrupt controller 102, and the corresponding interrupt request level in the incomplete interrupt vector table shown in FIG. Access the entry you want. The corresponding entry in the incomplete interrupt vector table stores the start address of the incomplete interrupt processing routine of each interrupt level.

第5図は本発明の第2の実施例を示す図である。本第
2の実施例においては不完全割込み用のベクタ・テーブ
ルのエントリを決定するレジスタ509がプロセッサ101か
ら値を設定する事が可能になっている。これによりベク
タ・テーブルをメモリ内の任意の位置に置くことが可能
になり、システムを構築する際の柔軟性が増す。
FIG. 5 is a view showing a second embodiment of the present invention. In the second embodiment, the register 509 that determines the entry of the vector table for the incomplete interrupt can set the value from the processor 101. This makes it possible to place the vector table at any location in the memory, increasing the flexibility in constructing the system.

第6図は本発明の第3実施例である。 FIG. 6 shows a third embodiment of the present invention.

100はメモリ、101はプロセッサ、102は本実施例で改
良された割込みコントローラである。103−1,103−2は
割込みコントローラ102に対して割込み要求を発行するI
/O、104−1,104−2はそれぞれI/O103−1、103−2か
ら割込みコントローラ102への割込み要求信号、105は割
込みコントローラ102からプロセッサ101へのINT信号で
ある。106はプロセッサ101から割込みコントローラ102
への割込み受付け信号である、107はプロセッサ101、割
込みコントローラ102,I/O103接続する外部バスである。
100 is a memory, 101 is a processor, and 102 is an interrupt controller improved in this embodiment. 103-1 and 103-2 issue an interrupt request to the interrupt controller 102
/ O, 104-1 and 104-2 are interrupt request signals from the I / Os 103-1 and 103-2 to the interrupt controller 102, respectively, and 105 is an INT signal from the interrupt controller 102 to the processor 101. 106 is the interrupt controller 102 from the processor 101
107 is an external bus connecting the processor 101, the interrupt controller 102, and the I / O 103.

割込みコントローラ102の内部のハードウエアについ
て説明する。
The hardware inside the interrupt controller 102 will be described.

119は割込み要求マスクレジスタで、レジスタ119の内
容は、プログラムによりプロセッサ101から外部データ
・バス107、内部データ・バス118を介して書込まれる。
例えば第5図に示すようにレジスタ119のビット3が
‘0'であれば割込み優先順位レベル3に接続されている
I/O103−1からの割込み要求104−1はマスクされる、 108は割込みコントローラ102外部からの8本の割込み
要求信号とマスク・レジスタ119の8ビットの出力120を
入力とする不完全割込み検出回路である。第11図に不完
全割込み検出回路108の内部構成を示す。例えば601−3
は論理積ゲートでレベル3の割込み要求信号104−1と1
20−3はマスク・レジスタ119の出力のビット3とを入
力する。第10図に示すようにレジスタ119のビット3が
‘0'であれば割込み要求104−1は論理積ゲート601−3
によりマスクされる。同様に第11図中の個々の論理積ゲ
ートはそれに入力されている個々の割込み要求信号をマ
スクレジスタ119の各ビットによってマスクする。602は
NORゲートで、マスクレジスタ119に格納された情報でマ
スクされていない割込み要求信号が全てインアクティブ
であること、つまりNORゲート602の入力が全て‘0'であ
ることを検出し、このとき出力信号110が‘0'になる。
Reference numeral 119 denotes an interrupt request mask register. The contents of the register 119 are written from the processor 101 via the external data bus 107 and the internal data bus 118 by a program.
For example, as shown in FIG. 5, if bit 3 of register 119 is '0', it is connected to interrupt priority level 3.
The interrupt request 104-1 from the I / O 103-1 is masked. 108 is an incomplete interrupt detection which receives eight interrupt request signals from outside the interrupt controller 102 and an 8-bit output 120 of the mask register 119 as inputs. Circuit. FIG. 11 shows the internal configuration of the incomplete interrupt detection circuit 108. For example, 601-3
Is a logical AND gate, and the level 3 interrupt request signals 104-1 and 1
20-3 inputs the bit 3 of the output of the mask register 119. As shown in FIG. 10, if the bit 3 of the register 119 is “0”, the interrupt request 104-1 is sent to the AND gate 601-3.
Is masked by Similarly, each AND gate in FIG. 11 masks an individual interrupt request signal input thereto by each bit of the mask register 119. 602 is
The NOR gate detects that all interrupt request signals that are not masked by the information stored in the mask register 119 are inactive, that is, that the inputs of the NOR gate 602 are all '0', and the output signal 110 becomes '0'.

109はレジスタ111の5ビット出力の中の最下位ビット
のみを反転する回路である。110は検出回路108の出力信
号である。111はプロセッサ101により設定される5ビッ
トのアドレス情報を格納するレジスタである。通例プロ
セッサ101は割込みコントローラ102からの割込みを受付
ける前に外部データ・バス107、割込みコントローラ102
の内部データ・バス118を介して5ビットのアドレス情
報を該レジスタ111に格納する。112はレジスタ111の出
力と109の出力を入力とし信号108を選択信号とするセレ
クタで、信号108が‘1'のとき109の出力を選択し、信吾
108が‘0'のとき111の出力を選択して内部データ・バス
118のビット3,4,5,6,7に出力する。
A circuit 109 inverts only the least significant bit in the 5-bit output of the register 111. 110 is an output signal of the detection circuit 108. A register 111 stores 5-bit address information set by the processor 101. Usually, the processor 101 is connected to the external data bus 107 and the interrupt controller 102 before accepting an interrupt from the interrupt controller 102.
The 5-bit address information is stored in the register 111 via the internal data bus 118. Reference numeral 112 denotes a selector which receives the output of the register 111 and the output of 109 as input and selects the signal 108 as a selection signal.
When 108 is '0', select 111 output and use internal data bus
Output to 118 bits 3,4,5,6,7.

113は割込みコントローラ102外部からの8本の割込み
要求信号とマスク・レジスタ119の8ビットの出力120を
入力とする優先順位決定回路である。113は入力される
8本の割込み要求信号なかで、マスクレジスタ119に格
納されている情報によりマスクされていない割込み要求
がアクティブになった事を検出してINT信号105をアクテ
ィブにする機能、およびマスクレジスタ119に格納され
ている情報によってマスクされている割込み要求がアク
ティブになってもINT信号105をアクティブにしないとい
う機能を有する。また入力される8本の割込み要求信号
なかで、マスクレジスタ119の内容によりマスクされて
いない割込み要求の中で優先順位の最も高い割込み要求
を検出して3ビットにエンコードする機能を有する。11
4は優先順位決定回路113の3ビット出力である。
Reference numeral 113 denotes a priority determining circuit which receives eight interrupt request signals from the outside of the interrupt controller 102 and an 8-bit output 120 of the mask register 119 as inputs. A function 113 activates the INT signal 105 by detecting that an interrupt request that is not masked by information stored in the mask register 119 becomes active among eight input interrupt request signals, and It has the function of not activating the INT signal 105 even when an interrupt request masked by the information stored in the mask register 119 becomes active. Further, it has a function of detecting an interrupt request having the highest priority among interrupt requests not masked by the contents of the mask register 119 among eight input interrupt request signals and encoding the interrupt request into three bits. 11
Reference numeral 4 denotes a 3-bit output of the priority determination circuit 113.

115は割込みコントローラ102外部からの8本の割込み
要求信号の各信号の状態を保持する8ビット・レジスタ
および周辺回路である。該8ビット・レジスタの各ビッ
トは各割込み要求信号の立上りエッヂで1にセットさ
れ、プロセッサ101が起動する連続2回の割込み受付け
バスサイクルの2回めの割込み受付けバス・サイクルに
付随して2回アクティブになる割込み受付け信号106の
2回目のアクティブ・パルスの立ち下がりエッヂでリセ
ットされる。第12図は8ビット・レジスタ115のビット
3の部分のみを示した図であり、他のビットの構成も第
12図の構成と同様である。701はセット・リセット・フ
リップ・フロップ(以下RS−FFと略記)で、I/O103−1
からの割込み要求信号104−1の立上がりでセットさ
れ、割込み受付け信号106の2回目のアクティブ・パル
スの立ち下がりエッヂでリセットされる。120−3はマ
スク・レジスタ119の出力のビット3、702は論理積ゲー
トで120−3とRS−FF701の出力を入力する。第10図に示
すようにレジスタ119のビット3が‘0'(120−3が
‘0')であれば、論理積ゲート702により割込み優先順
位レベル3に接続されているI/O103−1からの割込み要
求104−1がアクティブであったことはマスクされる。
Reference numeral 115 denotes an 8-bit register for holding the state of each of eight interrupt request signals from the outside of the interrupt controller 102 and peripheral circuits. Each bit of the 8-bit register is set to 1 at the rising edge of each interrupt request signal, and is set to 2 in conjunction with the second interrupt acceptance bus cycle of two consecutive interrupt acceptance bus cycles activated by the processor 101. It is reset at the falling edge of the second active pulse of the interrupt acceptance signal 106 which becomes active twice. FIG. 12 is a diagram showing only the bit 3 portion of the 8-bit register 115, and other bit configurations are also shown in FIG.
This is the same as the configuration in FIG. 701 is a set / reset flip-flop (hereinafter abbreviated as RS-FF), and I / O103-1
Is set at the rising edge of the interrupt request signal 104-1, and reset at the falling edge of the second active pulse of the interrupt receiving signal 106. Reference numeral 120-3 denotes bit 3 of the output of the mask register 119, and reference numeral 702 denotes an AND gate for inputting the output of 120-3 and the output of the RS-FF701. If bit 3 of the register 119 is “0” (120-3 is “0”) as shown in FIG. 10, the logical product gate 702 outputs the data from the I / O 103-1 connected to the interrupt priority level 3. That the interrupt request 104-1 is active is masked.

116は8ビット・レジスタ115の出力を入力とするプラ
イオリティー・エンコーダで、レジスタ115の出力のな
かの‘1'となっているビットのなかで優先順位の最も高
いビットの位置を検出して3ビットにエンコードして出
力する。
Reference numeral 116 denotes a priority encoder to which the output of the 8-bit register 115 is input, and detects the position of the bit having the highest priority among the bits which are "1" in the output of the register 115, Encode to bits and output.

117はセレクタで優先順位決定回路113の3ビットの出
力114と116の3ビット出力を入力として、信号108を選
択信号として、信号108が‘1'のときプライオリティー
・エンコーダ116の出力を選択し、信号108が‘0'のとき
優先順位決定回路113の3ビットの出力114を選択して内
部データ・バス118のビット0,1,2に出力する。118は割
込みコントローラ102の内部バスで8ビット・バスであ
る。
A selector 117 receives the 3-bit outputs 114 and 116 of the priority determination circuit 113 as inputs, selects the signal 108 as a selection signal, and selects the output of the priority encoder 116 when the signal 108 is "1". When the signal 108 is "0", the 3-bit output 114 of the priority determination circuit 113 is selected and output to the bits 0, 1, and 2 of the internal data bus 118. An internal bus 118 of the interrupt controller 102 is an 8-bit bus.

本実施例では、プロセッサ101にたいして割込みコン
トローラ102からINT信号105により割込みが発生したこ
とが通知されると、プロセッサ101は割込み受付けバス
・サイクルを連続して2回起動する。従来の割込みコン
トローラと同様に割込みコントローラ102では1回めの
割込み受付けバス・サイクルに付随して出力される割込
み受付け信号106が、割込みコントローラ内部での割込
み優先順位決定のためにのみ使用され、2回めの割込み
受付けバス・サイクルでベクタが外部バス107を介して
プロセッサ101に取込まれる。該ベクタのフォーマット
は従来の割込み受付けバス・サイクルにおいて出力され
るベクタのフォーマット1204と同一である。
In this embodiment, when the interrupt controller 102 is notified by the INT signal 105 to the processor 101 that an interrupt has occurred, the processor 101 starts the interrupt receiving bus cycle twice consecutively. Like the conventional interrupt controller, the interrupt controller 102 uses the interrupt accept signal 106 output accompanying the first interrupt accept bus cycle only for determining the interrupt priority inside the interrupt controller, and The vector is taken into the processor 101 via the external bus 107 in the second interrupt acceptance bus cycle. The format of the vector is the same as the format 1204 of the vector output in the conventional interrupt acceptance bus cycle.

以下の説明のために本実施例ではレジスタ111に11100
2がプリセットされているものとする。109はレジスタ11
1の5ビット出力の中の最下位ビットのみを反転するた
め、109の出力は111012となっている。また割込みコン
トローラ102には2つのI/O103−1および103−2からの
割込み要求104−1,104−2が入力され、割込み要求信号
104−1は割込みコントローラ102の割込み優先順位レベ
ル3に、割込み要求信号104−2は割込み優先順位レベ
ル4に接続されているものとする。
In the present embodiment, 11100 is stored in the register 111 for the following description.
It is assumed that 2 is preset. 109 is register 11
For reversing only the least significant bits in the 5-bit output of 1, the output of 109 is a 11101 2. Further, interrupt requests 104-1 and 104-2 from the two I / Os 103-1 and 103-2 are input to the interrupt controller 102, and an interrupt request signal
104-1 is connected to the interrupt priority level 3 of the interrupt controller 102, and the interrupt request signal 104-2 is connected to the interrupt priority level 4.

マスクレジスタ119に111111112がプリセットされてい
る場合、つまり割込みコントローラ102の全ての割込み
要求信号がマスクされていない時には、不完全割込み以
外の正常な割込みについては割込みコントローラ102は
次のような8ビットのベクタを外部バス107を介してプ
ロセッサ101に発行する。正常な割込みの場合はI/O103
−1からの割込み要求104−1がアクティブになると、
割込みコントローラ102はINT信号105をアクティブにす
る。プロセッサ101がINT信号をサンプルしたあと2回の
割込み受付けバス・サイクルの1回めの割込み受付けバ
ス・サイクルを起動したときに割込みコントローラ102
への割込み要求信号が1つでもアクティブであれば110
が‘0'となるので、セレクタ112はレジスタ111の内容
(本例では111002)を選択する。またセレクタ117は優
先順位決定回路113の出力114を選択する。本例ではI/O1
03−1の割込み要求信号104−1は割込み優先順位レベ
ル3に接続されているので優先順位決定回路113の出力1
14は0112となっている。
If the mask register 119 11111111 2 is preset, i.e. all when an interrupt request signal is not masked, the interrupt controller 102 normal interrupt except incomplete Interrupt 8 bits as the next interrupt controller 102 Is issued to the processor 101 via the external bus 107. I / O103 for normal interrupt
When the interrupt request 104-1 from -1 becomes active,
The interrupt controller 102 activates the INT signal 105. When the processor 101 starts the first interrupt receiving bus cycle of the two interrupt receiving bus cycles after sampling the INT signal, the interrupt controller 102
110 if at least one interrupt request signal is active
Becomes '0', the selector 112 selects the contents of the register 111 (11100 2 in this example). The selector 117 selects the output 114 of the priority determination circuit 113. In this example, I / O1
Since the interrupt request signal 104-1 of 03-1 is connected to the interrupt priority level 3, the output 1 of the priority determination circuit 113
14 and has a 011 2.

第8図においてベクタ301は正常な割込みの(2回め
の)割込み受付けバスサイクルにたいして発行されるベ
クタである。ベクタ301の中の1202の部分はプロセッサ1
01からプリセットされる5ビットのアドレス情報(本例
では111002)である。ベクタの301の1203は3ビットの
優先順位レベル(本例では0112)に相当する。
In FIG. 8, a vector 301 is a vector issued for a (second) interrupt receiving bus cycle of a normal interrupt. The part 1202 in the vector 301 is processor 1
5-bit address information (11100 2 in this example) preset from 01. 1203 of the vector 301 corresponds to a 3-bit priority level (0111 2 in this example).

マスクレジスタ119に111111112がプリセットされてい
る場合に不完全割込みが発生したときについて説明す
る。ここではI/O103−1の割込み要求信号104−1が不
完全割込みを発生し、I/O103−2の割込み要求信号104
−2はインアクティブであった場合について説明する。
第7図のタイミング・チャートに示すようにプロセッサ
101がタイミング201でアクティブなINT信号105をサンプ
ルしたことに起因して2回の割込み受付けバス・サイク
ルの1回めの割込み受付けバス・サイクルを起動したと
きに、割込みコントローラ102への割込み要求入力が全
てインアクィブであったときには、割込みコントローラ
102は次のような8ビットのベクタをプロセッサ101に対
して発行する。タイミング201でプロセッサ101がINT信
号をサンプルしたあと2回の割込み受付けバス・サイク
ルの1回めの割込み受付けバス・サイクルを起動する前
のタイミング202で割込みコントローラ102への割込み要
求信号が全てインアクティブであれば、タイミング202
以降は110が‘1'となる。本実施例においては、I/O103
−1の割込み要求信号104−1は割込みコントローラ102
の割込み優先順位レベル3に接続されているためタイミ
ング202までは優先順位決定回路113は0112を出力してい
るがタイミング202以降は不定の値を出力する。これに
対してレジスタ115では優先順位レベル3に接続されて
いる割込み要求信号104−1の立上りエッヂによりビッ
ト3のみがセットされ、タイミング202で優先順位レベ
ル3に接続されている割込み要求信号104−1がインア
クティブになったあとでも、優先順位レベル3に接続さ
れている割込み要求信号104−1の立上りエッヂがあっ
た事をレジスタ115のビット3が記憶しているため、割
込み要求信号104−1の立上りエッヂ以降の2回目の割
込み受付け信号の立ち下がりエッヂまではプライオリテ
ィー・エンコーダ116は0112を出力する。タイミング202
以降は110が‘1'であるのでセレクタ112はレジスタ109
の内容(本例では111012)を選択する。セレクタ117は
プライオリティー・エンコーダ116の出力(本例では011
2)を選択する。第8図においてベクタ302は正常な割込
みの(2回目の)割込み受付けバスサイクルにたいして
発行されるベクタである。
It described when the incomplete interrupt occurs when the mask register 119 11111111 2 are preset. Here, the interrupt request signal 104-1 of the I / O 103-1 generates an incomplete interrupt, and the interrupt request signal 104-1 of the I / O 103-2.
The case of -2 is described as inactive.
As shown in the timing chart of FIG.
An interrupt request input to the interrupt controller 102 when the first interrupt receiving bus cycle of the two interrupt receiving bus cycles is activated due to 101 sampling the active INT signal 105 at timing 201 If all were inactive, the interrupt controller
102 issues the following 8-bit vector to the processor 101. All the interrupt request signals to the interrupt controller 102 are inactive at timing 202 before the first interrupt receiving bus cycle of the two interrupt receiving bus cycles is started after the processor 101 samples the INT signal at timing 201. If so, timing 202
Thereafter, 110 becomes '1'. In this embodiment, the I / O 103
-1 interrupt request signal 104-1 is the interrupt controller 102
Is until the timing 202 because it is connected to the interrupt priority level 3 priority determination circuit 113 011 2 output to have but a timing 202 after the output values of the indefinite. On the other hand, in the register 115, only the bit 3 is set by the rising edge of the interrupt request signal 104-1 connected to the priority level 3, and at the timing 202, the interrupt request signal 104-1 connected to the priority level 3 is set. Even after 1 becomes inactive, bit 3 of register 115 stores that the rising edge of interrupt request signal 104-1 connected to priority level 3 has occurred. to the fall edge of the first rising edge after the second interrupt acceptance signal priority encoder 116 outputs 011 2. Timing 202
Thereafter, since the value 110 is “1”, the selector 112
(In this example, 11101 2 ) is selected. The selector 117 outputs the output of the priority encoder 116 (011 in this example).
2 ) Select In FIG. 8, a vector 302 is a vector issued for a (second) interrupt acceptance bus cycle of a normal interrupt.

第9図に示すように、第8図をもとに本実施例におい
て正常な割込みに対するベクタ・アドレス1204は03800H
〜039C0Hの範囲内にあり、不完全割込みに対するベクタ
・アドレス1204は03A00H〜03BC0Hの範囲内にある。
As shown in FIG. 9, based on FIG. 8, the vector address 1204 for a normal interrupt in this embodiment is 03800H.
The vector address 1204 for incomplete interrupts is in the range 03A00H to 03BC0H.

マスクレジスタ119に111101112がプリセットされてい
る場合、つまりI/O103−1からの割込み要求信号104−
1のみがマスクされている時の動作について説明する。
割込み要求信号104−2がインアクティブであるときに1
04−1のみに‘短い’パルスが発生した場合は、マスク
レジスタ119により割込み要求104−1はマスクされてい
るためにINT信号は発生しないので、不完全割込みは発
生しない。
If the mask register 119 11110111 2 is preset, that it is an interrupt request signal from an I / O103-1 104-
The operation when only 1 is masked will be described.
1 when interrupt request signal 104-2 is inactive
When a “short” pulse is generated only in the block 04-1, the interrupt request 104-1 is masked by the mask register 119, so that the INT signal is not generated, so that the incomplete interrupt does not occur.

割込み要求信号104−1,104−2に同時に‘短い’パル
スが発生した場合には、104−1はマスクレジスタ119に
よりマスクされているため、上述のように104−1に発
生した‘短い’パルスは108,115では検出されない。104
−2はマスクされていないため、104−2に発生した
‘短い’パルスは108,115で検出され、104−2が接続さ
れている割込みレベル4にたいして前記の不完全割込み
処理を行う。つまり104−2に発生した‘短い’パルス
によりINT信号105がアクティブになり、プロセッサ101
から2つのパルスの割込み受付け信号106が発行された
ときに、2回目の割込み受付けバス・サイクルにたいし
て104−2の接続されている割込みレベル4の不完全割
込み用のベクタが発行される。
If a “short” pulse is generated in the interrupt request signals 104-1 and 104-2 at the same time, the “short” pulse generated in the 104-1 is masked by the mask register 119 as described above. It is not detected in 108,115. 104
Since "-2" is not masked, the "short" pulse generated at 104-2 is detected at 108 and 115, and the above-mentioned incomplete interrupt processing is performed for the interrupt level 4 to which 104-2 is connected. That is, the INT signal 105 is activated by the “short” pulse generated in 104-2, and the processor 101
, The interrupt acceptance signal 106 of two pulses is issued, the vector for the incomplete interrupt of the interrupt level 4 connected to 104-2 is issued for the second interrupt acceptance bus cycle.

正常割込み処理時にマスクされている割込みレベル3
が不完全であることにより116のプライオリティ・エン
コードの誤動作、本例では割込みレベル4に接続されて
いる割込み要求信号104−2が不完全割込みであったこ
とが、優先順位の高い割込みレベル3に接続されている
割込み要求信号104−1の不完全割込みの発生により隠
されてしまうことを防止する。
Interrupt level 3 masked during normal interrupt processing
Is incomplete, the malfunction of the priority encoding of 116, in this example, the fact that the interrupt request signal 104-2 connected to the interrupt level 4 was an incomplete interrupt, This prevents the connected interrupt request signal 104-1 from being hidden by the occurrence of an incomplete interrupt.

本実施例においてはプロセッサ101は従来の割込み制
御方式を用いたまま、不完全割込みが発生しても正常な
割込みが発生しても、プロセッサ101は第14図に示すよ
うなフローで、INT信号をサンプルしたあと2回の割込
み受付けバス・サイクルを起動して、2回目の割込み受
付けバス・サイクルで取込んだベクタをもとにベクタテ
ーブルにアクセスして目的のベクタ・アドレスへ分岐す
る事が可能である。特に不完全割込みが発生した場合に
は、2回目の割込み受付けバス・サイクルにおいて割込
みコントローラ102から不完全割込み用のベクタが発行
され、不完全割込みを発生させた割込み要求レベルを区
別して第4図の不完全割込み用ベクタテーブルのなかの
該当するエントリへアクセスする。不完全割込み用ベク
タテーブルのなかの該当するエントリには、各割込みレ
ベルの不完全割込み処理ルーチンの先頭アドレスが格納
されている。
In the present embodiment, the processor 101 uses the conventional interrupt control method, and even if an incomplete interrupt or a normal interrupt occurs, the processor 101 executes the INT signal according to the flow shown in FIG. After the sample has been sampled, two interrupt acceptance bus cycles can be started, and the vector table can be accessed based on the vector fetched in the second interrupt acceptance bus cycle to branch to the target vector address. It is possible. In particular, when an incomplete interrupt occurs, a vector for the incomplete interrupt is issued from the interrupt controller 102 in the second interrupt acceptance bus cycle, and the interrupt request level that caused the incomplete interrupt is discriminated. Access the corresponding entry in the incomplete interrupt vector table. The corresponding entry in the incomplete interrupt vector table stores the start address of the incomplete interrupt processing routine of each interrupt level.

第13図は本発明の第4の実施例を示す図である。本第
4の実施例においては不完全割込み用のベクタ・テーブ
ルのエントリを決定するレジスタ801がプロセッサ101か
ら値を設定する事が可能になっている。これによりベク
タ・テーブルをメモリ内の任意の位置に置くことが可能
になり、システムを構築する際の柔軟性が増す。
FIG. 13 is a view showing a fourth embodiment of the present invention. In the fourth embodiment, the register 801 that determines the entry of the vector table for the incomplete interrupt can set a value from the processor 101. This makes it possible to place the vector table at any location in the memory, increasing the flexibility in constructing the system.

〔発明の効果〕〔The invention's effect〕

以上説明してきたように本発明により、プロセッサが
割込みを受付けようとして割込み受付けバス・サイクル
を起動して割込みコントローラから得たベクタにより、
プロセッサはその割込みが不完全割込みであるか否かを
判定することができる。またどのレベルに不完全割込み
が発生していたかを従来の割込み処理方式と同等のベク
タ取込みタイミングで認識することができる。従ってプ
ロセッサは、割込み受付けから割込み処理ルーチンへの
分岐までの割込み応答の処理及びタイミングは従来の方
式と同等のままで、不完全割込みを発生させた割込み要
求元にたいして不完全割込み処理を行うことができる。
As explained above, according to the present invention, the vector obtained from the interrupt controller by activating the interrupt acceptance bus cycle in order for the processor to accept the interrupt
The processor can determine whether the interrupt is an incomplete interrupt. Further, it is possible to recognize at what level the incomplete interrupt has occurred at the same vector fetch timing as in the conventional interrupt processing method. Therefore, the processor can perform the incomplete interrupt processing to the interrupt request source that generated the incomplete interrupt while maintaining the processing and timing of the interrupt response from the acceptance of the interrupt to the branch to the interrupt processing routine as in the conventional method. it can.

また従来の割込み処理方式の割込みコントローラが特
定の1つの割込み要求入力端子に対応する優先順位レベ
ルのサービス・ルーチンを不完全割込みが発生したとき
使用すると決めていたため、該割込み要求入力端子には
実質的にシステム内のI/O等からの割込み要求信号を接
続できなかったが、本発明により割込みコントローラの
すべての割込み要求入力端子にシステム内のI/O等から
の割込み要求信号を接続することができるという効果が
ある。
Also, since the interrupt controller of the conventional interrupt processing method has determined that the service routine of the priority level corresponding to one specific interrupt request input terminal is to be used when an incomplete interrupt occurs, the interrupt request input terminal is substantially Although the interrupt request signal from the I / O etc. in the system could not be connected, the present invention requires connecting the interrupt request signal from the I / O etc. in the system to all the interrupt request input terminals of the interrupt controller. There is an effect that can be.

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

第1図はI/Oと本発明の第1実施例による割込みコント
ローラとプロセッサの接続関係を示す図、第2図は本実
施例の動作を説明するタイミング・チャート、第3図は
本実施例において割込みが発生したときプロセッサ101
が起動する連続した2回の割込み受付けバス・サイクル
中に割込みコントローラ102が出力する2つのベクタの
フォーマットを示す図、第4図は本実施例において使用
する割込みベクタ・テーブル、第5図は本発明の第2の
実施例を説明する図、第6図は本発明の第3の実施例を
示す図、第7図は本実施例の動作を説明するタイミング
・チャート、第8図は本実施例において割込みが発生し
たときプロセッサ101が起動する連続した2回の割込み
受付けバス・サイクル中に割込みコントローラ102が出
力する2つのベクタのフォーマットを示す図、第9図は
本実施例において使用する割込みベクタ・テーブル、第
10図はマスクレジスタ119の内容の例を示す図、第11図
は不完全割込み検出回路108の内部構成を示す図、第12
図はレジスタ115の内部の1ビット分(ビット3)の構
造を示す図、第13図は本発明の第4の実施例を説明する
図、第14図乃至第18図は夫々従来例を説明するための図
である。
FIG. 1 is a diagram showing a connection relationship between I / O and an interrupt controller and a processor according to a first embodiment of the present invention, FIG. 2 is a timing chart for explaining the operation of the present embodiment, and FIG. When an interrupt occurs in the processor 101
FIG. 4 is a diagram showing the format of two vectors output by the interrupt controller 102 during two consecutive interrupt receiving bus cycles in which the CPU starts, FIG. 4 is an interrupt vector table used in this embodiment, and FIG. FIG. 6 is a diagram for explaining a second embodiment of the present invention, FIG. 6 is a diagram showing a third embodiment of the present invention, FIG. 7 is a timing chart for explaining the operation of the present embodiment, and FIG. FIG. 9 is a diagram showing a format of two vectors output by the interrupt controller 102 during two consecutive interrupt receiving bus cycles in which the processor 101 is activated when an interrupt occurs in the example. FIG. 9 shows an interrupt used in the present embodiment. Vector table, number
FIG. 10 is a diagram showing an example of the contents of the mask register 119, FIG. 11 is a diagram showing the internal configuration of the incomplete interrupt detection circuit 108, and FIG.
FIG. 13 is a diagram showing the structure of one bit (bit 3) inside the register 115, FIG. 13 is a diagram for explaining the fourth embodiment of the present invention, and FIGS. FIG.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】中央処理装置と割込みコントローラと複数
の入出力バイアスとを有し、前記入出力デバイスからの
割込み要求が前記割込みコントローラに入力され、前記
割込みコントローラが前記複数の入出力デバイスからの
割込み要求を調停して前記中央処理装置に割込み要求信
号を出力し、前記中央処理装置が前記割込みコントロー
ラからの該割込み受付けると前記割込みコントローラに
たいして割込み受付けバス・サイクルを起動し、前記割
込みコントローラは前記割込み受付けバス・サイクル中
に前記中央処理装置にたいして割込みベクタを出力する
情報処理システムにおいて、前記割込みコントローラ内
部にあって前記中央処理装置から値を設定されるレジス
タと、このレジスタの内容と異なる値を出力する第1の
手段と、前記レジスタと前記第1の手段との出力を入力
する第1の選択手段と、前記複数の入出力デバイスから
のアクティブな割込み要求の優先順位を判断し最高優先
順位の割込み要求レベルの値を出力する第2の手段と、
前記入出力デバイスからの割込み要求の有無の情報を保
持する保持手段と、この保持手段の出力を入力して優先
順位を判断し最高優先順位の割込み要求レベルの値を出
力する第3の手段と、前記第2および第3の手段の出力
とを入力とする第2の選択手段と、前記割込みコントロ
ーラ内部にあって前記入出力デバイスからの割込み要求
が1つも無いことを検出する検出手段とを有し、前記中
央処理装置が前記割込みコントローラからの割込み要求
を受付けたあと割込み受付けバス・サイクルに対して、
前記検出手段により前記第1および第2の選択手段が同
時に制御されて、割込みベクタを前記レジスタの内容と
前記第2の手段4の出力から生成するか、あるいは前記
第1および第3の手段の出力から生成するかを選択する
ことを特徴とする割込み処理装置。
An interrupt request from the input / output device is input to the interrupt controller, and the interrupt controller receives a request from the plurality of input / output devices. An interrupt request is arbitrated and an interrupt request signal is output to the central processing unit. When the central processing unit receives the interrupt from the interrupt controller, the central processing unit activates an interrupt receiving bus cycle for the interrupt controller. In an information processing system for outputting an interrupt vector to the central processing unit during an interrupt acceptance bus cycle, a register in the interrupt controller, the value of which is set by the central processing unit, and a value different from the contents of the register. First means for outputting, First selecting means for inputting the output of the first means and the output of the first means, and determining the priority of active interrupt requests from the plurality of input / output devices and outputting the highest priority interrupt request level value. A second means;
Holding means for holding information on the presence / absence of an interrupt request from the input / output device; and third means for inputting an output of the holding means, determining a priority, and outputting a value of the highest priority interrupt request level. A second selection unit that receives the outputs of the second and third units as input, and a detection unit that is inside the interrupt controller and detects that there is no interrupt request from the input / output device. Having an interrupt receiving bus cycle after the central processing unit receives an interrupt request from the interrupt controller;
The detecting means controls the first and second selecting means simultaneously to generate an interrupt vector from the contents of the register and the output of the second means 4 or to generate an interrupt vector from the first and third means. An interrupt processing device for selecting whether to generate from an output.
【請求項2】請求項1の割込み処理装置において、前記
割込みコントローラ内部にあって前記中央処理装置から
値を設定される付加レジスタを有し、この付加レジスタ
の内容により前記入出力デバイスからの割込み要求の優
先順位を決定を制御する手段と、前記付加レジスタの内
容により前記入出力デバイスからの割込み要求をマスク
制御して前記検出手段へ入力する手段と、前記付加レジ
スタの内容により前記保持手段の出力をマスク制御して
前記第3の手段へ入力する手段とを有することを特徴と
する割込み処理装置。
2. An interrupt processing apparatus according to claim 1, further comprising: an additional register inside said interrupt controller for setting a value from said central processing unit, and an interrupt from said input / output device based on the contents of said additional register. Means for controlling the determination of the priority of the request, means for masking an interrupt request from the input / output device based on the content of the additional register and inputting the interrupt request to the detecting means, and means for holding the content based on the content of the additional register. Means for masking the output and inputting the output to the third means.
JP2340912A 1990-11-30 1990-11-30 Interrupt processing device Expired - Lifetime JP2990800B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2340912A JP2990800B2 (en) 1990-11-30 1990-11-30 Interrupt processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2340912A JP2990800B2 (en) 1990-11-30 1990-11-30 Interrupt processing device

Publications (2)

Publication Number Publication Date
JPH04209058A JPH04209058A (en) 1992-07-30
JP2990800B2 true JP2990800B2 (en) 1999-12-13

Family

ID=18341450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2340912A Expired - Lifetime JP2990800B2 (en) 1990-11-30 1990-11-30 Interrupt processing device

Country Status (1)

Country Link
JP (1) JP2990800B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101103000B1 (en) * 2009-04-13 2012-01-05 주식회사 에너지 오션 solid fuel combustion apparatus of multilevel combustion type
CN111045738B (en) * 2019-11-29 2023-12-29 RealMe重庆移动通信有限公司 Electronic equipment control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
JPH04209058A (en) 1992-07-30

Similar Documents

Publication Publication Date Title
KR940001273B1 (en) Micro-system and method controlling bus-cycle
KR100588790B1 (en) Method and apparatus for acting on subsequent command processing in data processor
US5053949A (en) No-chip debug peripheral which uses externally provided instructions to control a core processing unit
US4949241A (en) Microcomputer system including a master processor and a slave processor synchronized by three control lines
US5185864A (en) Interrupt handling for a computing system with logical devices and interrupt reset
US5717851A (en) Breakpoint detection circuit in a data processor and method therefor
US4630041A (en) Enhanced reliability interrupt control apparatus
US5319785A (en) Polling of I/O device status comparison performed in the polled I/O device
US6205509B1 (en) Method for improving interrupt response time
JPH0430053B2 (en)
US5815733A (en) System for handling interrupts in a computer system using asic reset input line coupled to set of status circuits for presetting values in the status circuits
JPH0332818B2 (en)
US5933613A (en) Computer system and inter-bus control circuit
JP2990800B2 (en) Interrupt processing device
KR920002830B1 (en) Direct memory access controller
JPH08241199A (en) Data-processing system
JPH08171504A (en) Emulation device
JPH09167117A (en) Microcomputer and real time system using the microcomputer
JP2616542B2 (en) Pseudo failure generation system
JPS61241833A (en) Instruction code access controller
JPH05108476A (en) Main storage controller
JP2560312B2 (en) Information processing system
JPS59123933A (en) Address comparison system
JPH04266147A (en) Bus adaptor device
JPH066358A (en) Token control method and its equipment