JPH09101892A - Information processing device and sequencer for exception processing - Google Patents

Information processing device and sequencer for exception processing

Info

Publication number
JPH09101892A
JPH09101892A JP26041395A JP26041395A JPH09101892A JP H09101892 A JPH09101892 A JP H09101892A JP 26041395 A JP26041395 A JP 26041395A JP 26041395 A JP26041395 A JP 26041395A JP H09101892 A JPH09101892 A JP H09101892A
Authority
JP
Japan
Prior art keywords
instruction
program
exception processing
address
processing
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
JP26041395A
Other languages
Japanese (ja)
Inventor
Hiroshi Hayakawa
浩史 早川
Harutsugu Fukumoto
晴継 福本
Hiroaki Tanaka
裕章 田中
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP26041395A priority Critical patent/JPH09101892A/en
Priority to US08/726,753 priority patent/US5938762A/en
Publication of JPH09101892A publication Critical patent/JPH09101892A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

(57)【要約】 【課題】 メモリ間接アドレツシングによる例外処理の
ためのシーケンサの小型化を目的とする。 【解決手段】 割り込みが発生した場合には(S20=
YES)、例外処理用シーケンサが動作開始し、割り込
まれたプログラムのプログラム状態PSRのスタック退
避、プログラムカウンタPCのスタック退避を実行する
(S30,S40)。ここまでは従来と同様であるが、
次に、ジャンプ命令のプログラムアドレスを記憶装置か
らロードし(S50)、この通常命令のプログラムアド
レスをPCにセットする(S60)。後は、ジャンプ命
令による処理として、例外処理ベクタのアドレス計算
(S70)〜例外処理ベクタのPCセット(S90)が
実行され、例外処理ルーチンへ分岐する(S100)。
例外処理用シーケンサを、S30〜S60の処理を実行
するための命令群だけで構成でき、小型化できる。
(57) Abstract: An object of the present invention is to downsize a sequencer for exception processing by indirect memory addressing. SOLUTION When an interrupt occurs (S20 =
(YES), the exception processing sequencer starts operating, and executes stack saving of the program state PSR of the interrupted program and stack saving of the program counter PC (S30, S40). Up to here is the same as the conventional one,
Next, the program address of the jump instruction is loaded from the storage device (S50), and the program address of this normal instruction is set in the PC (S60). After that, as the processing by the jump instruction, the address calculation of the exception processing vector (S70) to the PC setting of the exception processing vector (S90) are executed, and the process branches to the exception processing routine (S100).
The exception processing sequencer can be configured with only the instruction group for executing the processing of S30 to S60, and can be downsized.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理装置にお
ける例外処理制御部の小型化に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to miniaturization of an exception processing control unit in an information processing device.

【0002】[0002]

【従来の技術】従来、演算機能をIF(命令読み出
し),ID(命令解読),EX(演算),MA(メモリ
アクセス),WB(ライトバツク)の5つのステージに
分け、各ステージを並列して実行することにより、図3
に示すようなパイプライン処理を実行するマイクロプロ
セッサが知られている。
2. Description of the Related Art Conventionally, an arithmetic function is divided into five stages of IF (instruction reading), ID (instruction decoding), EX (computation), MA (memory access), and WB (write back), and each stage is connected in parallel. Figure 3 by executing
There is known a microprocessor that executes pipeline processing as shown in FIG.

【0003】図4はこうしたマイクロプロセッサのブロ
ック図である。この種のマイクロプロセッサは、デコー
ダ1とデータパス2とから構成される。デコーダ1は、
アドレスバス4のデータに従つてメモリ(図示せず)か
らデータバス3を経由して命令を読み込み解読する。そ
して、この解読結果に応じて制御バス5を介してデータ
パス2を制御する。データパス2は、論理,算術,シフ
ト演算等を行う演算部2−1と、演算結果を格納するレ
ジスタファイル2−2と、現在のプログラムのアドレス
をカウントするプログラムカウンタ2−3と、演算部2
−1またはプログラムカウンタ2−3からアドレスバス
4への出力切り替えを行うアドレスユニット2−4とを
備える。プログラムカウンタ2−3は、PCレジスタ2
−3−1及びPSRレジスタ2−3−2の2本の32b
itレジスタを備えている。
FIG. 4 is a block diagram of such a microprocessor. This type of microprocessor is composed of a decoder 1 and a data path 2. The decoder 1
According to the data on the address bus 4, an instruction is read from a memory (not shown) via the data bus 3 and decoded. Then, the data path 2 is controlled via the control bus 5 according to the result of the decoding. The data path 2 includes an arithmetic unit 2-1 that performs logic, arithmetic, shift arithmetic, etc., a register file 2-2 that stores the arithmetic result, a program counter 2-3 that counts the address of the current program, and an arithmetic unit. Two
-1 or an address unit 2-4 for switching the output from the program counter 2-3 to the address bus 4. The program counter 2-3 is the PC register 2
3-1 and two PSR registers 2-3-2 32b
It has an it register.

【0004】パイプライン処理の各ステージとブロック
図との時間的対応についていうと、IFステージ時はプ
ログラムカウンタ2−3が、IDステージ時はデコーダ
1とレジスタファイル2−2が、EXステージ時は演算
部2−1が、MAステージ時はアドレスユニツト2−4
が、WBステージ時はレジスタフアイル2−2が、それ
ぞれ動作する関係にある。
Regarding the time correspondence between each stage of the pipeline processing and the block diagram, the program counter 2-3 at the IF stage, the decoder 1 and the register file 2-2 at the ID stage, and the EX stage at the EX stage. The arithmetic unit 2-1 has an address unit 2-4 during the MA stage.
However, in the WB stage, the register files 2-2 are in a relationship of operating respectively.

【0005】このようなマイクロプロセッサにおいて、
通常状態から例外処理状態に状態遷移するとき、(1)
割り込まれたプログラム状態の退避と、(2)例外処理
ルーチンへの分岐の2つの処理が行われる。(1)のプ
ログラム状態とは割り込まれた命令の状態レジスタとそ
の命令のアドレスであり、退避先には記憶装置またはマ
イクロプロセッサの内部レジスタを用いる。
In such a microprocessor,
When transitioning from the normal state to the exception handling state, (1)
Two processes are performed: saving the interrupted program state and (2) branching to the exception handling routine. The program state of (1) is the state register of the interrupted instruction and the address of the instruction, and the storage device or the internal register of the microprocessor is used as the save destination.

【0006】(2)の分岐アドレスのセット方法には2
通りあり、1つは例外処理発生源自体がマイクロプロセ
ッサにアドレスを転送するベクトル割り込み方式で、も
う1つは、あらかじめ記憶装置に分岐情報が格納されて
いて、それを取り込む非ベクトル割り込み方式である。
The branch address setting method of (2) is 2
Yes, one is a vector interrupt method in which the exception processing source itself transfers an address to the microprocessor, and the other is a non-vector interrupt method in which branch information is stored in advance in the storage device and fetches it. .

【0007】ベクトル割り込み方式には、例外処理発生
源自体がマイクロプロセッサに分岐先アドレスを転送す
る「メモリ直接アドレツシング」と、記憶装置に分岐先
アドレスを記憶しておき、例外処理発生源は当該分岐先
アドレスの記憶されているアドレス又はベースアドレス
からのオフセット値をマイクロプロセッサに転送する
「メモリ間接アドレッシング」の2通りがある(「コン
ピュータアーキテクチヤ:オーム社」)。
In the vector interrupt method, the exception processing source itself transfers "branch destination address" to the microprocessor and "memory direct addressing", and the branch destination address is stored in a storage device. There are two types of "memory indirect addressing" for transferring an offset value from the stored address or base address of the destination address to the microprocessor ("Computer Architect: Ohmsha").

【0008】従来のマイクロプロセッサのメモリ間接ア
ドレッシングにおける例外処理状態への状態遷移処理の
流れは、図5に示すように構成されている。あるプログ
ラムを実行している状態(S110)において、割り込
みが発生した場合には(S120=YES)、最初に、
割り込まれたプログラムのプログラム状態PSRのスタ
ックを退避し(S130)、次に、プログラムカウンタ
PCのスタックを退避し(S140)、例外処理ベクタ
を特定するためのオフセット値を記憶装置からロードし
(S150)、当該オフセット値とベースアドレスとか
ら例外処理ベクタのアドレスを計算し(S160)、当
該アドレスに基づいて例外処理ベクタを記憶装置からロ
ードし(S170)、例外処理ベクタのプログラムカウ
ンタをセットし(S180)、例外処理ルーチンへ分岐
する(S190)という手順が採用されていた。
The flow of the state transition processing to the exception processing state in the memory indirect addressing of the conventional microprocessor is configured as shown in FIG. When an interrupt occurs in the state where a certain program is being executed (S110) (S120 = YES), first,
The stack of the program state PSR of the interrupted program is saved (S130), the stack of the program counter PC is saved (S140), and the offset value for specifying the exception processing vector is loaded from the storage device (S150). ), The address of the exception processing vector is calculated from the offset value and the base address (S160), the exception processing vector is loaded from the storage device based on the address (S170), and the program counter of the exception processing vector is set ( The procedure of branching to the exception handling routine (S190) has been adopted.

【0009】これをパイプラインの流れにて示すと、図
6に示すようになる。この図において、命令400の実
行中のIDステージ401で割り込み信号が入力された
とき、例外処理用シーケンサが動作開始する(命令40
0’)。そして、まず、第1MAステージ402でPS
Rレジスタ2−3−2の内容を記憶装置へ退避し、第2
MAステージ403でPCレジスタ2−3−1の内容を
記憶装置に退避する。そして、第3MAステージ404
では、分岐先アドレス値の格納箇所のアドレス又はベー
スアドレスからのオフセット値を例外処理発生源よりロ
ードする。続く第2EXステージ405では、第3MA
ステージ404でアドレス値をロードした場合にはその
値を、第3MAステージ404でオフセット値をロード
した場合はベースアドレスとオフセット値とから演算し
た絶対アドレスの値を、PCレジスタ2−3−1にセッ
トする。そして、続く第4MAステージ406で、PC
レジスタ2−3−1にセットされたアドレスのデータを
記憶装置からロードし、第3EXステージ407でロー
ドデータをPCレジスタ2−3−1にセットする。こう
して命令490より例外処理ルーチンが開始される。こ
のときの割込み応答は10サイクルであり、第3EXス
テージ407の制御をするために、制御部は400’〜
480の9サイクルをデコードしなければならないこと
になる。
This is shown in FIG. 6 as a pipeline flow. In this figure, when an interrupt signal is input at the ID stage 401 during execution of the instruction 400, the exception processing sequencer starts operation (instruction 40).
0 '). Then, first, PS is performed on the first MA stage 402.
The contents of the R register 2-3-2 are saved in the storage device and the second
At the MA stage 403, the contents of the PC register 2-3-1 are saved in the storage device. Then, the third MA stage 404
Then, the offset value from the address of the storage location of the branch destination address value or the base address is loaded from the exception processing source. In the subsequent second EX stage 405, the third MA
When the address value is loaded in the stage 404, the value is loaded into the PC register 2-3-1. When the offset value is loaded in the third MA stage 404, the absolute address value calculated from the base address and the offset value is loaded into the PC register 2-3-1. set. Then, on the subsequent fourth MA stage 406, the PC
The data of the address set in the register 2-3-1 is loaded from the storage device, and the load data is set in the PC register 2-3-1 in the third EX stage 407. In this way, the exception handling routine is started from the instruction 490. The interrupt response at this time is 10 cycles, and in order to control the third EX stage 407, the control unit 400'-
Ninety-eight cycles of 480 would have to be decoded.

【0010】[0010]

【発明が解決しようとする課題】この様に、従来のメモ
リ間接アドレツシングによる例外処理状態への遷移は、
プログラム状態退避と分岐先アドレスセットの2種類の
処理を1個のシーケンサで行うので制御部が大きくなる
という問題があった。
Thus, the transition to the exception processing state by the conventional memory indirect addressing is as follows.
There is a problem that the control unit becomes large because two kinds of processing of saving the program state and setting the branch destination address are performed by one sequencer.

【0011】そこで、本発明は、メモリ間接アドレツシ
ングによる例外処理のためのシーケンサの小型化を目的
とする。
Therefore, an object of the present invention is to downsize a sequencer for exception processing by memory indirect addressing.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
になされた本発明の情報処理装置は、メモリ間接アドレ
ッシングにあたって、例外処理の分岐先アドレスを通常
命令によりセットすることとした。より具体的には、例
外処理の割り込みがなされたとき、実行中のプログラム
のプログラムカウンタ及びプログラム状態を退避させた
後で通常命令をセットし、例外処理発生源からのアドレ
ス値又はアドレスオフセット値に基づいて前記通常命令
を実行することで分岐先アドレスをセットする。これに
は、プログラム状態及びプログラムカウンタの退避命令
の後に、分岐処理に用いることのできる通常命令をロー
ドしてプログラムカウンタにセットする命令が設定され
ている例外処理用シーケンサを用いるとよい。この様な
通常命令としては、ジャンプ命令、プログラムカウンタ
相対分岐命令、ロード命令、転送命令などが利用でき
る。ジャンプ命令は、多くの情報処理装置に元々備えら
れているから、これを用いると簡単である。
The information processing apparatus of the present invention, which has been made to achieve the above object, sets a branch destination address of an exception process by a normal instruction in memory indirect addressing. More specifically, when an exception handling interrupt is made, the normal counter is set after saving the program counter and program state of the program being executed, and the address value or address offset value from the exception handling source is set. Based on this, the normal instruction is executed to set the branch destination address. For this purpose, it is preferable to use an exception processing sequencer in which an instruction for loading a normal instruction that can be used for branch processing and setting it in the program counter is set after the instruction for saving the program state and the program counter. As such normal instructions, jump instructions, program counter relative branch instructions, load instructions, transfer instructions, etc. can be used. Since a jump instruction is originally provided in many information processing apparatuses, it is easy to use it.

【0013】本発明によれば、例外処理時に必要な上記
(1),(2)の2種類の処理の内、「(2) 例外処
理ルーチンへの分岐」をジャンプ命令等の通常命令で実
行するので、例外処理用のシーケンサとしての制御項目
が減少する。この結果、本発明によれば、情報処理装置
の制御部を小型化することが可能となる。
According to the present invention, of the two types of processing (1) and (2) necessary for exception processing, "(2) branch to exception processing routine" is executed by a normal instruction such as a jump instruction. Therefore, the number of control items as a sequencer for exception handling is reduced. As a result, according to the present invention, the control unit of the information processing device can be downsized.

【0014】[0014]

【発明の実施の形態】次に、本発明の実施の形態につい
て説明する。マイクロプロセッサのハード構成自体は従
来と同様で構わないが、例外処理遷移時のメモリ間接ア
ドレッシングのための状態遷移シーケンサを次の様に構
成しておくのが特徴である。
Next, an embodiment of the present invention will be described. The hardware configuration of the microprocessor may be the same as the conventional one, but the feature is that the state transition sequencer for memory indirect addressing at the time of exception handling transition is configured as follows.

【0015】即ち、この実施の形態においては、図1に
示すように、あるプログラムを実行している状態(S1
0)において、割り込みが発生した場合には(S20=
YES)、例外処理用シーケンサが動作開始し、最初
に、割り込まれたプログラムのプログラム状態PSRの
スタックを退避する(S30)。そして、プログラムカ
ウンタPCのスタックを退避する(S40)。ここまで
は従来と同様である。しかし、次に、通常命令(ジャン
プ命令)のプログラムアドレスを記憶装置からロードし
(S50)、この通常命令のプログラムアドレスをPC
レジスタ2−3−1にセットする(S60)。この間の
S30〜S60が、実施の形態における例外処理用シー
ケンサの内容である。
That is, in this embodiment, as shown in FIG. 1, a state in which a certain program is being executed (S1
In 0), if an interrupt occurs (S20 =
YES), the exception processing sequencer starts operating, and first the stack of the program state PSR of the interrupted program is saved (S30). Then, the stack of the program counter PC is saved (S40). Up to this point, it is the same as the conventional one. However, next, the program address of the normal instruction (jump instruction) is loaded from the storage device (S50), and the program address of this normal instruction is sent to the PC.
It is set in the register 2-3-1 (S60). During this period, S30 to S60 are the contents of the exception processing sequencer in the embodiment.

【0016】こうして通常命令のプログラムアドレスが
セットされると、例外処理シーケンサによる処理に続い
て、通常命令の処理が開始される。ここではジャンプ命
令をセットしているので、ジャンプ命令による処理とし
て以下の例外処理ベクタのアドレス計算(S70)〜例
外処理ベクタのPCセット(S90)が実行され、例外
処理ルーチンへ分岐する(S100)。
When the program address of the normal instruction is set in this manner, the processing of the normal instruction is started following the processing by the exception processing sequencer. Since the jump instruction is set here, the following address calculation of the exception processing vector (S70) to PC setting of the exception processing vector (S90) is executed as processing by the jump instruction, and the process branches to the exception processing routine (S100). .

【0017】これをパイプラインの流れにて示すと、図
2に示すようになる。即ち、命令600のIDステージ
601で割り込み信号が入力された場合、命令600は
破葉され、割り込み状態への例外処理用シーケンサが動
作開始する(命令600’)。そして、第1MAステー
ジ602でPSRレジスタ2−3−2の内容を記憶装置
へ転送し、第2MAステージ603でPCレジスタ2−
3−1の内容を記憶装置に転送し、第3MAステージ6
04でジャンプ命令のプログラムアドレスを記憶装置か
ら転送し、第2EXステージ605では、第3MAステ
ージ604でロードしてきたジャンプ命令のプログラム
アドレスをPCレジスタ2−3−1にセットする。
This is shown in the flow of the pipeline as shown in FIG. That is, when an interrupt signal is input at the ID stage 601 of the instruction 600, the instruction 600 is broken and the exception processing sequencer to the interrupt state starts to operate (instruction 600 ′). Then, the first MA stage 602 transfers the contents of the PSR register 2-3-2 to the storage device, and the second MA stage 603 transfers the PC register 2-.
3-1 transfers the contents of 3-1 to the storage device, and the third MA stage 6
At 04, the program address of the jump instruction is transferred from the storage device, and at the second EX stage 605, the program address of the jump instruction loaded at the third MA stage 604 is set in the PC register 2-3-1.

【0018】この結果、命令670にてこのジャンプ命
令が実行され、例外処理発生源から例外処理ルーチンの
先頭プログラムの分岐先アドレスの格納されている記憶
領域のアドレスオフセット値をロードし、これとベース
アドレスとから例外処理ルーチンのプログラムアドレス
を計算し、当該プログラムアドレスをPCレジスタ2−
3−1にセットする。そして、命令680にて例外処理
ルーチンが開始される。
As a result, the jump instruction is executed by the instruction 670, the address offset value of the storage area in which the branch destination address of the head program of the exception processing routine is stored is loaded from the exception processing source, and this and the base are loaded. The program address of the exception handling routine is calculated from the address and the program address is stored in the PC register 2-
Set to 3-1. Then, at instruction 680, the exception handling routine is started.

【0019】この様に、この実施の形態においては、
命令600’:プログラム状態のスタック退避、
命令610:プログラムカウンタのスタック退避、
命令620:ジャンプ命令のプログラムアドレスロー
ド、 命令630:NOP(Non Operati
on)、 命令640:ジャンプ命令のプログラムア
ドレスセット、 命令650:NOP、 命令66
0:NOPの7個の命令だけで、例外処理用シーケンサ
が組まれている。
Thus, in this embodiment,
Instruction 600 ': Stack saving of program state,
Instruction 610: save stack of program counter,
Instruction 620: Load program address of jump instruction, Instruction 630: NOP (Non Operation)
on), instruction 640: program address set of jump instruction, instruction 650: NOP, instruction 66
A sequencer for exception processing is built with only 7 instructions of 0: NOP.

