JPH0478931A - Designated word interruption generating system - Google Patents

Designated word interruption generating system

Info

Publication number
JPH0478931A
JPH0478931A JP19417790A JP19417790A JPH0478931A JP H0478931 A JPH0478931 A JP H0478931A JP 19417790 A JP19417790 A JP 19417790A JP 19417790 A JP19417790 A JP 19417790A JP H0478931 A JPH0478931 A JP H0478931A
Authority
JP
Japan
Prior art keywords
interrupt
storage device
interrupt information
interruption information
information
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
JP19417790A
Other languages
Japanese (ja)
Inventor
Toshiaki Ono
大野 敏昭
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
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP19417790A priority Critical patent/JPH0478931A/en
Publication of JPH0478931A publication Critical patent/JPH0478931A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To cope with a high speed operation and simultaneous read-out of plural instruction words by providing an interruption information holding part in a storage device, and also, providing an interruption information setting means thereto, and an interruption information bus for connecting the interruption information setting means and a processor. CONSTITUTION:A storage device 12 is provided with a storage word holding part 122 for storing an instruction word, and an interruption information holding part 121 for holding interruption information of at least one bit, and an interruption information setting means 16 sets the interruption information to the interruption information holding part 121 in the storage device 12. Subsequently, an interruption information bus 14 writes the interruption information set by the interruption information setting means 16 into the interruption information holding part 121 in the storage device 12, and also, reads out the interruption information from its interruption information holding part 121 and supplies it to an external interruption terminal 111 of a processor 11. In such a way, it is possible to cope with the processor for executing read-out of an instruction word at a high speed, and also, the processor for executing simultaneous read- out of plural instruction words.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置におけるソフトウェアの開発環境
に関し、特に指定語割込み発生方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a software development environment for an information processing device, and particularly to a specified word interrupt generation method.

〔従来の技術〕[Conventional technology]

従来、この種の指定語割込み発生方式では、例えば第2
図に示すように、割込みを発生させるべく指定される命
令語(以下、指定語という)の記憶装置23内でのアド
レスを割込みアドレス設定手段24により割込みアトル
スハス28および割込みアドレス設定信号線29を介し
て割込みアドレスレジスタ25にあらかじめ登録し、プ
ロセッサ21が指定語を実行すべくアドレスバス26お
よびデータバス27を介して記憶装置23に指定語を読
みにいく際、アドレス比較器22がアドレスバス26上
のアドレスを割込みアドレスレジスタ25の内容と比較
し、一致した場合に外部割込み端子211からプロセッ
サ21に割込みを発生させる構成をとっている。
Conventionally, in this type of specified word interrupt generation method, for example, the second
As shown in the figure, the address in the storage device 23 of a command word (hereinafter referred to as a designated word) designated to generate an interrupt is set by the interrupt address setting means 24 via the interrupt address hash 28 and the interrupt address setting signal line 29. When the processor 21 reads the specified word to the storage device 23 via the address bus 26 and data bus 27 to execute the specified word, the address comparator 22 registers the specified word in the interrupt address register 25 in advance. The address is compared with the contents of the interrupt address register 25, and if they match, an interrupt is generated from the external interrupt terminal 211 to the processor 21.

ところで、近年、プロセッサの高速化に伴って命令語の
続出し時間および読出し間隔が短縮され、さらに複数の
命令語を同時に読み出すプロセ、すも使用されるように
なってきた。
Incidentally, in recent years, as the speed of processors has increased, the time for successive instruction words and the read interval have been shortened, and processes that read a plurality of instruction words simultaneously have also come to be used.

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

上述した従来の指定語割込み発生方式では、割込みアド
レス設定手段24により割込みアドレスレジスタ25に
あらかしめ設定された指定語のアドレスとアドレスバス
26上のアドレスとを逐一比較する必要があったので、
高速化されたプロセ、7すの命令語の読出し時間および
読出し間隔に対応するのが困難になるという欠点がある
In the conventional specified word interrupt generation method described above, it was necessary to compare the specified word address preliminarily set in the interrupt address register 25 by the interrupt address setting means 24 and the address on the address bus 26 point by point.
There is a drawback that it becomes difficult to cope with the speed-up of the process and the readout time and readout interval of seven instruction words.

