JPS6257035A - Microprogram processor - Google Patents

Microprogram processor

Info

Publication number
JPS6257035A
JPS6257035A JP60197367A JP19736785A JPS6257035A JP S6257035 A JPS6257035 A JP S6257035A JP 60197367 A JP60197367 A JP 60197367A JP 19736785 A JP19736785 A JP 19736785A JP S6257035 A JPS6257035 A JP S6257035A
Authority
JP
Japan
Prior art keywords
microprogram
address
waiting
execution
counter
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
JP60197367A
Other languages
Japanese (ja)
Inventor
Hiroshi Yasumoto
安本 洋
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 JP60197367A priority Critical patent/JPS6257035A/en
Publication of JPS6257035A publication Critical patent/JPS6257035A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To facilitate finding of a microprogram error by providing a means designating an address of a microprogram, a waiting time designation means and a waiting means so as to improve the existence probability of an external asynchronizing signal. CONSTITUTION:A pseudo address of a microprogram is set to a waiting address designation switch 5 and a waiting time is set to a waiting time designation switch 7 in advance. An instruction in the inside of a control storage 1 is executed by a sequential instruction execution circuit 3 attended with the start of execution of the program and when contents of the switch 5 and an instruction address register 2 are coincident, a waiting counter 6 is activated via an address comparison circuit 4. Then, the counter 6 is set equal to a value set to the switch 7, subtraction is conducted at each prescribed time to await the execution of the program and when the content of the counter 6 is zero, the execution is restarted. Thus, the existing probability of the external asynchronizing signal is improved to facilitate the finding of the microprogram.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、マイクロプログラムに発生した誤りを容易に
検出せしめるマイクロプログラム処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a microprogram processing device that easily detects errors occurring in microprograms.

(従来の技術) 外部非同期信号を受信して動作するマイクロプログラム
処理装置は、マイクロプログラムの動作とは非同期に発
生する事象をマイクロプログラムにより検知しながら動
作している。斯かるマイクロプログラムの処理において
、特定のアドレスをマイクロプログラムが走行している
際に、外部非同期信号が発生した場合にしか通過しない
処理に誤りが含まれていたならば、表面的には間欠障害
として現われる。
(Prior Art) A microprogram processing device that operates by receiving an external asynchronous signal operates while the microprogram detects an event that occurs asynchronously with the operation of the microprogram. In the processing of such a microprogram, if there is an error in the processing that only passes when an external asynchronous signal is generated while the microprogram is running at a specific address, it would appear to be an intermittent fault on the surface. appears as.

(発明が解決しようとする問題点) 上述した従来のマイクロプログラム処理装置では、上記
間欠障害が現われ、上記の誤り個所を検出する。労力は
多大なものであると云う欠点があった。
(Problems to be Solved by the Invention) In the above-described conventional microprogram processing device, the above-mentioned intermittent fault appears and the above-mentioned error location is detected. The drawback was that it required a lot of effort.

本発明の目的は、マイクロプログラムアドレスを指定す
るとともにマイクロ命令の実行待合せ時間を指定し、指
定されたアドレスのマイクロ命令実行時に、指定された
時間だけ待合せ全実施し、指定されたアドレスに待ち時
間を挿入することにより上記欠点を除去し、そこに外部
非同期信号の存在する確率を高め、マイクロプログラム
の誤#)全容易に発見できるように構成・ したマイク
ロプログラム処理装置を提供することにある。
An object of the present invention is to specify a microprogram address and a waiting time for execution of a microinstruction, and when executing a microinstruction at the specified address, to fully execute the waiting for the specified time, and to set the waiting time to the specified address. It is an object of the present invention to provide a microprogram processing device configured to eliminate the above-mentioned drawbacks by inserting a microprogram, increase the probability of the presence of an external asynchronous signal, and make it easy to discover any errors in the microprogram.

(問題点を解決するための手段) 本発明によるマイクロプログラム処理装置はアドレス指
定手段と、待ち時間指定手段と、待合せ手段とを具備し
、外部非同期信号を受信して動作するように構成したも
のである。
(Means for Solving the Problems) A microprogram processing device according to the present invention is provided with an address specifying means, a wait time specifying means, and a waiting means, and is configured to operate upon receiving an external asynchronous signal. It is.

アドレス指定手段は、マイクロプログラムのアドレスを
指定するためのものである。
The addressing means is for specifying the address of the microprogram.

待ち時間指定手段は、マイクロプログラムに含まれたマ
イクロ命令の実行待合せ時間を指定するためのものであ
る。
The waiting time designation means is for designating the execution waiting time of a microinstruction included in a microprogram.

待合せ手段は、アドレス指定手段によシ指定さnたアド
レスのマイクロ命令実行時に待ち時間指定手段により指
定された時間だけ待合せるためのものである。
The waiting means is for waiting for a time specified by the waiting time specifying means when executing a microinstruction at an address specified by the address specifying means.