【0020】ところで、図5及び図6にて説明した従来
技術における例外処理用シーケンサでは、 命令40
0’:プログラム状態のスタック退避、 命令41
0:プログラムカウンタのスタック退避、 命令42
0:分岐先アドレス格納場所を特定するためのアドレス
オフセットのロード、 命令430:NOP、 命
令440:分岐先アドレス格納場所のアドレス演算及び
演算結果に基づく分岐先アドレスのロード、 命令4
50:NOP、 命令460:分岐先アドレスのセッ
ト、 命令470:NOP、 命令480:NOP
の9個の命令が必要であった。
By the way, in the prior art exception processing sequencer described with reference to FIGS. 5 and 6, the instruction 40
0 ': program state stack save, instruction 41
0: Program counter stack save, instruction 42
0: load address offset for specifying branch destination address storage location, instruction 430: NOP, instruction 440: address calculation of branch destination address storage location and load of branch destination address based on operation result, instruction 4
50: NOP, instruction 460: set branch destination address, instruction 470: NOP, instruction 480: NOP
9 instructions were required.

【0021】このように、上述した実施の形態によれ
ば、メモリ間接アドレッシングによる例外処理用シーケ
ンサを従来技術に比べて小型化できる。なお、実施の形
態ではパイプライン処理方式を採用した情報処理装置の
例だけを説明したが、パイプライン処理方式ではない情
報処理装置においても、本発明を適用して例外処理用シ
ーケンサを小型化することができる点において何等変わ
りない。よって、これらパイプライン処理を採用しない
情報処理装置にも本発明を適用できることはもちろんで
ある。
As described above, according to the above-described embodiment, the exception processing sequencer based on the memory indirect addressing can be made smaller than the prior art. Although only the example of the information processing apparatus adopting the pipeline processing method has been described in the embodiment, the exception processing sequencer can be downsized by applying the present invention to the information processing apparatus not adopting the pipeline processing method. There is no difference in what you can do. Therefore, it goes without saying that the present invention can be applied to an information processing device that does not adopt these pipeline processes.

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

