JPS63163655A - Interruption processor - Google Patents

Interruption processor

Info

Publication number
JPS63163655A
JPS63163655A JP31082986A JP31082986A JPS63163655A JP S63163655 A JPS63163655 A JP S63163655A JP 31082986 A JP31082986 A JP 31082986A JP 31082986 A JP31082986 A JP 31082986A JP S63163655 A JPS63163655 A JP S63163655A
Authority
JP
Japan
Prior art keywords
interruption
binary counter
address
data
output
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
JP31082986A
Other languages
Japanese (ja)
Inventor
Shugoro Ueno
上野 修五郎
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP31082986A priority Critical patent/JPS63163655A/en
Publication of JPS63163655A publication Critical patent/JPS63163655A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling 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)
  • Bus Control (AREA)

Abstract

PURPOSE:To reduce load applied to a microcomputer, by holding the output of a selection means when the interruption signal of an output means is enabled, and supplying the output value of the selection means as the prescribed address of the microcomputer. CONSTITUTION:Assuming that interruption is generated at the D1 input of a selector 3, an interruption line to a mu-COM1 becomes active ((L) level) only when the value of a binary counter 7 of 5 bits is set at 10,000 (order of QA-QE). After that, the outputs QA-QE of the binary counter 7 are held. Next, the mu-COM1 identifies the interruption line, and goes to an operation to read out the data of a vector address where a jump address is stored. At this time, a tri-state buffer 8 is enabled, and reads out the outputs QA-QE of the binary counter as the data, and jumps to an address based on the data, then, an interruption processing is executed. In this way, it is possible to minimize the processing time of the mu-COM.

Description

【発明の詳細な説明】 〔技術分野〕 本発明はマイクロコンピュータの割り込み処理装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to an interrupt processing device for a microcomputer.

(従来例) 従来この種の割り込み処理方式に於いては、μmC0M
への割り込みの数が複数の場合、μmC0Mへの一つの
割り込み入力に複数の割り込み要因をORL、て入力し
ていた。その為、割り込みの要因がどれであるかをソフ
トのポーリングにより識別することになる。その為、時
間を資す欠点があった。
(Conventional Example) Conventionally, in this type of interrupt processing method, μmC0M
When there are multiple interrupts to μmC0M, multiple interrupt factors are input to one interrupt input to μmC0M using ORL. Therefore, the cause of the interrupt must be identified by software polling. Therefore, there was a drawback that it was time consuming.

又μmC0Mの周辺チップとして割り込みコントローラ
が市販されているが、それらはせいぜい8人力であり、
それ以上の割り込み人力の場合はソフト、ハードの負荷
が大となった。
Also, interrupt controllers are commercially available as peripheral chips for μmC0M, but they require at most eight people to operate.
In the case of more manual interrupts than that, the load on software and hardware would be heavy.

(目 的) 本発明の目的は上述従来例の欠点を除去するとともにマ
イクロコンピュータにかかる負荷を軽減することにある
(Objective) The object of the present invention is to eliminate the drawbacks of the above-mentioned conventional example and to reduce the load placed on the microcomputer.

(実施例) 以下図面を参照して本発明の一実施例を詳細に説明する
(Example) An example of the present invention will be described in detail below with reference to the drawings.

第1図は本実施例の構成を示した図であり、尚、第1図
では32本の割り込み人力が有る場合を示す、、1はマ
イクロコンピュータ(μmC0M)、2はプログラムが
格納されているROM、3.4,5.6は各々割り込み
人力の8木のうち1木を出力する為のセレクター、7は
5bitsのバイナリカウンタである。
Fig. 1 is a diagram showing the configuration of this embodiment. Fig. 1 shows the case where there are 32 interrupts. 1 is a microcomputer (μmC0M), 2 is a program stored therein. ROMs 3.4 and 5.6 are selectors for outputting one of the 8 interrupt trees, respectively, and 7 is a 5-bit binary counter.

8はμmC0M 1がベクターアドレスをアクセスに行
った時にゲートを開くトライステートバッファである。
8 is a tri-state buffer whose gate is opened when μmC0M1 accesses a vector address.

つぎに上記構成に於いて、今セレクター3のD1人力に
割り込みが発生したとすると、μmC0M1への割り込
み線は5bitsのパイナリカウンタフの値が1000
0 (QA 、Qa 。
Next, in the above configuration, if an interrupt occurs in D1 of selector 3, the interrupt line to μmC0M1 has a 5-bit pinary counter value of 1000.
0 (QA, Qa.

QC,QD、QCの順)のときのみにアクティブ(L”
レベル)となる。その後バイナリカウンタ7は出力QA
〜、は保持される。
Active (L”) only when QC, QD, QC
level). After that, binary counter 7 outputs QA
~, is retained.