また、複数の命令語を同時に読み出すプロセ。Also, a process that reads multiple instruction words at the same time.

すでは、命令語のアドレスは先頭の一語に対応するアド
レスのみが出力される場合がほとんどであるので、命令
語のアドレスの比較により割込みを発生させようとする
と、先頭アドレスから順次加算によって複数のアドレス
を発生させて全てを比較する必要があり、高速化された
プロセ・7すの読出し時間および読出し間隔に対応する
のがますます困難になるという欠点がある。
In most cases, only the address corresponding to the first word of the instruction word is output, so if you try to generate an interrupt by comparing the addresses of the instruction word, multiple addresses will be output by sequential addition starting from the first address. The disadvantage is that it becomes increasingly difficult to accommodate the readout times and readout intervals of faster processes.

本発明の目的は、上述の点に鑑み、比較的単純なハード
ウェア構成で指定語での割込みの発生が可能となり、命
令語の読出しを高速に行うプロセッサおよび複数の命令
語の同時読出しを行うプロセッサにも対応できるように
した指定語割込み発生方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to enable generation of an interrupt at a specified word with a relatively simple hardware configuration, to provide a processor that reads an instruction word at high speed, and to read a plurality of instruction words simultaneously. The purpose of the present invention is to provide a specified word interrupt generation method that can also be used with processors.

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

本発明の指定語割込み発生方式は、外部割込み端子を有
するプロセッサと命令語を記憶する記憶装置とを備え、
この記憶装置内に蓄積された命令語を前記プロセッサが
逐次実行する情報処理装置において、命令語を記憶する
記憶語保持部と少なくとも1ビツトの割込み情報を保持
する割込み情報保持部とを備える前記記憶装置と、この
記憶装置内の割込み情報保持部に割込み情報を設定する
割込み情報設定手段と、この割込み情報設定手段により
設定された割込み情報を前記記憶装置内の割込み情報保
持部に書き込むとともに前記記憶装置内の割込み情報保
持部から割込み情報を読み出して前記プロセッサの外部
割込み端子に供給する割込み情報バスとを有する。
The specified word interrupt generation method of the present invention includes a processor having an external interrupt terminal and a storage device for storing instruction words,
In the information processing device in which the processor sequentially executes instruction words stored in this storage device, the memory comprises a memory word holding section for storing instruction words and an interrupt information holding section for holding at least 1 bit of interrupt information. an interrupt information setting means for setting interrupt information in an interrupt information holding section in the storage device; and an interrupt information setting means for setting interrupt information in an interrupt information holding section in the storage device; and an interrupt information bus that reads interrupt information from an interrupt information holding section within the device and supplies it to an external interrupt terminal of the processor.

〔作用〕[Effect]

本発明の指定語割込み発生方式では、記憶装置が命令語
を記憶する記憶語保持部と少なくともlビ、トの割込み
情報を保持する割込み情報保持部とを備え、割込み情報
設定手段が記憶装置内の割込み情報保持部に割込み情報
を設定し、割込み情報バスが割込み情報設定手段により
設定された割込み情報を記憶装置内の割込み情報保持部
に書き込むとともに記憶装置内の割込み情報保持部から
割込み情報を読み出してプロセッサの外部割込み端子に
供給する。
In the specified word interrupt generation method of the present invention, the storage device includes a storage word holding section for storing instruction words and an interrupt information holding section for holding at least l bits of interrupt information, and the interrupt information setting means is provided in the storage device. The interrupt information bus writes the interrupt information set by the interrupt information setting means to the interrupt information holding section in the storage device, and also reads the interrupt information from the interrupt information holding section in the storage device. Read and supply to the external interrupt pin of the processor.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例に係る指定語割込み発生方
式が適用された情報処理装置の構成を示す回路ブロック
図である。この情報処理装置は、記憶装置12に記憶語
保持部122に記憶された各命令語に対して1ビツトの
割込み情報を保持する割込み情報保持部121を追加し
た場合の例であり、外部割込み端子111を備えるプロ
セッサ11と、割込み情報保持部121および記憶語保
持部122を備える記憶装置12と、プロセッサ11お
よび記憶装置12間を接続するデータバス13と、プロ
センサ11.記憶装置12および割込み情報設定手段1
6間を接続する割込み情報ハス14と、プロセッサ11
.記憶装置12および割込み情報設定手段16間を接続
するアドレスバス15と、割込み情報設定手段16とか
ら構成されている。
FIG. 1 is a circuit block diagram showing the configuration of an information processing apparatus to which a specified word interrupt generation method according to an embodiment of the present invention is applied. This information processing device is an example in which an interrupt information holding unit 121 that holds 1-bit interrupt information for each instruction word stored in a memory word holding unit 122 is added to the storage device 12, and an external interrupt terminal 111; a storage device 12 including an interrupt information holding section 121 and a memory word holding section 122; a data bus 13 connecting the processor 11 and the storage device 12; Storage device 12 and interrupt information setting means 1
6 and the processor 11.
.. It is composed of an address bus 15 that connects the storage device 12 and the interrupt information setting means 16, and an interrupt information setting means 16.

