JPS59128640A - On-line tracing method in microprogram type computer - Google Patents

On-line tracing method in microprogram type computer

Info

Publication number
JPS59128640A
JPS59128640A JP58003770A JP377083A JPS59128640A JP S59128640 A JPS59128640 A JP S59128640A JP 58003770 A JP58003770 A JP 58003770A JP 377083 A JP377083 A JP 377083A JP S59128640 A JPS59128640 A JP S59128640A
Authority
JP
Japan
Prior art keywords
trace
current
task number
cpu
target
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
JP58003770A
Other languages
Japanese (ja)
Inventor
Masatoshi Kinoshita
木下 政利
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.)
Fuji Facom Corp
Original Assignee
Fuji Facom 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 Fuji Facom Corp filed Critical Fuji Facom Corp
Priority to JP58003770A priority Critical patent/JPS59128640A/en
Publication of JPS59128640A publication Critical patent/JPS59128640A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To execute efficiently the verification of task operation registered in a computer in continuous running by decomposing to set one step of an execution instruction into plural microinstructions, then discriminating whether a tracing condition is formed or not to process the microinstructions. CONSTITUTION:When a current execution address is applied by a status register in a CPU, processing D and T are executed simultaneously. In the processing D, an instruction is fetched and decomposed into plural microinstructions to set up and execute them. The processing T checks whether the trace mode of a register coincides with running or not, whether an objective trace No. coincides with a current task No. or not and whether an objective trace instruction code coincides with a current execution instruction code of not. If all the conditions coincide with each other, the formation of the trace conditions is decided and combined information consisting of the present task number, execution address and time is stored in a WCS. If any one of them is inconsistent, said information is not stored in the WCS, where the WCS is a writable control storage.

Description

【発明の詳細な説明】 本発明は連続運転中の計算機に登録されたタスク動作の
検証を効率よ〈実施するトレース方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a tracing method for efficiently verifying task operations registered in a continuously operating computer.

プラントと結合して24時間停止することなく運転され
る制御用計算機に登録されたタスク動作に異常が認めら
れた時、その原因の調査が非常に困難である場合が多い
。一つのタスク動作だけでは異常を発生しないが、二つ
以上のタスクが多重または並行に動作する時相互の因果
関係によって極めて稀な確率で異常をひきおこすことが
ある。
When an abnormality is recognized in the operation of a task registered in a control computer that is connected to a plant and operates without stopping for 24 hours, it is often very difficult to investigate the cause. A single task operation alone will not cause an abnormality, but when two or more tasks operate multiple or in parallel, there is an extremely rare possibility that an abnormality may occur due to mutual causal relationships.

従って異常発生は偶発的で1日に1回、1週間に1回ま
たは1ケ月に1回のこともある。しかもこのような異常
がひとたび発生するとプラントに重大な悪影響を与える
ことが多いので、このようなことが起きないように計算
機システム納入時、正しく動作することを検証するため
計算機システムのオンライン運転時に複雑にかみあい動
作しているタスクの動きを正確に把握する手法が必要で
ある。従来法のようなトレース方法が実施されている0 (A)トレースサブルーチンをプログラム内でCALL
するもので、この方法ではプログラムがトレースサブル
ーチンをCALL L、たところでしかトレースできな
いので詳しくタスク検証するにはトレースサブルーチン
のCALLを多数個所で行わなければならず、本来のプ
ログラムより記憶客数がふえ、且つトレースサブルーチ
ンをCALLするたびにその処理のために余分な計算機
負担がか\す、全般的にスピードが低下し、また逆に本
来の処理では時間的余裕が不足しているにも拘らずトレ
ースによるおくれでカバーされて表面上は正常と誤診さ
れることもある。更に当初組込んであるトレース機能の
削除や新規トレース機能の追加をするにはトレースサブ
ルーチンCALLの削除、挿入のためプログラムの改造
Therefore, the occurrence of an abnormality is random and may occur once a day, once a week, or once a month. Moreover, once such an abnormality occurs, it often has a serious negative impact on the plant, so in order to prevent this from happening, when the computer system is delivered, complicated procedures are carried out during the online operation of the computer system to verify that it operates correctly. There is a need for a method to accurately grasp the movements of tasks that are moving in unison. 0 (A) CALL the trace subroutine within the program.
With this method, the program can only trace the trace subroutine at one place, so in order to verify the task in detail, the trace subroutine must be called at many places, which increases the number of memories compared to the original program. Moreover, each time you call the trace subroutine, an extra burden is placed on the computer for the processing, which reduces the overall speed, and conversely, even though there is insufficient time for the original processing, tracing Sometimes the condition is delayed and is misdiagnosed as normal on the surface. Furthermore, to delete the originally built-in trace function or add a new trace function, the program must be modified to delete or insert the trace subroutine CALL.

