JPS6237760A - Interruption processing system for computer - Google Patents
Interruption processing system for computerInfo
- Publication number
- JPS6237760A JPS6237760A JP17560586A JP17560586A JPS6237760A JP S6237760 A JPS6237760 A JP S6237760A JP 17560586 A JP17560586 A JP 17560586A JP 17560586 A JP17560586 A JP 17560586A JP S6237760 A JPS6237760 A JP S6237760A
- Authority
- JP
- Japan
- Prior art keywords
- register
- interruption
- output
- interrupt
- cpu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Bus Control (AREA)
Abstract
Description
【発明の詳細な説明】
従来のコンピュータシステムにおける割込処理方式は、
割込入力に特別なアドレスは割付けられておらず、周辺
機器内に存するステータスレジスタの中に割込の7ラグ
を持っているだけであった。[Detailed Description of the Invention] The interrupt processing method in the conventional computer system is as follows:
No special addresses were assigned to the interrupt inputs, just 7 lags of interrupts in status registers residing within the peripheral.
このため、中央処理装置(以下CPUと称丁)の割込入
力に数糧類の割込要求線がORされて入力されている場
合、割込のプログラムの最初でどのソースからの割込か
を調べるときに、各ソースのステータスレジスタを順に
読んで判定しなければならなかった。また、CPUが割
込をマスクしていてセーリングによって処理を行う場合
についてもステータスレジスタの内容を個別的に読んで
処理することとしていた。いずれにしても、このように
いずれの周辺機器からの割込要求かを調べるためにCP
Uはそのための処理時間を占有されることとなり、この
間他の実行処理を行うことができない。したがって、処
理時間が長くなるという問題があった。For this reason, if several interrupt request lines are ORed and input to the interrupt input of the central processing unit (hereinafter referred to as CPU), at the beginning of the interrupt program, it is difficult to determine which source the interrupt is coming from. When examining a source, the status register of each source had to be read in order to make a determination. Furthermore, even when the CPU masks interrupts and performs processing by sailing, the contents of the status register are individually read and processed. In any case, in order to find out which peripheral device the interrupt request came from, the CP
U will occupy the processing time for this, and will not be able to perform any other execution processing during this time. Therefore, there is a problem that the processing time becomes long.
したがって本発明の目的とするところは、割込要求の判
定時間を短か(することによってコンピュータの処理時
間の短縮化を図ることにある。Therefore, it is an object of the present invention to shorten the time required to determine an interrupt request, thereby shortening the processing time of a computer.
上記目的を達成するための本発明の要旨とするところは
、中央処理装置の外部に設けられた複数個の周辺機器の
割込要求信号をまとめて記憶するレジスタを用意し、こ
のレジスタにアドレスを割り付けるとともに、データバ
スと接続することによって中央処理装置にお(・て周辺
機器の割込要求の状態を一括して読むことができるよう
にしたことを特徴とするものである。The gist of the present invention to achieve the above object is to prepare a register that collectively stores interrupt request signals of a plurality of peripheral devices provided outside a central processing unit, and to assign an address to this register. It is characterized in that it is possible to read the status of interrupt requests of peripheral devices all at once by assigning them to the central processing unit and connecting them to the data bus.
以下実施例にそって図面を参照し本発明を具体的に説明
する。The present invention will be specifically described below along with examples and with reference to the drawings.
第1図は本発明の割込処理方式の要部を説明するための
ブロック線図を含む回路図である。同図に示すように中
央処理装置(CPU)1と、これカラ伸びるデータバス
と、このデータバスに入出カラインが接続される8個の
周辺機器工100〜工107と、この周辺機器の割込要
求信号をそれぞれ記憶するための8ビツトのレジスタR
+(r。FIG. 1 is a circuit diagram including a block diagram for explaining the main parts of the interrupt processing method of the present invention. As shown in the figure, there is a central processing unit (CPU) 1, a data bus that stretches out, eight peripheral devices 100 to 107 to which input/output lines are connected to this data bus, and interrupts of these peripheral devices. 8-bit register R for storing each request signal
+(r.
〜ry)と、このレジスタのそれぞれの出力を8人力と
するORゲート回路Gl とを有し、上記レジスタにア
ドレスを割り付け、データバスに接続するようにしてな
る。~ry) and an OR gate circuit Gl which outputs each of the registers in eight outputs, and addresses are assigned to the registers and connected to the data bus.
本発明は、上記のように、各I10機器からの割込要求
を一本のレジスタにまとめて、このレジスタにアドレス
を割り付け、データバスと接続することとしたから、C
PUは各I10機器からの割込要求の状態を一度に読む
ことができる。また、CPUへの割込要求線にアドレス
を割り付けることによって、CPUが割込みをマスクし
ておいてツーリングによってサービスをする場合にも、
この要求線の状態を読む事によって周辺からの要求があ
るか否かをも容易に判定できるものとなる。As described above, the present invention collects interrupt requests from each I10 device into one register, assigns an address to this register, and connects it to the data bus.
The PU can read the status of interrupt requests from each I10 device at once. Also, by assigning an address to the interrupt request line to the CPU, when the CPU masks interrupts and services them by touring,
By reading the state of this request line, it can be easily determined whether there is a request from the surrounding area.
上記後者の効果を説明するための具体的回路の一例を第
2図に示した。同図は、中央処理装置1と、データバス
と、このデータバス罠入出カライン!。−27が接続さ
れる周辺機器l100〜l107と、このI10機器の
割込要求信号が記憶される第1のレジスタR7(r、−
r7 )と、このレジスタをデータバスに接続するライ
ン、eや□と、このレジスタの出力が印加されるORゲ
ート回路G、とかもなる。さらに、CPU内部の割込要
求処理部分は、上記ORゲート回路G、の出力とイネー
ブル信号E、が印加されるANDゲート回路回路−び、
他の機器からの割込要求信号T。FIG. 2 shows an example of a specific circuit for explaining the latter effect. The figure shows the central processing unit 1, the data bus, and this data bus trap input/output line! . -27 is connected to peripheral devices l100 to l107, and a first register R7 (r, -
r7), a line connecting this register to the data bus, e and □, and an OR gate circuit G to which the output of this register is applied. Furthermore, the interrupt request processing portion inside the CPU includes an AND gate circuit circuit to which the output of the OR gate circuit G and the enable signal E are applied;
Interrupt request signal T from another device.
〜T、とイネーブル信号E1〜E、とが印加されるAN
Dゲート回路G!〜G、と、これらのANDゲート回路
回路−G、の出力を記憶する@2のレジスタR,(r、
〜r1、)と、このレジスタの出力と主イネーブル信号
MEを2の入力とするANDゲート回路回路−G1等を
有し、上記第2のレジスタ群にアドレスを割付けるとと
もに、ラインJ33□を介してデータバスに接続するも
のである。AN to which ~T, and enable signals E1~E are applied.
D gate circuit G! The register R, (r,
~ r1, ), and an AND gate circuit G1, etc., which takes the output of this register and the main enable signal ME as two inputs, and assigns an address to the second register group, and also connects the register via line J33□. and connects to the data bus.
以上のように、上記実施例では、外部のI10機器から
の割込要求を一本のレジスタにまとめ、このレジスタに
特定のアドレスを割付けである。As described above, in the above embodiment, interrupt requests from external I10 devices are collected into one register, and a specific address is assigned to this register.
このため、CPUはゲート回路G、の出力を処理するサ
ービスルーチンの中でレジスタの状態を読むだけで、ど
のI10機器からの割込があったかを判定できろ。また
、CPU内部にも各割込要因のフラグを1つのレジスタ
にまとめてあり、それにアドレスを割付けであるので、
CPUが割込を使用しないで(割込をマスクしておく)
バーリングによってサービスを行う場合にも各I10機
器等からの要求を簡単な手順によって調べることができ
るものとなる。Therefore, the CPU can determine from which I10 device an interrupt has occurred by simply reading the status of the register in the service routine that processes the output of the gate circuit G. Also, the flags for each interrupt factor are grouped into one register inside the CPU, and addresses are assigned to it, so
CPU does not use interrupts (interrupts are masked)
Even when a service is performed by barring, requests from each I10 device etc. can be checked by a simple procedure.
本発明は、多くの割込要因を持ったコンピュータに広(
利用できる。The present invention is applicable to computers with many interrupt factors (
Available.
今回面の簡単な説明
第1図は本発明の概略説明のためのブロック線図を含む
回路図、第2図は本発明の具体的実施例の一例を説明す
る゛ためのブロック線図を含む回路図である。Brief Explanation of this Presentation Figure 1 is a circuit diagram including a block diagram for a general explanation of the present invention, and Figure 2 is a block diagram for explaining an example of a specific embodiment of the present invention. It is a circuit diagram.
1・・・CPU、工100〜l107・・・周辺機器、
01〜G、・・・ゲート回路、2゜〜ぷア 、2R□。1...CPU, engineering 100-l107...peripheral equipment,
01~G,...Gate circuit, 2°~Poor, 2R□.
−e3□・・・入出カライン、R,、R,・・・レジス
タ。-e3□...Input/output line, R,, R,...Register.
、−\,-\
Claims (1)
を記憶するレジスタを備え、上記レジスタにアドレスを
割り付けるとともに、上記中央処理装置のデータバスラ
インと上記レジスタとを接続することによって上記中央
処理装置が上記データバスラインを介して割込要求の状
態を一括して読むことができるようにしたことを特徴と
するコンピュータの割込処理方式。1. A register provided outside the central processing unit that stores a plurality of interrupt request signals is provided, and an address is assigned to the register, and the data bus line of the central processing unit and the register are connected. An interrupt processing method for a computer, characterized in that a processing device can read the states of interrupt requests all at once via the data bus line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17560586A JPS6237760A (en) | 1986-07-28 | 1986-07-28 | Interruption processing system for computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17560586A JPS6237760A (en) | 1986-07-28 | 1986-07-28 | Interruption processing system for computer |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1711077A Division JPS6046748B2 (en) | 1977-02-21 | 1977-02-21 | Computer interrupt processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6237760A true JPS6237760A (en) | 1987-02-18 |
Family
ID=15999014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP17560586A Pending JPS6237760A (en) | 1986-07-28 | 1986-07-28 | Interruption processing system for computer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6237760A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7266630B2 (en) | 2002-12-16 | 2007-09-04 | Matsushita Electric Industrial Co., Ltd. | CPU contained LSI |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5138941A (en) * | 1974-09-30 | 1976-03-31 | Hitachi Ltd |
-
1986
- 1986-07-28 JP JP17560586A patent/JPS6237760A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5138941A (en) * | 1974-09-30 | 1976-03-31 | Hitachi Ltd |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7266630B2 (en) | 2002-12-16 | 2007-09-04 | Matsushita Electric Industrial Co., Ltd. | CPU contained LSI |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5099414A (en) | Interrupt handling in a multi-processor data processing system | |
JPS62243058A (en) | Control method of interruption for multi-processor system | |
JPH0250753A (en) | Interrupt processing apparatus and method for computer | |
GB2216306A (en) | Load and synchronize computer architecture and process | |
JPS6046748B2 (en) | Computer interrupt processing method | |
JPS6237760A (en) | Interruption processing system for computer | |
EP1193607B1 (en) | Apparatus and method for the exchange of signal groups between a plurality of components in a digital signal processor having a direct memory access controller | |
JPS58169661A (en) | Data processing system | |
JP2972557B2 (en) | Data transfer control device and control method | |
JP3982077B2 (en) | Multiprocessor system | |
JPS62152064A (en) | Single-chip microcomputer | |
JPS6240565A (en) | Memory control system | |
JP2586074B2 (en) | Data processing device | |
JPH07120343B2 (en) | Multiprocessor system | |
JPS6022264A (en) | Data processor | |
JPH06161951A (en) | Bus control system | |
JPS6041786B2 (en) | interrupt control system | |
JPS62221062A (en) | Single chip microcomputer | |
JPS6348994A (en) | System bus control circuit | |
JPS61269545A (en) | Computer system | |
JPH0375832A (en) | Virtual machine control system | |
JPS62150459A (en) | Single chip microcomputer | |
JPS63231669A (en) | Transmission system for data | |
JPS5836380B2 (en) | Direct memory access method in multiprocessor systems | |
JPS61107460A (en) | Multiprocessor system |