JPS63145538A - Data processor - Google Patents
Data processorInfo
- Publication number
- JPS63145538A JPS63145538A JP29271386A JP29271386A JPS63145538A JP S63145538 A JPS63145538 A JP S63145538A JP 29271386 A JP29271386 A JP 29271386A JP 29271386 A JP29271386 A JP 29271386A JP S63145538 A JPS63145538 A JP S63145538A
- Authority
- JP
- Japan
- Prior art keywords
- mask
- flag
- request signal
- interrupt request
- interruption
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000005452 bending Methods 0.000 description 13
- 238000001514 detection method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/24—Handling requests for interconnection or transfer for access to input/output bus using interrupt
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、割り込み要因をマスクする機能を有するデ
ータ処理装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing device having a function of masking interrupt factors.
(従来の技術)
第2図は、例えば三菱電機発行の「三菱ワンチップ8ビ
ツトCMOSマイクロコンピュータハードウェア ユー
ザーズマニュアル MELPS740」に示された従来
のデータ処理装置の構成を示す図である。(Prior Art) FIG. 2 is a diagram showing the configuration of a conventional data processing device as shown in, for example, "Mitsubishi One Chip 8-bit CMOS Microcomputer Hardware User's Manual MELPS740" published by Mitsubishi Electric.
この図において、1はデータ処理装置、2〜4は外部要
因または内部要因によって発生した割り込み要求信号、
5〜7はインタラプトマスクフラグ、8はクローバルな
割り込み要求信号、9〜11は前記インタラプトマスク
フラグ5〜7の状態によって決定されたマスク機能検査
後の割り込み要求信号である。In this figure, 1 is a data processing device, 2 to 4 are interrupt request signals generated by external or internal factors,
5 to 7 are interrupt mask flags, 8 is a global interrupt request signal, and 9 to 11 are interrupt request signals after the mask function test determined by the states of the interrupt mask flags 5 to 7.
次に動作について説明する。Next, the operation will be explained.
例えば、データ処理装置1にアクティブな割り込み要求
信号2が人力されると、インタラプトマスクフラグ5の
状態によってマスク機能検査後の割り込み要求信号9の
状態が変化する。すなわち、インタラプトマスクフラグ
5がマスク状態にあると、割り込み要求信号9にはアク
ティブな割り込み要求信号は発生しないし、逆にインタ
ラプトマスクフラグ5がマスク状態にない場合は、割り
込み要求信号9にはアクティブな割り込み要求信号が発
生する。そして、割り込み要求信号9にアクティブな割
り込み要求信号が発生すると、クローバルな割り込み要
求信号8にアクティブな割り込み要求信号が発生する。For example, when an active interrupt request signal 2 is manually input to the data processing device 1, the state of the interrupt request signal 9 after the mask function test changes depending on the state of the interrupt mask flag 5. That is, when the interrupt mask flag 5 is in the masked state, no active interrupt request signal is generated in the interrupt request signal 9, and conversely, when the interrupt mask flag 5 is not in the masked state, no active interrupt request signal is generated in the interrupt request signal 9. An interrupt request signal is generated. When an active interrupt request signal is generated in the interrupt request signal 9, an active interrupt request signal is generated in the global interrupt request signal 8.
上記のような従来のデータ処理装置は、以上のように構
成されているので、例えばインタラプトマスクフラグ5
がマスク状態のためにマスク機能検査後の割り込み要求
信号9がマスクされている場合に、マスク状態によって
一時保留になっている割り込み要求信号2の有無を調査
する方法がないという問題点があった。Since the conventional data processing device described above is configured as described above, for example, the interrupt mask flag 5
When the interrupt request signal 9 after the mask function test is masked due to the masked state, there is a problem in that there is no way to check whether there is an interrupt request signal 2 that is temporarily suspended due to the masked state. .
この発明は、かかる問題点を解決するためになされたも
ので、マスク機能によって一時保留されている割り込み
要求信号の有無を調査できるデータ処理装置を得ること
を目的とする。The present invention has been made to solve this problem, and an object of the present invention is to provide a data processing device that can check the presence or absence of an interrupt request signal that is temporarily suspended using a mask function.
この発明に係るデータ処理装置は、インタラプトマスク
フラグによって保留させられている割り込み要求信号の
有無を検出して出力する検出手段を備えたものである。A data processing device according to the present invention is provided with a detection means for detecting the presence or absence of an interrupt request signal held pending by an interrupt mask flag and outputting the detected signal.
この発明においては、検出手段によってインタラプトマ
スクフラグによって保留させられている割り込み要求信
号の有無が検出され、インタラブドベンディングフラグ
として出力される。In the present invention, the detecting means detects the presence or absence of an interrupt request signal held pending by the interrupt mask flag, and outputs the detected signal as an interrupted bending flag.
(実施例)
第1図はこの発明のデータ処理装置の一実施例の構成を
示す図である。この図において、第2図と同一符号は同
一部分を示し、12はマスク機能によって一時保留され
ている割り込み要求信号の有無を示すインタラブドベン
ディングフラグ、13はトライステートバッファ、14
は前記インタラブドベンディングフラグ12の読み出し
信号、15は前記読み出し信号14がアクティブのとき
に前記インタラブドベンディングフラグ12の内容を示
す出力信号である。16は保留されている割り込み要求
信号の有無の検出手段としてのインタラブドベンディン
グフラグ検出手段で、トライステートバッファ13.イ
ンバータ16a〜16c、アンドゲート16d〜16f
およびオアゲート16gとから構成され、読み出し信号
14によってその出力が制御されている。(Embodiment) FIG. 1 is a diagram showing the configuration of an embodiment of a data processing apparatus of the present invention. In this figure, the same reference numerals as in FIG. 2 indicate the same parts, 12 is an interwoven bending flag indicating the presence or absence of an interrupt request signal temporarily suspended by the mask function, 13 is a tri-state buffer, and 14
is a read signal of the interwoven bending flag 12, and 15 is an output signal indicating the contents of the interwoven bending flag 12 when the read signal 14 is active. Reference numeral 16 denotes an interwoven bending flag detection means as a means for detecting the presence or absence of a pending interrupt request signal, and a tri-state buffer 13 . Inverters 16a-16c, AND gates 16d-16f
and an OR gate 16g, the output of which is controlled by the read signal 14.
次に動作について説明する。Next, the operation will be explained.
データ処理装置1の割り込み要求信号2〜4にアクティ
ブな割り込み要求信号が人力されたときに、各割り込み
要求信号に対応したインタラプトマスクフラグ5〜7が
マスク状態にあると、マスク機能検査後の割り込み要求
信号9〜11がマスクされる。マスク機能検査後の割り
込み要求信号9〜11の中にマスク機能によって一時保
留になっている割り込み要求信号があると、インタラブ
ドベンディングフラグ検出手段16でインタラブドベン
ディングフラグ12が検出されセットされる。このイン
タラブドベンディングフラグ12は、割り込み要求信号
2〜4へのアクティブな割り込み要求信号が解除される
か、各割り込み要求信号2〜4に対応したインタラプト
マスクフラグ5〜7のマスク状態が解除されるまではセ
ットされている。このような状態でマスク機能によって
一時保留されている割り込み要求信号の有無を調査する
ためには、読み出し信号14をアクティブにし、インタ
ラブドベンディングフラグ12の内容をトライステート
バッファ13を介して出力信号15に出力する。When an active interrupt request signal is input to the interrupt request signals 2 to 4 of the data processing device 1, if the interrupt mask flags 5 to 7 corresponding to each interrupt request signal are in the masked state, the interrupt after the mask function check Request signals 9-11 are masked. If there is an interrupt request signal temporarily held on hold by the mask function among the interrupt request signals 9 to 11 after the mask function test, the interwoven bending flag detection means 16 detects and sets the interwoven bending flag 12. This interconnected bending flag 12 is activated when active interrupt request signals for interrupt request signals 2 to 4 are released, or when the masked state of interrupt mask flags 5 to 7 corresponding to each interrupt request signal 2 to 4 is released. It has been set up to. In order to check whether there is an interrupt request signal temporarily suspended by the mask function in such a state, the read signal 14 is activated and the contents of the interleaved bending flag 12 are sent to the output signal 15 via the tri-state buffer 13. Output to.
この発明は以上説明したとおり、インタラプトマスクフ
ラグによって保留させられている割り込み要求信号の有
無を検出して出力する検出手段を備えたので、検出手段
から出力されるインタラプトマスクフラグによって保留
させられている割り込み要求信号の有無の調査が可能に
なり、処理効率の高いデータ処理装置が得られるという
効果がある。As explained above, the present invention includes a detection means for detecting and outputting the presence or absence of an interrupt request signal that is held pending by the interrupt mask flag, so that the interrupt request signal is held pending by the interrupt mask flag output from the detection means. It is possible to check the presence or absence of an interrupt request signal, and there is an effect that a data processing device with high processing efficiency can be obtained.
第1図はこの発明のデータ処理装置の一実施例の構成を
示す図、第2図は従来のデータ処理装置の構成を示す図
である。
図において、1はデータ処理装置、2〜4は割り込み要
求信号、5〜7はインタラプトマスクフラグ、8はグロ
ーバルな割り込み要求信号、9〜11はマスク機能検査
後の割り込み要求信号、12はインタラブドベンディン
グフラグ、13はトライステートバッファ、14はイン
タラブドベンディングフラグの読み出し信号、15はイ
ンタラブドベンディングフラグの内容を示す出力信号、
16はインタラブドベンディングフラグ検出手段である
。
なお、各図中の同一符号は同一または相当部分を示す。
代理人 大 岩 増 雄 (外2名)第2図FIG. 1 is a diagram showing the configuration of an embodiment of a data processing apparatus according to the present invention, and FIG. 2 is a diagram showing the configuration of a conventional data processing apparatus. In the figure, 1 is a data processing device, 2 to 4 are interrupt request signals, 5 to 7 are interrupt mask flags, 8 is a global interrupt request signal, 9 to 11 are interrupt request signals after mask function check, and 12 is an interrupt request signal. Bending flag, 13 is a tri-state buffer, 14 is an interwoven bending flag read signal, 15 is an output signal indicating the contents of the interwoven bending flag,
Reference numeral 16 denotes an interwoven bending flag detection means. Note that the same reference numerals in each figure indicate the same or corresponding parts. Agent Masuo Oiwa (2 others) Figure 2
Claims (1)
信号を2個以上受け付ける機能を有し、かつ前記割り込
み要求信号の全部または一部を選択的にマスクするイン
タラプトマスクフラグを1個以上備えたデータ処理装置
において、前記インタラプトマスクフラグによって保留
させられている割り込み要求信号の有無を検出して出力
する検出手段を備えたことを特徴とするデータ処理装置
。In a data processing device that has a function of accepting two or more interrupt request signals generated by an external factor or an internal factor, and is provided with one or more interrupt mask flags that selectively mask all or part of the interrupt request signal. . A data processing device comprising: detecting means for detecting and outputting the presence or absence of an interrupt request signal held pending by the interrupt mask flag.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29271386A JPS63145538A (en) | 1986-12-09 | 1986-12-09 | Data processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29271386A JPS63145538A (en) | 1986-12-09 | 1986-12-09 | Data processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63145538A true JPS63145538A (en) | 1988-06-17 |
Family
ID=17785347
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP29271386A Pending JPS63145538A (en) | 1986-12-09 | 1986-12-09 | Data processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63145538A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007299128A (en) * | 2006-04-28 | 2007-11-15 | Nec Electronics Corp | Interrupt control circuit and interruption control method |
JP2012094152A (en) * | 2011-10-31 | 2012-05-17 | Renesas Electronics Corp | Multiprocessor system and interruption control method |
-
1986
- 1986-12-09 JP JP29271386A patent/JPS63145538A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007299128A (en) * | 2006-04-28 | 2007-11-15 | Nec Electronics Corp | Interrupt control circuit and interruption control method |
JP2012094152A (en) * | 2011-10-31 | 2012-05-17 | Renesas Electronics Corp | Multiprocessor system and interruption control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR900005311A (en) | Interrupt Control Device | |
JPS6243744A (en) | Microcomputer | |
JPS63145538A (en) | Data processor | |
KR910006855A (en) | Interrupt control circuit | |
JPS63159938A (en) | Data processor | |
KR930008577A (en) | Sleep Mode Circuit Unaffected by Timer Interrupts | |
JPS5864529A (en) | Input and output controller of computer system | |
JPS6249432A (en) | Input pulse integrating device | |
JPH04343147A (en) | Interrupt control method | |
JPS60142425A (en) | Scanning control system | |
JPH0495785A (en) | Semiconductor integrated circuit apparatus | |
JPH01276262A (en) | Dma device | |
KR910010346A (en) | Control system with power failure handling circuit | |
JPS63271512A (en) | Resetting circuit for plural central arithmetic processor | |
KR880011679A (en) | DMA Access Arbitration Device | |
JPS5723133A (en) | Priority interruption system | |
KR900010554A (en) | Congestion Monitoring Circuit of Microprocessor | |
JPH01113875A (en) | Image input device | |
KR910016150A (en) | Tri-state prevention logic | |
JPS60153355U (en) | Multi-CPU system control device | |
KR970016980A (en) | I maskable interrupt decision circuit | |
KR910021042A (en) | Timer system | |
KR910017298A (en) | Global memory control system of digital signal processor | |
JPH02130015A (en) | Semiconductor integrated circuit | |
JPH038782U (en) |