登録がえを要するので連続運転中の計算機の運用に影響
を与える欠点がある。
Since it requires reregistration, it has the drawback of affecting the operation of the computer during continuous operation.

(B)目的トレース番地9条作付分岐または無条件飛び
こし命令コードの1つをトレースキー情報トして設定し
、CPUレベルの実行命令1ステツプごとに現在実行番
地又は現在命令コードをトレースキー情報と照合し、一
致すればCPUにわりこみをかける方法で、この場合ト
レースキー情報を1個しか指定できず、収集するトレー
ス情報が多すぎたり少なすぎたりする欠点がある0 このように従来のトレース方法ではタスク動作の検証を
有効に行なえなかった。
(B) Set the target trace address by setting one of the 9 cropping branches or unconditional jump instruction codes as trace key information, and set the current execution address or current instruction code as the trace key information for each step of the CPU level execution command. In this method, if there is a match, the CPU is interrupted.In this case, only one trace key information can be specified, and the disadvantage is that too much or too little trace information may be collected. The method could not effectively verify task behavior.

本発明は以上の欠点を除くためマイクロプログラム方式
計算機でCPUレベルの実行命令1ステツプを複数個の
マイクロ命令に分解設定及び実行する時間を利用し、並
行してトレースモード、タスク番号、命令コード又は番
地から成るトレース条件につき「成立」、「不成立」を
判定し、「成 5− 立」時にはタスク番号2香地と時刻の組合わせ情報をW
CSに蓄積、保存して命令実行終了と調歩をとるが、不
成立時には何もせず命令実行終了と調歩をとるもので以
下に詳細に説明する。
In order to eliminate the above-mentioned drawbacks, the present invention makes use of the time it takes to break down and execute one step of a CPU-level execution instruction into a plurality of microinstructions in a microprogram computer, and in parallel, the trace mode, task number, instruction code, etc. It is determined whether the trace condition consisting of an address is "true" or "not true", and if it is "true", the combination information of task number 2 address and time is sent to W.
It is accumulated and saved in the CS to start the execution of the command, but when the result is not established, nothing is done and the execution of the command is started, which will be explained in detail below.

第1図において1は計算機のCPU (中央処理装置)
、2はMEM(主記憶装置)、3はWCS(Writa
ble Control Storage)を示しクロ
ックを省いている。公知の如くマイクロプログラム方式
の計算機ではCPUIの命令カウンタの内容は、次に実
行すべきMEM2上の番地を示し、この番地に格納され
たCPUレベルの命令をWCS3のマイクロ命令群に分
解設定し、この命令群の実行によってCPUレベルの命
令が実行される構造になっている。
In Figure 1, 1 is the computer's CPU (central processing unit)
, 2 is MEM (main memory), 3 is WCS (Writer
ble Control Storage), and the clock is omitted. As is well known, in a microprogram type computer, the contents of the instruction counter of the CPUI indicate the address on MEM2 to be executed next, and the CPU level instructions stored at this address are broken down into a group of WCS3 microinstructions, The structure is such that CPU-level instructions are executed by executing this group of instructions.