(実 施 例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明によるマイクロプログラム処理装置の
一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a microprogram processing device according to the present invention.

第1図において、1は制御記憶、2は命令アドレスレジ
スタ、3は命令実行回路、4はアドレス比較回路、5は
待合せアドレス指定スイッチ、6は待合せカウンタ、7
は待ち時間指定スイッチ、8は命令実行うロック発生回
路、9はANDゲートである。
In FIG. 1, 1 is a control memory, 2 is an instruction address register, 3 is an instruction execution circuit, 4 is an address comparison circuit, 5 is a queuing address designation switch, 6 is a queuing counter, and 7
8 is a wait time designation switch, 8 is a lock generation circuit for executing instructions, and 9 is an AND gate.

第1図において、制御記憶1゛の内部に格納されている
マイクロプログラムのうち、命令アドレスレジスタ2に
示されたアドレスのマイクロ命令は命令実行回路3に読
出されて実行される。
In FIG. 1, among the microprograms stored in the control memory 1', the microinstruction at the address indicated in the instruction address register 2 is read out by the instruction execution circuit 3 and executed.

また、この実行結果によシ命令レジスタ2の内容が変更
され、順次マイクロプログラムが実行されてゆく。アド
レス比較回路4は、待合せアドレス指定スイッチ5によ
って指定されたデータと命令アドレスレジスタ2の内容
とを比較し、両者が一致したときアドレス一致信号を信
号線4a上に出力する。待合せカウンタ6は内容がOに
初期化されており、信号線4a上のアドレス一致信号を
受取ると、待ち時間指定スイッチ7に設定されているカ
ウント値を読堆シ、その後は一定時間ごとに減算を実行
し、値が0になると停止する。信号線6a上の実行可能
信号は待合せカウンタ6の内容が0になっている間に出
力される信号で、命令実行うロック発生回路8から信号
線8a上に送出された笑行うロック’1ANDゲート9
でゲートし、待合せカウンタ6の減算中には信号線8a
を介して笑行うロックが命令実行回路3へ供給されるの
を抑止する。
Further, the contents of the instruction register 2 are changed according to the execution result, and the microprograms are executed sequentially. The address comparison circuit 4 compares the data specified by the queuing address designation switch 5 with the contents of the command address register 2, and outputs an address match signal onto the signal line 4a when the two match. The content of the waiting counter 6 is initialized to O, and when it receives an address match signal on the signal line 4a, it reads the count value set in the waiting time designation switch 7, and then subtracts it at regular intervals. Execute and stop when the value becomes 0. The executable signal on the signal line 6a is a signal that is output while the content of the waiting counter 6 is 0, and is a signal that is output from the lock generation circuit 8 that executes the command on the signal line 8a. 9
and the signal line 8a is gated during the subtraction of the waiting counter 6.
This prevents the lock from being supplied to the instruction execution circuit 3 via the lock.

次に、第1因に示すマイクロプログラム処理装置の動作
を説明する。マイクロプログラムの評価に際して、操作
者はマイクロプログラムの被疑アドレスを待合せアドレ
ス指定スイッチ5に設定し、待ち時間を待ち時間指定ス
イッチ7に設定しておく。
Next, the operation of the microprogram processing device shown in the first factor will be explained. When evaluating the microprogram, the operator sets the suspect address of the microprogram in the waiting address designation switch 5 and sets the waiting time in the waiting time designation switch 7.

マイクロプログラムの実行が開始されると、制御記憶1
の内部の命令は順次、命令実行回路3によって実行され
てゆき、やがて命令アドレスレジスタ2の内容が一致す
ると、アドレス比較回路4が作動し、信号線4a上のア
ドレス一致信号により待合せカウンタ6が励起される。
When execution of the microprogram starts, control memory 1
The internal instructions are sequentially executed by the instruction execution circuit 3, and when the contents of the instruction address register 2 match, the address comparison circuit 4 is activated and the waiting counter 6 is excited by the address match signal on the signal line 4a. be done.

このとき、待合せカウンタ6は待ち時間指定スイッチ7
に設定された値に等しく設定され、一定時間ごとに減算
が笑行される。この間、カウンタ6の内容は0以外であ
るので、信号線6a上に実行可能信号は出力されずに、
信号線8a上の笑行うロックはANDゲート9によって
抑止さn1命令災行回路3へ夷行うロックが供給されな
いので、マイクロプログラムの実行も待合せている。や
がて、待合せカウンタ6の減算が進み内容がOになると
、再び信号線6a上の実行可能信号が出力され、命令実
行回路3でのマイクロプログラムの実行が開始される。
At this time, the waiting counter 6 is set to the waiting time designation switch 7.
is set equal to the value set in , and subtraction is performed at regular intervals. During this time, the contents of the counter 6 are other than 0, so no executable signal is output on the signal line 6a.
Since the lock on the signal line 8a is suppressed by the AND gate 9 and no lock is supplied to the n1 instruction failure circuit 3, execution of the microprogram is also deferred. Eventually, when the waiting counter 6 continues to decrement and the content becomes O, the executable signal is output again on the signal line 6a, and the instruction execution circuit 3 starts executing the microprogram.

以上のようにマイクロプログラムは、指定されたアドレ
スで指定時間を待ちながら実行されることになシ、外部
非同期信号が上記の待ち時間の間に発生する確率は大き
くなる。
As described above, the microprogram is executed while waiting for the specified time at the specified address, and the probability that an external asynchronous signal will be generated during the above waiting time increases.

(発明の効果) 以上説明したように本発明は、被疑マイクロプログラム
アドレスの実行時に外部非同期信号の発生する確率を高
めることにより、斯かるアドレスの近傍に存在するプロ
グラムの誤シを検出する労力が大幅に省力化でき、容易
にプログラムを評価できると云う効果がある。
(Effects of the Invention) As explained above, the present invention increases the probability that an external asynchronous signal will be generated when a suspect microprogram address is executed, thereby reducing the effort required to detect program errors in the vicinity of such an address. This has the effect of greatly saving labor and making it easier to evaluate programs.

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

第1図は、本発明によるマイクロプログラム処理装置の
一笑施例を示すブロック図である。 1・・・制御記憶 2・・・命令アドレスレジスタ 3・・・命令実行回路  4・・・アドレス比較回路5
・・・待合せアドレス指定スイッチ 6・・・待合せカウンタ 7・・・待ち時間指定スイッチ 8・・・命令実行うロック発生回路 9・・・ANDゲート 4a、6a、8a・・・信号線 才1図
FIG. 1 is a block diagram showing an embodiment of a microprogram processing device according to the present invention. 1... Control memory 2... Instruction address register 3... Instruction execution circuit 4... Address comparison circuit 5
. . . Waiting address designation switch 6 . . Waiting counter 7 . . Waiting time designation switch 8 . . . Command execution lock generation circuit 9 . . . AND gates 4a, 6a, 8a . . . Signal line diagram 1

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラムのアドレスを指定するためのアドレ
ス指定手段と、前記マイクロプログラムに含まれたマイ
クロ命令の実行待合せ時間を指定するための待ち時間指
定手段と、前記アドレス指定手段により指定されたアド
レスのマイクロ命令実行時に前記待ち時間指定手段によ
り指定された時間だけ待合せるための待合せ手段とを具
備し、外部非同期信号を受信して動作するように構成し
たことを特徴とするマイクロプログラム処理装置。
Addressing means for specifying an address of a microprogram, waiting time specifying means for specifying an execution waiting time of a microinstruction included in the microprogram, and a microinstruction at an address specified by the addressing means. A microprogram processing device comprising: a waiting means for waiting for a time specified by the waiting time specifying means during execution, and configured to operate upon receiving an external asynchronous signal.
JP60197367A 1985-09-06 1985-09-06 Microprogram processor Pending JPS6257035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60197367A JPS6257035A (en) 1985-09-06 1985-09-06 Microprogram processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60197367A JPS6257035A (en) 1985-09-06 1985-09-06 Microprogram processor

Publications (1)

Publication Number Publication Date
JPS6257035A true JPS6257035A (en) 1987-03-12

Family

ID=16373314

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60197367A Pending JPS6257035A (en) 1985-09-06 1985-09-06 Microprogram processor

Country Status (1)

Country Link
JP (1) JPS6257035A (en)

Similar Documents

Publication Publication Date Title
KR970005021A (en) A data processor capable of executing two instructions simultaneously
JPS6257035A (en) Microprogram processor
JPS62145426A (en) Microprograms processing unit
JPS60124746A (en) Data processing unit
JPH05216721A (en) Electronic computer
JPS59114637A (en) Data processing device
JP2624798B2 (en) Processing unit debugging mechanism
JPH01140239A (en) Instruction executing address preserving processing system
JPS5835648A (en) Program execution controlling system
JP2878037B2 (en) Processor stop method
JPH0335323A (en) Control system for execution of instruction
JPS60193046A (en) Detecting system for instruction exception
JPS59200356A (en) Program tracing system
JPH01240941A (en) Information processor
JPS61233838A (en) Information processor
JPH04167146A (en) Address tracing system for information processor
JPH03144733A (en) Microprogram control device
JPH04131931A (en) Control system for real address load instruction
JPS60198646A (en) Error producing system of control storage
JPS59161750A (en) Break control system of debugging device
JPH01114947A (en) Tracing system for data processor
JPS58165148A (en) Instruction stop circuit
JPS62165246A (en) Performance analyzer processing system
JPH0157375B2 (en)
JPH04369751A (en) Memory collapse detection system