プロセッサ11は、外部割込み端子111に値“1”が
入力されたときに割込みを発生させるものとする。
It is assumed that the processor 11 generates an interrupt when the value "1" is input to the external interrupt terminal 111.

割込み情報保持部121は、割込み情報バス14を介し
て割込み情報が読み書きされるようになっている。なお
、割込み情報保持部121の割込み情報は、初期値とし
て値“0”になっているものとする。
The interrupt information holding unit 121 is configured to read and write interrupt information via the interrupt information bus 14 . It is assumed that the interrupt information in the interrupt information holding unit 121 has a value of "0" as an initial value.

次に、このように構成された本実施例のI旨定語割込み
発生方式の動作について説明する。
Next, the operation of the I-order categorical interrupt generation method of this embodiment configured as described above will be explained.

まず、割込み情報設定手段16を用いて、指定語の記憶
装置12内でのアドレスをアドレスバス15に与えると
と同時に、値“1”の割込み情報を割込み情報ハス14
に与える。
First, using the interrupt information setting means 16, the address of the designated word in the storage device 12 is given to the address bus 15, and at the same time, interrupt information with a value "1" is sent to the interrupt information lot 14.
give to

すると、記憶装置12の記憶語保持部122に保持され
た該当するアドレスの指定語に対応して割込み情報保持
部121に値“1”の割込み情報が設定される。
Then, interrupt information with a value of "1" is set in the interrupt information holding section 121 corresponding to the specified word of the corresponding address held in the memory word holding section 122 of the storage device 12.

いま、例えば第3図に示すように、アドレスnの指定語
”1nst  n”に対応して割込み情報として値“1
”が設定されたものとする。
Now, for example, as shown in FIG.
” is set.

次に、プロセッサ11が記憶装置12の記憶語保持部1
22に蓄積された命令語またはデータをアドレスバス1
5を介してアドレス指定し、データバス13を介して命
令語またはデータを読み出して実行する処理を開始する
Next, the processor 11 executes the memory word holding unit 1 of the storage device 12.
The instruction word or data stored in 22 is transferred to address bus 1.
5, and reads and executes a command word or data via the data bus 13.

例えば、第3図に示すように、プロセッサ11がアドレ
ス(n−1)の命令語を実行すべくアドレスバス15を
介して記憶装置12にアドレス(n−1)を送って命令
語”1nstn−1”をデータバス13に読み出すと、
これと同時にアドレス(n−1)の割込み情報の値“O
”が割込み情報ハス14に読み出されるが、割込み情報
ノ\スX4に読み出された割込み情報の値が“0”であ
るので、プロセッサ11は割込みを発生させることはな
い。
For example, as shown in FIG. 3, the processor 11 sends the address (n-1) to the storage device 12 via the address bus 15 in order to execute the instruction word at the address (n-1), and the instruction word "1nstn- 1” to the data bus 13,
At the same time, the interrupt information value of address (n-1) is “O”.
” is read out to the interrupt information lot 14, but since the value of the interrupt information read out to the interrupt information no.\x4 is “0”, the processor 11 does not generate an interrupt.