【図1】 発明の実施の形態における状態遷移シーケン
サの動作内容を示すフローチャートである。
FIG. 1 is a flowchart showing operation contents of a state transition sequencer according to an embodiment of the invention.

【図2】 発明の実施の形態における例外処理発生時の
パイプライン処理の流れを示す模式図である。
FIG. 2 is a schematic diagram showing a flow of pipeline processing when an exception processing occurs in the embodiment of the present invention.

【図3】 一般的な5段パイプライン処理の流れを示す
模式図である。
FIG. 3 is a schematic diagram showing a flow of general 5-stage pipeline processing.

【図4】 一般的なマイクロプロセッサの構成を示すブ
ロック図である。
FIG. 4 is a block diagram showing a configuration of a general microprocessor.

【図5】 従来例における状態遷移シーケンサの動作内
容を示すフローチャートである。
FIG. 5 is a flowchart showing the operation contents of a state transition sequencer in a conventional example.

【図6】 従来例における例外処理発生時のパイプライ
ン処理の流れを示す模式図である。
FIG. 6 is a schematic diagram showing a flow of pipeline processing when an exception processing occurs in a conventional example.

【符号の説明】[Explanation of symbols]

1・・・デコーダ、2・・・データパス、2−1・・・
演算部、2−2・・・レジスタフアイル、2−3・・・
プログラムカウンタ、2−3−1・・・PCレジスタ、
2−3−2・・・PSRレジスタ、2−4・・・アドレ
スユニット、3・・・データバス、4・・・アドレスバ
ス、5・・・制御バス。
1 ... Decoder, 2 ... Data path, 2-1 ...
Operation unit, 2-2 ... Register file, 2-3 ...
Program counter, 2-3-1, ... PC register,
2-3-2 ... PSR register, 2-4 ... Address unit, 3 ... Data bus, 4 ... Address bus, 5 ... Control bus.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 例外処理状態への遷移時に、分岐先アド
レスをメモリ間接アドレッシングでセットする情報処理
装置において、例外処理の分岐先アドレスを通常命令に
よりセットすることを特徴とする情報処理装置。
1. An information processing apparatus for setting a branch destination address by memory indirect addressing at the time of transition to an exception processing state, wherein the branch destination address for exception processing is set by a normal instruction.
【請求項2】 請求項1記載の情報処理装置において、
例外処理の割り込みがなされたとき、実行中のプログラ
ムのプログラムカウンタ及びプログラム状態を退避させ
た後で通常命令をセットし、例外処理発生源からのアド
レス値又はアドレスオフセット値に基づいて前記通常命
令を実行することで分岐先アドレスをセットすることを
特徴とする情報処理装置。
2. The information processing apparatus according to claim 1, wherein
When an exception processing interrupt is made, the normal counter is set after saving the program counter and program state of the program being executed, and the normal instruction is set based on the address value or address offset value from the exception processing source. An information processing device characterized by setting a branch destination address by executing the information processing device.
【請求項3】 請求項1又は請求項2記載の情報処理装
置において、前記通常命令がジャンプ命令であることを
特徴とする情報処理装置。
3. The information processing apparatus according to claim 1 or 2, wherein the normal instruction is a jump instruction.
【請求項4】 メモリ間接アドレッシングによる例外処
理を実行するための例外処理用シーケンサにおいて、プ
ログラム状態及びプログラムカウンタの退避命令の後
に、分岐処理に用いることのできる通常命令をロードし
てプログラムカウンタにセットする命令が設定されてい
る例外処理用シーケンサ。
4. In an exception processing sequencer for executing exception processing by memory indirect addressing, a normal instruction that can be used for branch processing is loaded and set in the program counter after a program state and program counter save instruction. A sequencer for exception processing in which the instruction to set is set.
JP26041395A 1995-10-06 1995-10-06 Information processing device and sequencer for exception processing Pending JPH09101892A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP26041395A JPH09101892A (en) 1995-10-06 1995-10-06 Information processing device and sequencer for exception processing
US08/726,753 US5938762A (en) 1995-10-06 1996-10-07 Method and apparatus for performing exception processing routine in pipeline processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26041395A JPH09101892A (en) 1995-10-06 1995-10-06 Information processing device and sequencer for exception processing