第2図はトレースキー情報としてトレースモード、目的
トレース\タスク番号と目的トレース命令コードを使用
する場合のCPUレジスタのデータ配列を示し、第3図
はそれらのトレースキー情報を用いてトレースすべきC
PUレベルの実行命令1ステツプのマイクロ命令展開手
順を示す。第 6− 2図はすべてレジスタを使用する場合で、トレースモー
ドはたとえばCPUのステータスレジスタを使う。CP
Uの現在実行番地が公知の方法で与えられると、点線で
示すようにり、Tの処理が並行処理される。こ\に、 D;命令がフェッチ解読されて複数個のマイクロ命令に
分解設定され、次いで実行される。
Figure 2 shows the data array of the CPU register when using the trace mode, target trace\task number, and target trace instruction code as trace key information, and Figure 3 shows the data array of the CPU register to be traced using the trace key information.
The microinstruction expansion procedure for one step of the PU level execution command is shown. Figure 6-2 shows a case where all registers are used, and in trace mode, for example, the status register of the CPU is used. C.P.
When the current execution address of U is given by a known method, the processing of T is performed in parallel, as shown by the dotted line. Here, D; the instruction is fetched, decoded, decomposed into a plurality of microinstructions, and then executed.

T;レジスタに格納されているトレースモード(例tば
cPUのステータスレジスタの1ビツト情報)が1運転
」と一致しているか?レジスタの目的トレースタスク番
号がレジスタの現在タスク番号と一致しているか?レジ
スタの目的トレース命令コードがレジスタの現在実行命
令コードと一致しているか7をしらべすべて一致してい
ればトレースキー情報「成立」と判定して現在タスク番
号、現在実行番地と時刻(クロックの情報で時9分)の
組合わせ情報をWCSにエンドレスサイクリックに格納
するが、一つでも一致していなければWCSへの格納を
行なわない。この格納法は後述する。
T: Does the trace mode stored in the register (for example, 1-bit information of the cPU status register) match "1 operation"? Does the register's purpose trace task number match the register's current task number? Check whether the purpose trace instruction code of the register matches the currently executed instruction code of the register. If all 7 match, the trace key information is determined to be "established" and the current task number, current execution address, and time (clock information) are determined. The combination information (time 9 minutes) is stored in the WCS in an endless cyclical manner, but if even one item does not match, the combination information is not stored in the WCS. This storage method will be described later.

D、Tの2個の処理の終了時点の調歩をとってからCP
Uの実行命令1ステツプを終り、CPUの次の実行番地
が定まり以下同様にくり返す。この場合、トレースモー
ドが「運転」か「停止」かの情報と目的トレースタスク
番号と目的トレース命令コードとは前以て別のCPUレ
ベルの実行命令で各レジスタ格納されていなければなら
ない。
CP after taking the start at the end of the two processes D and T.
One step of the execution instruction of U is completed, the next execution address of the CPU is determined, and the process is repeated in the same manner. In this case, the information as to whether the trace mode is "run" or "stop", the target trace task number, and the target trace command code must be stored in each register in advance as a separate CPU-level execution command.

別の実施例として第4図はトレースキー情報としてトレ
ースモード、目的トレースタスク番号と複数の目的トレ
ース番地を使用する場合のWCSとCPUレジスタのデ
ータ配列を示し、第5図はそれらのトレースキー情報を
用いたマイクロ命令展開手順を示す。これは第3図で使
用されたトレースキー情報のうち1個の目的トレース命
令コードの代りに複数個の目的トレース番地が使用され
る点が異なるので、これらのトレース1H4kのいずれ
かと現在実行番地との一致を複数回WC8から目的トレ
ース番地をロードしてチェックしなければならないがそ
の他の処理は第3図と第5図とで全く変りはない。トレ
ースキー情報が前以てレジスタやWCSに格納されてい
なければならないことは勿論である。第4図で朱印はW
CS、その他はすべてレジスタを使用し、トレースモー
ドはたとえばCPUのステータスレジスタを使うO登録
ずみのすべてのタスク、またはタスク番号が割9尚てら
れていない管理タスクに対しても特定のタスク番号を割
り当てることにより、複数個のタスク番号を個別に指定
しなくてもトレース情報として使用できる。
As another example, FIG. 4 shows the data arrangement of the WCS and CPU registers when a trace mode, a target trace task number, and a plurality of target trace addresses are used as trace key information, and FIG. 5 shows the trace key information. This section shows the microinstruction expansion procedure using . This is different from the trace key information used in Figure 3 in that multiple target trace addresses are used instead of one target trace instruction code, so any one of these traces 1H4k and the current execution address It is necessary to check the match by loading the target trace address from the WC 8 multiple times, but the other processing is completely the same between FIG. 3 and FIG. 5. Of course, the trace key information must be stored in a register or WCS in advance. In Figure 4, the red stamp is W.
CS, all others use registers, and trace mode uses the CPU status register, for example. By assigning, multiple task numbers can be used as trace information without having to specify them individually.