次に、プロセッサ1】がアドレスnの命令語を実行すべ
くアドレスバス15を介して記憶装置]2にアドレスn
を送って命令語” I n S L  nをデータバス
13に読み出すと、これと同時にアドレスnの割込み情
報の値“1”が割込み情報ノ\ス14に読み出される。
Next, in order to execute the instruction word at address n, processor 1] transfers address n to storage device ]2 via address bus 15.
When the instruction word "I n S L n" is read out onto the data bus 13, the value "1" of the interrupt information at address n is read out into the interrupt information node 14 at the same time.

割込み情報バス14に読み出された割込み情報の値“1
”は、外部割込み端子111に人力され、プロセッサ1
1は割込みを発生する。
The value of the interrupt information read to the interrupt information bus 14 is “1”
” is manually input to the external interrupt terminal 111 and the processor 1
1 generates an interrupt.

ところで、プロセッサ11が命令語を2語同時に読み出
すプロセッサである場合、例えば第4図に示すように、
記憶装置12に割込み情報の論理和回路124を導入し
、2語の命令語に対応する割込み情報、例えばアドレス
(n−1)およびアドレスnの割込み情報を論理和をと
ってから割込み情報バス14を介してプロセッサ11の
外部割込み端子111に入力することで、第1図に示し
た実施例の場合と同様に対応することができる。
By the way, if the processor 11 is a processor that reads two instruction words at the same time, for example, as shown in FIG.
An interrupt information logical sum circuit 124 is introduced into the storage device 12, and the interrupt information corresponding to two instruction words, for example, the interrupt information of address (n-1) and address n, is logically summed and then output to the interrupt information bus 14. By inputting the interrupt signal to the external interrupt terminal 111 of the processor 11 via the .

プロセッサ11が同時に読み出す命令語が3語以上の場
合であっても同様である。
The same applies even if the processor 11 reads three or more instruction words at the same time.

なお、上記実施例では、割込み情報を1ビ、ットとした
場合を例にとって説明したが、論理的な誤動作等を避け
るために割込み情報を2ビツト以上にしても、本発明が
同様に適用可能であることはいうまでもない。
In the above embodiment, the case where the interrupt information is 1 bit is explained as an example, but the present invention can be similarly applied even if the interrupt information is 2 bits or more to avoid logical malfunctions. It goes without saying that it is possible.

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

以上説明したように本発明は、記憶装置に少なくとも1
ビツトの割込み情報を保持する割込み情報保持部を設け
るとともに、割込み情報保持部に割込み情報を設定する
割込み情報設定手段と割込み情報設定手段およびプロセ
ッサの外部割込み端子に接続された割込み情報ハスとを
設けたことにより、比較的単純なハードウェア構成で指
定語での割込みの発生が可能となり、命令語のアドレス
の比較を逐−行う必要がないので、高速化されたプロセ
ッサの命令語の読出し時間および読出し間隔にも対応す
ることができる効果がある。
As explained above, the present invention provides at least one
In addition to providing an interrupt information holding section that holds interrupt information of bits, an interrupt information setting means for setting interrupt information in the interrupt information holding section and an interrupt information lot connected to the interrupt information setting means and an external interrupt terminal of the processor are provided. As a result, it is possible to generate an interrupt at a specified word with a relatively simple hardware configuration, and there is no need to compare the addresses of instruction words one by one. This has the effect of being able to accommodate the reading interval.

また、複数の命令語を同時に読み出すプロセ。Also, a process that reads multiple instruction words at the same time.

すに対しても容易に割込みの発生を設定することが可能
となる効果がある。
This has the effect that it is possible to easily set the occurrence of interrupts even for applications.

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