Publications (1)

Publication Number Publication Date
JPH09101892A true JPH09101892A (en) 1997-04-15

Family

ID=17347591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26041395A Pending JPH09101892A (en) 1995-10-06 1995-10-06 Information processing device and sequencer for exception processing

Country Status (1)

Country Link
JP (1) JPH09101892A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011530741A (en) * 2008-08-08 2011-12-22 クゥアルコム・インコーポレイテッド Apparatus and method for speculative interrupt vector prefetch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011530741A (en) * 2008-08-08 2011-12-22 クゥアルコム・インコーポレイテッド Apparatus and method for speculative interrupt vector prefetch

Similar Documents

Publication Publication Date Title
JP3563768B2 (en) ROM program change device
JPH09101892A (en) Information processing device and sequencer for exception processing
JP2929980B2 (en) Information processing device
JP2824484B2 (en) Pipeline processing computer
JPS59218569A (en) micro computer
JP2883489B2 (en) Instruction processing unit
JPS61194566A (en) Vector data reference control system
JP2883488B2 (en) Instruction processing unit
JPS6379162A (en) Control system for transferring processor data
JPH05127898A (en) Conditional branch processing circuit
JP2710558B2 (en) Information processing device
JPH05127894A (en) Instruction executing system
JPH06324884A (en) Data processor
JPH113592A (en) Access control circuit for synchronous RAM, data processor, and control method therefor
JPS6365528A (en) Coprocessor
JPH1124715A (en) Control device
JPS62293435A (en) data processor
JPH03156605A (en) Programmable controller
JPH0535499A (en) Data processing device and data processing method
JPH09282165A (en) Information processing device
JP2005134987A (en) Pipeline processing unit
JPH11282676A (en) Arithmetic processing method and microprocessor device
JPH01161532A (en) Data processor
JPS60247743A (en) Pipeline arithmetic controller
JP2000010908A (en) DMA controller