また主記憶非常駐タスク(常時補助記憶装置に格納され
動作時に主記憶装置にロードされるタスク)であっても
、種々のタスクが同一主記憶領域で時分割に動作してい
る場合、タスク番号をトレースキー情報の一つに選ぶこ
とにより目的タスクの動作のみ抽出してトレースするこ
とができる。
Furthermore, even if the task is non-resident in main memory (a task that is always stored in auxiliary memory and loaded into main memory during operation), if various tasks are running in the same main memory area in a time-sharing manner, the task number cannot be changed. By selecting it as one of the trace key information, only the operation of the target task can be extracted and traced.

トレースキー情報は計算機の初期起動以前に格納しても
よいし、連続運転中の計算機のあき時間を所としてはW
CSを用いる。計算機の初期起動時 9− には領域の先頭から格納するが、以后トレース結果が蓄
積され、遂に領域の最終まで格納が進むと、次には領域
の先頭番地に戻って格納をつソはエンドレスサイクリッ
クに行なわれる。図の斜線部分は現在実行中のトレース
結果が格納されたもので、その他の部分には過去トレー
ス結果が格納されている。このエリアはCPUから読出
し可能であり、任意の時点で結果をタイプライタ等へ出
力できる。
The trace key information may be stored before the initial startup of the computer, or the free time of the computer during continuous operation may be stored at W.
Use CS. When the computer is initially started, data is stored from the beginning of the area at 9-, but after that, trace results are accumulated and the storage progresses to the end of the area. It is done cyclically. The shaded area in the figure stores the trace results currently being executed, and the other areas store the past trace results. This area can be read from the CPU, and the results can be output to a typewriter or the like at any time.

