JPH01306930A - Microprocessor - Google Patents
MicroprocessorInfo
- Publication number
- JPH01306930A JPH01306930A JP63137717A JP13771788A JPH01306930A JP H01306930 A JPH01306930 A JP H01306930A JP 63137717 A JP63137717 A JP 63137717A JP 13771788 A JP13771788 A JP 13771788A JP H01306930 A JPH01306930 A JP H01306930A
- Authority
- JP
- Japan
- Prior art keywords
- execution
- register
- instruction
- retry
- program
- 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
- 230000002093 peripheral effect Effects 0.000 claims abstract description 6
- 230000002159 abnormal effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Retry When Errors Occur (AREA)
- Executing Machine-Instructions (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプロセッサに関する。[Detailed description of the invention] [Industrial application field] The present invention relates to microprocessors.
従来のマイクロプロセッサは、−度実行した命令を外部
入力条件によって再度実行し直すといういわゆるリトラ
イ機能を有していない。Conventional microprocessors do not have a so-called retry function for re-executing an instruction that has been executed several times depending on external input conditions.
上述したように、従来のマイクロプロセッサはリトライ
機能がないため、ある命令でメモリを読出した場合、読
出しデータ中にパリティエラーが発生したときや、各種
の周辺機器をアクセスしたときにノイズ等の原因によっ
てプログラム上あらかじめ想定された結果が読取れなか
ったときは、エラールーチンに移ったりまたはストール
したりしてしまうという欠点を有している。As mentioned above, conventional microprocessors do not have a retry function, so when reading memory with a certain instruction, noise may occur when a parity error occurs in the read data or when accessing various peripheral devices. This has the disadvantage that when the program cannot read the results expected in advance, the program moves to an error routine or stalls.
本発明のマイクロプロセッサは、その動作に使用する各
種の個別レジスタを含む実行レジスタと、この実行レジ
スタの命令実行以前の状態を保持するため個別レジスタ
と対をなす第二の個別レジスタを有する保持レジスタと
、命令を再度実行し直すためにリトライ信号を入力する
ためのリトライ端子とを備えている。The microprocessor of the present invention has an execution register that includes various individual registers used for its operation, and a holding register that has a second individual register that is paired with the individual register to hold the state of the execution register before instruction execution. and a retry terminal for inputting a retry signal to re-execute the command.
すなわち、本発明のマイクロプロセッサは、アキューム
レータおよびプログラムカウンタおよび汎用レジスタお
よびフラグを含む命令の実行に必要な複数個の個別レジ
スタを有する実行レジスタと、前記実行レジスタの前記
個別レジスタのそれぞれと対をなす複数個の個別レジス
タを有する保持レジスタと、命令の再実行を行うために
メモリパリティエラー信号またはノイズまたは周辺装置
コントローラからのデータリードエラー信号を含むリト
ライ信号を入力するリトライ端子とを備えている。That is, the microprocessor of the present invention has an execution register having a plurality of individual registers necessary for executing an instruction, including an accumulator, a program counter, general-purpose registers, and flags, and a pair with each of the individual registers of the execution register. It includes a holding register having a plurality of individual registers, and a retry terminal for inputting a retry signal including a memory parity error signal or a data read error signal from a noise or peripheral device controller to re-execute an instruction.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例の動作を示すフロー図である
。FIG. 1 is a flow diagram showing the operation of an embodiment of the present invention.
本実施例は、マイクロプロセッサの実際の動作に係わる
実行レジスタ(RRegi)1は、プログラムカウンタ
およびアキュームレータおよび汎用レジスタおよびフラ
グおよびセグメント等のすべての個別レジスタを含んで
いる。なお、添字iは、1からレジスタ総数nまでの値
を取る。例えばRReglがプログラムカウンタであり
、RReg2がアキュームレータであるというように、
それぞれ固有の個別レジスタをあられしている。In this embodiment, the execution register (RRegi) 1 involved in the actual operation of the microprocessor includes a program counter, an accumulator, general-purpose registers, and all individual registers such as flags and segments. Note that the subscript i takes a value from 1 to the total number of registers n. For example, RRegl is the program counter and RReg2 is the accumulator.
Each has its own individual register.
初期値(CONTi )2は、実行レジスタ(RReg
i)1の初期値を示し、リセット後実行レジスタ(RR
egi)1に初期値(CONTi)がコピーされる。The initial value (CONTi)2 is the execution register (RReg).
i) Indicates the initial value of 1, and executes after reset (RR).
The initial value (CONTi) is copied to egi)1.
次に再実行(リトライ)を可能とするために、命令実行
前の実行レジスタ(RRegi)1の内容を保持レジス
タ(HRegi)3の対応する個別jレジスタにコピー
しておき、プログラムカウンタ(RRegt)で示され
るアドレス上の命令を実行して実行レジスタ(RReg
i)1を更新する。この実行後、リトライ信号4が有効
でなければ繰り返し点5に戻ってプログラムの実行を進
行させる。リトライ信号4が有効であれば、保持レジス
タ(HRegi)3を実行レジスタ(RRegi)1に
もどし、繰り返し点5にもどることによって再実行を行
う。ここで、リトライ信号4はメモリパリティエラー信
号またはノイズまたは周辺装置コントローラからのデー
タリードエラー信号等である。Next, in order to enable re-execution (retry), the contents of execution register (RRegi) 1 before instruction execution are copied to the corresponding individual j register of holding register (HRegi) 3, and the program counter (RRegt) The instruction at the address indicated by is executed and the execution register (RReg
i) Update 1. After this execution, if the retry signal 4 is not valid, the program returns to the repeat point 5 and continues executing the program. If the retry signal 4 is valid, the holding register (HRegi) 3 is returned to the execution register (RRegi) 1, and the process returns to the repetition point 5 to perform re-execution. Here, the retry signal 4 is a memory parity error signal, noise, or a data read error signal from a peripheral device controller.
以上説明したように、本発明のマイクロプロセッサは、
マイクロプロセッサに内蔵してb)る個別レジスタを、
それぞれ実行レジスタと保持レジスタとの両者に二重に
用意しておき、保持レジスタには1命令実行以前の実行
レジスタをコピーしておき、命令実行時に偶発的なメモ
リパリティエラーや周辺機器からのデータリードエラー
等の正常でない状態が発生した場合は、リトライ信号を
受けて保持レジスタを実行レジスタにコピーすることに
よって命令の再実行を行うことができるという効果があ
り、従って偶発的に発生したエラーを救済することがで
きるという効果がある。As explained above, the microprocessor of the present invention has
b) Individual registers built into the microprocessor,
Each execution register and holding register are duplicated, and the execution register from before execution of one instruction is copied to the holding register to prevent accidental memory parity errors or data from peripheral devices when executing an instruction. If an abnormal condition such as a read error occurs, the instruction can be re-executed by copying the holding register to the execution register in response to a retry signal. It has the effect of being able to provide relief.
第1図は、本発明の一実施例の動作を示すフロー図であ
る。
1・・・実行レジスタ、2・・初期値、3・・・保持レ
ジスタ、4・・・リトライ信号。FIG. 1 is a flow diagram showing the operation of one embodiment of the present invention. 1... Execution register, 2... Initial value, 3... Holding register, 4... Retry signal.
Claims (1)
レジスタおよびフラグを含む命令の実行に必要な複数個
の個別レジスタを有する実行レジスタと、前記実行レジ
スタの前記個別レジスタのそれぞれと対をなす複数個の
個別レジスタを有する保持レジスタと、命令の再実行を
行うためにメモリパリテイエラー信号またはノイズまた
は周辺装置コントローラからのデータリードエラー信号
を含むリトライ信号を入力するリトライ端子とを備える
ことを特徴とするマイクロプロセッサ。an execution register having a plurality of individual registers necessary for execution of an instruction, including an accumulator and a program counter and general purpose registers and flags, and a holding register having a plurality of individual registers paired with each of said individual registers of said execution register. and a retry terminal for inputting a retry signal including a memory parity error signal or noise or a data read error signal from a peripheral device controller in order to re-execute an instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63137717A JPH01306930A (en) | 1988-06-03 | 1988-06-03 | Microprocessor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63137717A JPH01306930A (en) | 1988-06-03 | 1988-06-03 | Microprocessor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01306930A true JPH01306930A (en) | 1989-12-11 |
Family
ID=15205176
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63137717A Pending JPH01306930A (en) | 1988-06-03 | 1988-06-03 | Microprocessor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01306930A (en) |
-
1988
- 1988-06-03 JP JP63137717A patent/JPH01306930A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0810437B2 (en) | Guest execution control method for virtual machine system | |
US3618042A (en) | Error detection and instruction reexecution device in a data-processing apparatus | |
JPH01306930A (en) | Microprocessor | |
JPH04280334A (en) | One chip microcomputer | |
JPH0454648A (en) | Software developing device | |
JPS58166454A (en) | data processing equipment | |
JPH0147818B2 (en) | ||
JPH02281341A (en) | Write data confirming method for debugging | |
JPS6146535A (en) | Pseudo error setting control method | |
JPH03263134A (en) | Test processing system for test processor | |
JPS63132303A (en) | Microcomputer application controller mounted on vihicle | |
JPS62219032A (en) | Initial diagnosis method | |
JPH0519745B2 (en) | ||
JPS63155330A (en) | Microprogram controller | |
JPS60221829A (en) | Data processor | |
JPS59178547A (en) | Instruction retry method | |
JPH03231351A (en) | Inter-processor communication receiving circuit | |
JPS6160146A (en) | Check system of microprogram | |
JPH0432418B2 (en) | ||
JPS59218555A (en) | Microprogram control device | |
JPS6049344B2 (en) | Instruction retry method | |
JPS63193241A (en) | Information processor | |
JPH0797326B2 (en) | Information processing equipment | |
JPS61194542A (en) | Test system for data processor | |
JPS61290546A (en) | Tracing system for microprogram controller |