次にμmCOMIは割り込み線を識別し、飛び先番地の
格納されているベクタアドレスのデータを読み出しに行
く。この時トライステートバッファ8がイネーブルとな
り読み出しデータとして該バイナリカウンタの出力QA
〜、を読み出し、そのデータに基づいたアドレスヘジャ
ンプし割り込み処理を実行する。
Next, μmCOMI identifies the interrupt line and goes to read the data at the vector address where the jump destination address is stored. At this time, the tri-state buffer 8 is enabled and the output QA of the binary counter is read as read data.
..., jumps to the address based on the data, and executes interrupt processing.

以上説明したよう・に本実施例によれば、セレクタ、バ
イナリカウンタにより複数の割り込みを1木にし、ベク
ター・アドレスの内容をバイナリカウンタの値とする事
により、容易かつ安価に複数の割り込みを処理でき、μ
mC0Mの処理時間が最短にできる。
As explained above, according to this embodiment, multiple interrupts are combined into one tree using a selector and a binary counter, and multiple interrupts are processed easily and inexpensively by using the contents of the vector address as the value of the binary counter. Possible, μ
mC0M processing time can be minimized.

尚、本実施例はマイクロコンピュータによりデータの処
理又は各種動作機器の制御を行う場合に適用することが
できる。
Note that this embodiment can be applied to cases where a microcomputer processes data or controls various operating devices.

〔効 果) 以上の様に本発明によって割り込み処理時のマイクロコ
ンピュータにかかる負荷を軽減することが出来る。
[Effects] As described above, according to the present invention, the load placed on the microcomputer during interrupt processing can be reduced.

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

第1図は本実施例の構成を示した図である。 1はμmC0M、2はROM、3,4,5゜6はセレク
タ、7は5b t tsカウンタ、8はトライステート
バッファである。
FIG. 1 is a diagram showing the configuration of this embodiment. 1 is μmC0M, 2 is ROM, 3, 4, 5° 6 is a selector, 7 is a 5b t ts counter, and 8 is a tristate buffer.

Claims (1)

【特許請求の範囲】[Claims] 複数の割り込みを入力し1つの割り込み信号として出力
する手段と、上記出力手段への割り込みの入力を選択す
る為の選択手段を有し、上記出力手段の割り込み信号が
イネーブルになった時に上記選択手段の出力を保持し、
マイクロコンピュータの所定アドレスとして上記選択手
段の出力値を与える事を特徴とした割り込み処理装置。
It has means for inputting a plurality of interrupts and outputting them as one interrupt signal, and selection means for selecting the input of the interrupt to the output means, and when the interrupt signal of the output means is enabled, the selection means holds the output of
An interrupt processing device characterized in that the output value of the selection means is given as a predetermined address of a microcomputer.
JP31082986A 1986-12-26 1986-12-26 Interruption processor Pending JPS63163655A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31082986A JPS63163655A (en) 1986-12-26 1986-12-26 Interruption processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31082986A JPS63163655A (en) 1986-12-26 1986-12-26 Interruption processor

Publications (1)

Publication Number Publication Date
JPS63163655A true JPS63163655A (en) 1988-07-07

Family

ID=18009904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31082986A Pending JPS63163655A (en) 1986-12-26 1986-12-26 Interruption processor

Country Status (1)

Country Link
JP (1) JPS63163655A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58109958A (en) * 1981-12-23 1983-06-30 Hitachi Ltd Transmission controller in function decentralizing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58109958A (en) * 1981-12-23 1983-06-30 Hitachi Ltd Transmission controller in function decentralizing system

Similar Documents

Publication Publication Date Title
KR920010431A (en) Information processing device and information processing method using the same
JPH0454255B2 (en)
US5495588A (en) Programmable controller having joined relay language processor and general purpose processor
JPS63163655A (en) Interruption processor
JP2003058381A (en) Processor realizing exception processing setting by program
JPS6116334A (en) Data processor
JPS6367647A (en) Application equipment for microprocessor
JPS61282932A (en) Address counter control system
JPS60142744A (en) Multiple language processing system
JPS61151746A (en) Processing method of data error
KR870006484A (en) Process control method and apparatus using microprocessor
JPS6261149A (en) Interruption control system
JPS61157948A (en) Interrupt source analyzing device
JPH01311353A (en) Interruption control device
JPH04218806A (en) Sequence instruction processing circuit for programmable controller
JPH0581017A (en) Program processor
JPH05282162A (en) Interruption controller
JPS6226549A (en) Memory circuit
JPH0766032B2 (en) Test system
JPS61221854A (en) Circuit control system
JPH052472A (en) Arithmetic unit
JPH03139724A (en) Data processor
JPS62216036A (en) Program deciding system
JPH02151954A (en) Control device for program processing speed
JPS61231634A (en) Program counter circuit