第7図は目的トレースタスクとしてタスクAがサブルー
チンBをCALLしているもので、サブルーチンBもタ
スクAと見做されることは公知である。本発明のトレー
ス方式をこのタスクAに適用した場合第8−1図のよう
にトレースキー情報のうち目的トレースタスク番号とし
てrAJが、目的トレース命令コードとして[条件は分
岐命令コード」が指定された時には第7図の(イ)、(
ロ)のコースを辿ってタスクAが遂行された時のトレー
ス結果は共に第8−2図に示すごとくになる。また第9
−1図のようにトレースキー情報のうち目的トレースタ
スク番号として「A」が、目的トレース10− 番地として「Iご3J =  rlQ4J t  rl
CsJ−rl(!6Jが指定された時には第7図の(イ
)、(ロ)のコースを辿ってタスクAが遂行された時の
トレース結果はそれぞれ第9−2図、第9−3図に示す
ごとくになる。第9−1図の例ではトレースキー情報領
域を8ワード固定とし目的トレース番地の個数は最大6
個となっているため、所要の番地数がこれより少ない時
には未使用を示す値として例えば−1を格納しておけば
よい。また目的トレース番地の個数を更に大きくするに
はWC8設計時にトレースキー情報領域を大きく決めて
おけばよい。トレース結果に時刻情報を併せて格納して
おけば操業状態の時間的推移を参考にしてタスク検証が
行なえる。トレースを終らせ通常の実行のみにするには
、トレースモード「停止」の情報を別のタスクで書きこ
めばよい。
In FIG. 7, task A calls subroutine B as a target trace task, and it is well known that subroutine B is also regarded as task A. When the tracing method of the present invention is applied to this task A, as shown in Figure 8-1, rAJ is specified as the target trace task number in the trace key information, and [condition is branch instruction code] is specified as the target trace instruction code. Sometimes (a), ( in Figure 7)
When task A is executed following the course of b), the trace results are as shown in Figure 8-2. Also the 9th
-1 As shown in figure 1, "A" is the target trace task number in the trace key information, and "Igo3J = rlQ4J t rl" is the target trace 10- address.
When CsJ-rl (!6J is specified, the trace results when task A is executed following the courses (a) and (b) in Figure 7 are shown in Figures 9-2 and 9-3, respectively. In the example shown in Figure 9-1, the trace key information area is fixed at 8 words, and the number of target trace addresses is 6 at maximum.
Therefore, if the required number of addresses is less than this, for example, -1 may be stored as a value indicating unused. Furthermore, in order to further increase the number of target trace addresses, the trace key information area may be determined to be large when designing the WC8. If time information is stored together with the trace results, task verification can be performed with reference to the temporal changes in the operating status. To end the trace and return to normal execution, you can write the trace mode "stop" information in another task.

本発明によれば連続運転中の計算機に対して、本来の処
理に近い運転状態で被テストタスクの動作を検証し障害
解析を行なうことができる。計算機が連続運転されてい
ない時にも本方式によって11− タスク検証ができることは言うまでもない。またシステ
ム作成段階においてもデバッグ手段として且つ試験結果
の情報を保存するにも有効である。
According to the present invention, it is possible to verify the operation of a task under test and perform failure analysis on a computer that is in continuous operation in an operating state close to its original processing state. It goes without saying that 11-task verification can be performed using this method even when the computer is not in continuous operation. It is also effective at the system creation stage as a debugging means and for storing test result information.

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

第1図はマイクロプログラム方式の計算機の構成略図。 第2図、第4図はWC8とレジスタにおけるトレースキ
ー情報の配列図、第3図、第5図はそれぞれ第2図、第
4図によるトレースキー情報に対応したマイクロ命令手
順の展開図、第6図はトレース結果格納状況図、第7図
はトレース説明用のタスク例のフロー図、第8−1図、
第9−1図は第7図のタスクをトレースするためのトレ
ースキー情報例の配列図、第8−2図は第8−1図のト
レースキー情報を用いたトレース結果の配列図、第9−
2図、第9−3図は第9−1図のトレースキー情報を用
いたトレース結果の配列図である。 1・・・CPU(中央処理装置) 2・・・MEM(主記憶装置) T j 図 T 2 図 才 4 図 手続補正書動劫 1.事件の表示   特願昭\t、5−−,37702
、発明の名称  4.17)(1−’)・dσパ乃μ肴
へ剖4凧のイン叡−/ k V−て禎 3、補正をする者 事件との関係        出願人 4、代 理 人 住  所  川崎市川崎区田辺新1111番1号5、補
正指令の目付  昭和ハδ年少月z6[二16、補正に
より増加する発明の数 補正の内容 1、図面の第6図、亀\\嘉(2)ゲ第9−2図及び第
9−3図を添付図面第6図、 !IN %’i3驚第9
−2図及び第9−3図の如く訂正する。 イ℃理人弁理士 山 口   嶌 、3j−6図 オ’?−2閃      +(?−3図手続補正書軸発
) 昭和58年5月26日 1、事件の表示   特願昭\郊−−37764弧ρイ
ン叡プVし・5−升へ 4、代 理 人 住  所  川崎市川崎区田辺新II’11番1号8、
補正の内容  別紙の通り 補正の内容 ■、明細書第9頁第20行のrwcsを用いる。」と「
計算機の初期起動時」の間に「そして情報内容は現在タ
スク番号、現在実行番地9時・分から成る。」を挿入す
る。 2、図面第δ−2図を名了正肌■ 代理人弁理士 山 口   過 237−
Figure 1 is a schematic diagram of the configuration of a microprogram type computer. 2 and 4 are arrangement diagrams of the trace key information in the WC8 and registers, and FIGS. 3 and 5 are developed diagrams of the microinstruction procedure corresponding to the trace key information according to FIGS. 2 and 4, respectively. Figure 6 is a trace result storage status diagram, Figure 7 is a flow diagram of an example task for explaining tracing, Figure 8-1,
Figure 9-1 is an array diagram of an example of trace key information for tracing the task in Figure 7; Figure 8-2 is an array diagram of trace results using the trace key information in Figure 8-1; −
2 and 9-3 are array diagrams of trace results using the trace key information of FIG. 9-1. 1...CPU (Central Processing Unit) 2...MEM (Main Memory) T j Diagram T 2 Diagram 4 Diagram Procedure Correction Written Movement 1. Incident display Tokugan Sho\t, 5--, 37702
, Title of the invention 4.17) (1-')・dσ PANO MU SAKE 4 KITE INEI -/k V-TEEI 3. Relationship with the person making the amendment Applicant 4, Agent Address: 1111-1-5, Tanabe Shin, Kawasaki-ku, Kawasaki City, Weight of the amendment order: Showa Ha δ Years and Months z6 [216, Number of inventions to be increased by the amendment Contents of the amendment 1, Figure 6 of the drawings, Kame\\ka (2) Figures 9-2 and 9-3 are attached to Figure 6! IN %'i3 surprise 9th
Correct as shown in Figure-2 and Figure 9-3. I℃Patent Attorney Yamaguchi Suma, 3j-6 Figure O'? -2 flash + (? - 3 figure procedural amendment axis) May 26, 1980 1, Display of the case Tokkun Sho \ Subaru - 37764 arc ρ impingement V shi・5-masu 4, generation Address: Shin Tanabe II'11-1-8, Kawasaki-ku, Kawasaki City
Contents of the amendment As shown in the attached document, the content of the amendment (■) uses the rwcs on page 9, line 20 of the specification. "and"
``The information content consists of the current task number and the current execution address 9 o'clock.'' is inserted between ``At initial startup of the computer''. 2. Please refer to the drawing No. δ-2 with the correct appearance ■ Attorney Patent Attorney Yamaguchi Kaoru 237-

Claims (1)

【特許請求の範囲】 1)CPU(中央処理装置)内にクロックおよびW C
S (Writable Control Stora
ge)を有するマイクロプログラム方式計算機のオンラ
イントレース方式において、CPUレベルの実行命令1
ステツプをフェッチして複数個のマイクロ命令への分解
設定及びその実行処理を行うとともに;これと並行して
別のマイクロ命令でトレース条件「成立」、「不成立」
を判定し、「成立」の時にはCPUレベルの現在タスク
番号、現在実行番地、現在時刻の組合わせ情報をWC8
にエンドレスサイクリックに格納するが、「不成立」の
時には格納しない処理を行ない;該2処理終了の調歩を
とって後、次のCPUレベルの実行命令ステップへ進む
事を特徴とするマイクロプログラム方式計算機のオンラ
イントレース方式。 2)CPUのレジスタのうち5個を用いて、[運転」、
「停止」の2値から成るトレースモードと、現在タスク
番号と、現在命令コードと、目的トレースタスク番号と
、目的トレース命令コードとをそれぞれ前以て格納して
あって、CPUレベルの実行命令1ステツプごとに、マ
イクロ命令によりトレースモードが「運転」で、現在タ
スク番号と現在命令コードの組合わせ情報が目的トレー
スタスク番号と目的トレース命令コードの組合わせ情報
に一致すると判定されればトレース条件「成立」とする
事を特徴とする特許請求範凹第−項記載のマイクロプロ
グラム方式計算機のオンライントレース方式。 3)CPUのレジスタのうち4個を用いて、「運転」、
「停止」の2値から成るトレースモードと、現在タスク
番号と、現在実行番地と、目的トレースタスク番号とを
、又WC8には複数個の目的トレース番地をそれぞれ前
以て格納してあって、CPUレベルの実行命令1ステツ
プごとに、マイクロ命令によりトレースモードが「運転
」で、現在タスク番号が目的トレースタスク番号に一致
し、且つ現在実行番地が目的トレース番地のいずれかに
一致すると判定されればトレース条件「成立」とする事
を特徴とする特許蹟求範囲第−項記載のマイクロプログ
ラム方式計算機のオンライントレース方式。
[Claims] 1) A clock and a W C in the CPU (Central Processing Unit)
S (Writable Control Stora
In the online tracing method of a microprogram computer with
Fetch the step, set it to break it down into multiple microinstructions, and execute it; in parallel, use another microinstruction to determine whether the trace condition is ``true'' or ``untrue.''
is determined, and when it is "established", the combination information of the current task number, current execution address, and current time at the CPU level is sent to the WC8.
A microprogram type computer is characterized in that it stores data in an endless cyclical manner, but does not store data when the result is "unsatisfactory"; after taking steps to complete the two processes, it proceeds to the next execution instruction step at the CPU level. online tracing method. 2) Using 5 of the CPU registers, [operation],
A trace mode consisting of two values of "stop", a current task number, a current instruction code, a target trace task number, and a target trace command code are stored in advance, and the CPU level execution command 1 For each step, if it is determined by the microinstruction that the trace mode is "Run" and the combination information of the current task number and current instruction code matches the combination information of the target trace task number and target trace command code, the trace condition " 1. An online tracing method for a microprogram computer according to claim 1, characterized in that: 3) Using four of the CPU's registers, "operate",
A trace mode consisting of two values of "stop", a current task number, a current execution address, a target trace task number, and a plurality of target trace addresses are stored in the WC8 in advance. For each step of the execution instruction at the CPU level, the microinstruction determines that the trace mode is "running", the current task number matches the target trace task number, and the current execution address matches one of the target trace addresses. For example, an online tracing method for a microprogram computer according to item 1 of the patent scope, characterized in that the tracing condition is "satisfied."
JP58003770A 1983-01-13 1983-01-13 On-line tracing method in microprogram type computer Pending JPS59128640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58003770A JPS59128640A (en) 1983-01-13 1983-01-13 On-line tracing method in microprogram type computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58003770A JPS59128640A (en) 1983-01-13 1983-01-13 On-line tracing method in microprogram type computer