第1図は本発明の一実施例に係る指定語割込み発生方式
が適用された情報処理装置の構成を示す回路ブロック図
、 第2図は従来の指定語割込み発生方式の一例を示す回路
ブロック図、 第3図は第1図中の記憶装置内の記憶例を示す図、 第4図は本実施例の指定語割込み発生方式における2命
令同時読出し時の記憶装置内の構成を例示する図である
。 図において、 1 l ・ 12 ・ 13 ・ 14 ・ 15 ・ ・プロセッサ、 記憶装置、 ・データバス、 ・割込み情報バス、 ・アドレスバス、 ・割込み情報設定手段、 ・外部割込み端子、 ・割込み情報保持部、 ・記憶語保持部、 ・論理和回路である。
FIG. 1 is a circuit block diagram showing the configuration of an information processing device to which a specified word interrupt generation method according to an embodiment of the present invention is applied, and FIG. 2 is a circuit block diagram showing an example of a conventional specified word interrupt generation method. , FIG. 3 is a diagram showing an example of storage in the storage device in FIG. 1, and FIG. 4 is a diagram illustrating the configuration in the storage device when two instructions are read simultaneously in the specified word interrupt generation method of this embodiment. be. In the figure, 1 l · 12 · 13 · 14 · 15 · Processor, Storage device, · Data bus, · Interrupt information bus, · Address bus, · Interrupt information setting means, · External interrupt terminal, · Interrupt information holding unit,・Memory word holding unit, ・OR circuit.

Claims (1)

【特許請求の範囲】 外部割込み端子を有するプロセッサと命令語を記憶する
記憶装置とを備え、この記憶装置内に蓄積された命令語
を前記プロセッサが逐次実行する情報処理装置において
、 命令語を記憶する記憶語保持部と少なくとも1ビットの
割込み情報を保持する割込み情報保持部とを備える前記
記憶装置と、 この記憶装置内の割込み情報保持部に割込み情報を設定
する割込み情報設定手段と、 この割込み情報設定手段により設定された割込み情報を
前記記憶装置内の割込み情報保持部に書き込むとともに
前記記憶装置内の割込み情報保持部から割込み情報を読
み出して前記プロセッサの外部割込み端子に供給する割
込み情報バスとを有することを特徴とする指定語割込み
発生方式。
[Scope of Claims] An information processing device comprising a processor having an external interrupt terminal and a storage device for storing instruction words, wherein the processor sequentially executes instruction words stored in the storage device, the information processing device storing the instruction words. the storage device comprising a memory word storage section for storing interrupt information and an interrupt information storage section for storing at least one bit of interrupt information; an interrupt information setting means for setting interrupt information in the interrupt information storage section in the storage device; an interrupt information bus for writing the interrupt information set by the information setting means into an interrupt information holding section in the storage device, reading the interrupt information from the interrupt information holding section in the storage device, and supplying the read interrupt information to an external interrupt terminal of the processor; A specified word interrupt generation method characterized by having the following.
JP19417790A 1990-07-23 1990-07-23 Designated word interruption generating system Pending JPH0478931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19417790A JPH0478931A (en) 1990-07-23 1990-07-23 Designated word interruption generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19417790A JPH0478931A (en) 1990-07-23 1990-07-23 Designated word interruption generating system

Publications (1)

Publication Number Publication Date
JPH0478931A true JPH0478931A (en) 1992-03-12

Family

ID=16320215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19417790A Pending JPH0478931A (en) 1990-07-23 1990-07-23 Designated word interruption generating system

Country Status (1)

Country Link
JP (1) JPH0478931A (en)

Similar Documents

Publication Publication Date Title
JP2776132B2 (en) Data processing system with static and dynamic masking of information in operands
US4835684A (en) Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus
JPH0414385B2 (en)
JPH05324348A (en) Single chip microcomputer
JPH0478931A (en) Designated word interruption generating system
JPH08249267A (en) DMA controller
JPS6285343A (en) Memory reading-out circuit
JPH0283736A (en) OSC detection method of buffer storage controller
JPS59197946A (en) Memory device
JPH0567035A (en) Data alignment method in DMA transfer
JP2847729B2 (en) Information processing device
JPS62221059A (en) Central processing unit
JPH0547867B2 (en)
JPH01175045A (en) Address match detecting method
JPH01265346A (en) Semiconductor integrated circuit
JP2693598B2 (en) Program execution controller for digital signal processor
JPS61260340A (en) Block transfer control part
JPS63155330A (en) Microprogram controller
JPS61221965A (en) Vector data processor
JPS6086625A (en) Data processing device
JPH0266667A (en) Parallel computing element
JPH05189386A (en) Input and output controller
JPS63165931A (en) Storing system for information on discontinuous instruction fetch address
JPH04367902A (en) Programmable controller
JPH04111149A (en) Circuit system for dma device