Publications (1)

Publication Number Publication Date
JPS59128640A true JPS59128640A (en) 1984-07-24

Family

ID=11566404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58003770A Pending JPS59128640A (en) 1983-01-13 1983-01-13 On-line tracing method in microprogram type computer

Country Status (1)

Country Link
JP (1) JPS59128640A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62290942A (en) * 1986-06-09 1987-12-17 Nec Corp Debugger starting system
JPS63236142A (en) * 1987-03-24 1988-10-03 Yokogawa Electric Corp Software monitoring device
JPH0195334A (en) * 1987-10-07 1989-04-13 Nec Corp Multi-task address trap system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62290942A (en) * 1986-06-09 1987-12-17 Nec Corp Debugger starting system
JPS63236142A (en) * 1987-03-24 1988-10-03 Yokogawa Electric Corp Software monitoring device
JPH0195334A (en) * 1987-10-07 1989-04-13 Nec Corp Multi-task address trap system

Similar Documents

Publication Publication Date Title
US4703481A (en) Method and apparatus for fault recovery within a computing system
CA1235816A (en) Error recovery system in a data processor having a control storage
JPH0533423B2 (en)
CN101802793A (en) Method for processing the volume of information handled during the debugging phase of operational software onboard an aircraft and device for implementing the same
CN107657153B (en) Code protection method and device for flash area in chip
US3618042A (en) Error detection and instruction reexecution device in a data-processing apparatus
JPS59128640A (en) On-line tracing method in microprogram type computer
US5819081A (en) Method of executing a branch instruction of jumping to a subroutine in a pipeline control system
JPS6049937B2 (en) Microprogram controlled data processing device
JPS60142747A (en) Instruction execution control system
JPS5452936A (en) Memroy processor
JP2581214B2 (en) Logic simulator
SU1524055A1 (en) Device for checking programs
JPH0831054B2 (en) History information storage method
JPS59121540A (en) Operation control system
KR950005523B1 (en) Step-run processing method of programmable logic controller
JPS61290546A (en) Tracing system for microprogram controller
JPS6132146A (en) Instruction simulation control system
JPS5815812B2 (en) Data storage system
JPH11327940A (en) Instruction re-execution control system
JPS59151250A (en) Debugging device
JPH03252769A (en) Logical simulation system
JPS59744A (en) Data processor
JPH064345A (en) History information storage system
JPH0522258B2 (en)