JPH02307135A - Monitoring method for instruction executing action - Google Patents

Monitoring method for instruction executing action

Info

Publication number
JPH02307135A
JPH02307135A JP1129641A JP12964189A JPH02307135A JP H02307135 A JPH02307135 A JP H02307135A JP 1129641 A JP1129641 A JP 1129641A JP 12964189 A JP12964189 A JP 12964189A JP H02307135 A JPH02307135 A JP H02307135A
Authority
JP
Japan
Prior art keywords
microprocessor
display
address value
memory
address
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
JP1129641A
Other languages
Japanese (ja)
Inventor
Shigeo Takahashi
重夫 高橋
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment Co Ltd
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 Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP1129641A priority Critical patent/JPH02307135A/en
Publication of JPH02307135A publication Critical patent/JPH02307135A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To decide an abnormal action in real time by displaying a mode corresponding the logical state of the input/output signal of a microprocessor at the coordinate position of a display in accordance with the output address value of the microprocessor or the I/O address value. CONSTITUTION:An address bus of a frame memory 6 is connected to an address bus of a microprocessor 2 containing a memory 1. At the same time, a data input bus of the memory 6 is connected to a read/write terminal of the processor 2. Then a data output bus and a control terminal of the memory 6 are connected to a display 7 and a control part 8 respectively. In such a constitution, an instruction executing action monitor device 9 is attained. Then a character, a symbol or a mark of a prescribed mode corresponding to the logical state of the input/output signal of the microprocessor 2 is displayed at the coordinate position of the display 7 in accordance with the output address value of the processor 2 or the I/O address value. Thus it is possible to decide in a short time whether a due action is normal or not.

Description

【発明の詳細な説明】 (発明の詳細な説明) 本発明はマイクロプロセッサの異常動作を検出するため
の命令実行動作監視方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an instruction execution operation monitoring method for detecting abnormal operation of a microprocessor.

(従来技術) マイクロプロセッサは、プログラムに従って種々の処理
を行うため、作成したプログラムに対してその命令実行
動作を監視し正常に動作するか否かを確認する必要があ
り、正常に動作しない場合はプログラムのデバッグを行
っていた。
(Prior Art) Microprocessors perform various processes according to programs, so it is necessary to monitor the instruction execution operation of the created program and check whether it operates normally. I was debugging the program.

従来、第2図に示すようにメモリ1を備えたマイクロプ
ロセッサ2の命令実行動作を監視する場合は前記マイク
ロプロセッサ2に替えてこれと同等の機能を有するマイ
クロプロセッサ3とその入出力論理状態値を表示するた
めのモニタ4とによって構成するインサーキット・エミ
ュレータ(ICE)5を接続していた。
Conventionally, when monitoring the instruction execution operation of a microprocessor 2 equipped with a memory 1, as shown in FIG. An in-circuit emulator (ICE) 5 consisting of a monitor 4 and a monitor 4 for displaying the information was connected.

このようにICE5を接続すればマイクロプロセッサ3
はモニタ4によってその動作をプログラムのステップ時
間毎に停止することができ、又その時マイクロプロセッ
サ3の入出力論理状態値を表示することができるためI
CE5が表示する一連の入出力論理状態値の前後関係か
らマイクロプロセッサ2が正常に動作しているか否かを
確認することができる。
If you connect ICE5 like this, microprocessor 3
The monitor 4 can stop its operation at each step time of the program, and at that time the input/output logic state values of the microprocessor 3 can be displayed.
It can be confirmed whether the microprocessor 2 is operating normally from the context of a series of input/output logic status values displayed by the CE 5.

しかしながら、このICEを用いた命令実行動作監視方
法ではプログラムのステップ時間毎にマイクロプロセッ
サの動作を停止しなければならないためその動作が正常
か否かを確認するのに時間がかがり又、動作停止時に入
出力論理状態値を読み取ってその動作状態を認識する作
業は煩雑であるから容量が大きいプログラムをデバッグ
するのは非常に困難であった。
However, in this instruction execution operation monitoring method using ICE, it is necessary to stop the operation of the microprocessor at each step time of the program, so it takes time to check whether the operation is normal or not. Since the task of reading input/output logic state values and recognizing their operating states is complicated, it has been extremely difficult to debug large-capacity programs.

(発明の目的) 本発明は上述した命令実行動作監視方法の問題点を解決
するためになされたものであって、容量が大きいプログ
ラムによって動作するマイクロプロセッサの命令実行動
作を監視する場合でも短時間にその動作が正常か否かを
判断することが可能な命令実行動作監視方法の提供を目
的とする。
(Object of the Invention) The present invention has been made in order to solve the problems of the above-mentioned instruction execution operation monitoring method. An object of the present invention is to provide a method for monitoring an instruction execution operation that can determine whether the operation is normal or not.

(発明の概要) 上述の目的を達成するため本発明に於いては以下の如き
構成をとる。
(Summary of the Invention) In order to achieve the above object, the present invention has the following configuration.

即ち、マイクロプロセッサの出力アドレス値又はI/O
アドレス値に応じた表示部の座標位置に該マイクロプロ
セッサの入出力信号の論理状態に対応した所定fi様の
文字、記号或はマーク等を表示するように機成する。
That is, the microprocessor's output address value or I/O
It is arranged to display a predetermined fi-like character, symbol, mark, etc. corresponding to the logical state of the input/output signal of the microprocessor at the coordinate position of the display section corresponding to the address value.

(実施例) 以下、本発明を図面に示した実施例に基づいて詳細に説
明する。
(Example) Hereinafter, the present invention will be described in detail based on an example shown in the drawings.

第1図は本発明に係る命令実行動作監視装置の一実施例
を示す構成図である。
FIG. 1 is a block diagram showing an embodiment of an instruction execution operation monitoring device according to the present invention.

同図に於いて6はフレームメモリであって、そのアドレ
スバスとメモリ1を備えたマイクロプロセッサ2のアド
レスバスとを接続すると共にフレームメモリ6のデータ
入力バスとマイクロプロセッサ2のリード/ライト端子
とを接続し、フレームメモリ6のデータ出力バス及び制
御端子を夫々ディスプレイ7及び制御部8に接続して命
令実行動作監視装置9を構成する。ここで、フレームメ
モリのアドレスはO番地から最終番地まで順番にディス
プレイ7の表示画面の最左上から水平方向に順次座標位
置に対応せしめる。
In the figure, 6 is a frame memory, which connects its address bus to the address bus of the microprocessor 2 equipped with the memory 1, and also connects the data input bus of the frame memory 6 to the read/write terminal of the microprocessor 2. A data output bus and a control terminal of the frame memory 6 are connected to a display 7 and a control unit 8, respectively, thereby forming an instruction execution operation monitoring device 9. Here, the addresses of the frame memory are sequentially made to correspond to coordinate positions in the horizontal direction from the top left of the display screen of the display 7 in order from address O to the final address.

上述のように構成した命令実行動作監視装置は以下の如
く動作する。
The instruction execution operation monitoring device configured as described above operates as follows.

即ち、フレームメモリ6をリセットしてディスプレイ7
の画面全体に白を表示した後にマイクロプロセッサ2を
動作せしめれば、プログラムに応じてフレームメモリ6
はアドレス信号を入力すると共にリード/ライト信号を
入力しそのリード/ライト信号がデータ読み出し論理状
態又はデータ書き込み論理状態の場合はアドレス信号に
応じたディスプレイ7の所定座標位置に黒のドツトを表
示する。
That is, the frame memory 6 is reset and the display 7
If the microprocessor 2 is activated after displaying white on the entire screen, the frame memory 6 will be activated according to the program.
inputs an address signal and a read/write signal, and if the read/write signal is in a data read logic state or a data write logic state, a black dot is displayed at a predetermined coordinate position on the display 7 according to the address signal. .

ここで、マイクロプロセッサがメモリに対してアドレス
の0番地から最終番地まで順番にデータの読み出し又は
書き込みを行う動作を正常動作とした場合、上述の命令
実行動作監視装置のディスプレイの画面表示を監視すれ
ばディスプレイはその画面の最左上から水平方向に順次
黒のドツトを表示し、最終的に画面全体の色は白から黒
になるため、ディスプレイの画面上にランダムに黒のド
ツトを表示する場合はマイクロプロセッサがランダムに
メモリアドレスに対してデータの読み出し又は書き込み
を行うから/Oグラムが暴走を生じているものと判断す
ることができる。又、ディスプレイ画面の途中の座標位
置に於いて白から黒への表示色の変化が停止し画面全体
の色が最終的に白から黒に変わらない場合はマイクロプ
ロセッサがメモリに対してその停止した座標位置に応じ
たアドレスの番地とO番地との間で永久ループを生じて
いるものと判断することができる。
Here, if the normal operation is for the microprocessor to sequentially read or write data from address 0 to the last address in the memory, then the screen display of the above-mentioned instruction execution operation monitoring device should be monitored. For example, the display will display black dots in sequence horizontally from the top left of the screen, and the color of the entire screen will eventually change from white to black, so if you want to display black dots randomly on the screen of the display, Since the microprocessor randomly reads or writes data to memory addresses, it can be determined that the /O-gram is out of control. Also, if the display color stops changing from white to black at a coordinate position in the middle of the display screen, and the color of the entire screen does not change from white to black, the microprocessor registers the stopped change in the memory. It can be determined that an eternal loop is occurring between the address corresponding to the coordinate position and the O address.

従って、上述の命令実行動作監視装置によればマイクロ
プロセッサの動作を停止せしめることなく実時間で監視
を行えるためディスプレイ画面の表示状態から短時間に
マイクロプロセッサの動作を監視することができ又、デ
ィスプレイの表示を監視すればその表示パターンから視
覚的にマイクロプロセッサが正常か否かを容易に判断す
ることができる。
Therefore, according to the above-mentioned instruction execution operation monitoring device, since it is possible to monitor the microprocessor in real time without stopping the operation of the microprocessor, the operation of the microprocessor can be monitored in a short time from the display state of the display screen. By monitoring the display, it is possible to visually determine whether the microprocessor is normal or not based on the display pattern.

又、本発明は制御部8によってフレームメモリ6の記憶
内容の一部又は全部を所定の時間毎にリセットしても良
い、即ち、このようにすればその周期内に於けるマイク
ロプロセッサの動作を詳細に監視することができる。
Furthermore, in the present invention, part or all of the storage contents of the frame memory 6 may be reset by the control unit 8 at predetermined intervals. Can be closely monitored.

尚、上述の実施例ではマイクロプロセッサのり−ド/ラ
イト信号の論理状態に応じてディスプレイの所定座標位
置に黒のドツトを表示したが本発明はこれに限る必要は
なくマイクロプロセッサの入出力信号の論理状態に予め
対応せしめた文字、記号又はマーク等を表示或はその輝
度又は色相もしくはそれ等の組み合せ等の態様を前記マ
イクロプロセッサの入出力信号の論理状態に応じて変化
せしめても良い。
In the above-described embodiment, a black dot is displayed at a predetermined coordinate position on the display according to the logic state of the microprocessor read/write signal, but the present invention is not limited to this; Characters, symbols, marks, etc. that correspond in advance to logical states may be displayed, or aspects such as brightness, hue, or a combination thereof may be changed in accordance with the logical state of input/output signals of the microprocessor.

この実施例ではフレームメモリのアドレス値とディスプ
レイ画面の座標位置との位置関係は上述に限らず、又I
/Oアドレス値をディスプレイ画面の所定座標位置に対
応せしめても良い。
In this embodiment, the positional relationship between the address value of the frame memory and the coordinate position of the display screen is not limited to that described above, and
The /O address value may correspond to a predetermined coordinate position on the display screen.

更に、マイクロプロセッサの入出力信号の論理状態に応
じた態様を表示するものはディスプレイに限らず種々の
表示装置であれば良いこと自明であろう。
Furthermore, it is obvious that various display devices may be used, not just a display, to display a mode corresponding to the logical state of an input/output signal of a microprocessor.

(発明の効果) 本発明は以上説明したように、マイクロプロセッサの出
力アドレス値又はI/Oアドレス値に応じた表示部の座
標位置に前記マイクロプロセッサの入出力信号の論理状
態に対応した態様を表示するものであり、表示状態によ
って異常動作を実時間によって判断することができるか
ら短時間かつ視覚的にマイクロプロセッサの正常動作を
行えるようにプログラムをデバッグすることが可能な命
令実行動作監視方法を提供する上で著効を奏する。
(Effects of the Invention) As explained above, the present invention provides a mode corresponding to the logical state of the input/output signal of the microprocessor at the coordinate position of the display section according to the output address value or I/O address value of the microprocessor. The purpose of the present invention is to develop an instruction execution operation monitoring method that can visually debug a program so that the microprocessor operates normally in a short period of time because abnormal operation can be determined in real time based on the display state. It is effective in providing

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

第1図は本発明に係る命令実行動作監視装置の一実施例
を示す構成図、第2図は従来の命令実行動作監視装置を
示す構成図である。 1・・・マイクロプロセッサ、2・・・メモリ。 6・・・フレームメモリ、7・・・ディスプレイ。 8・・・制御部。 特許出願人 東洋通信機株式会社 第1図 第2図
FIG. 1 is a block diagram showing an embodiment of an instruction execution operation monitoring apparatus according to the present invention, and FIG. 2 is a block diagram showing a conventional instruction execution operation monitoring apparatus. 1...Microprocessor, 2...Memory. 6...Frame memory, 7...Display. 8...control unit. Patent applicant: Toyo Tsushinki Co., Ltd. Figure 1 Figure 2

Claims (2)

【特許請求の範囲】[Claims] (1)プログラムの実行状態を表示するための表示部を
備えた装置に於いて、マイクロプロセッサの出力アドレ
ス値又はI/Oアドレス値に応じて予め定めた表示部の
座標位置に該マイクロプロセッサの入出力信号の論理状
態に予め対応せしめた文字、記号又はマーク等を表示或
はその態様を前記マイクロプロセッサの入出力信号の論
理状態に応じて変化せしめたことを特徴とする命令実行
動作監視方法。
(1) In a device equipped with a display section for displaying the execution status of a program, the microprocessor is placed at a predetermined coordinate position on the display section according to the output address value or I/O address value of the microprocessor. A method for monitoring instruction execution operations, characterized in that characters, symbols, marks, etc. that correspond in advance to the logical states of input/output signals of the microprocessor are displayed or their appearance is changed according to the logical states of the input/output signals of the microprocessor. .
(2)プログラムの実行状態を表示するための表示部を
備えた装置に於いて、マイクロプロセッサの出力アドレ
ス値に応じて予め定めた表示部の座標位置に該アドレス
値のメモリアドレスに対してのアクセス状態に予め対応
せしめた文字、記号又はマーク等を表示或はその態様を
前記マイクロプロセッサのアドレス値のメモリアドレス
に対してのアクセス状態に応じて変化せしめたことを特
徴とする命令実行動作監視方法。
(2) In a device equipped with a display section for displaying the execution status of a program, a coordinate position of the display section determined in advance according to the output address value of the microprocessor is displayed relative to the memory address of the address value. An instruction execution operation monitor characterized in that characters, symbols, marks, etc. that correspond in advance to the access state are displayed or the appearance thereof is changed according to the access state to the memory address of the address value of the microprocessor. Method.
JP1129641A 1989-05-23 1989-05-23 Monitoring method for instruction executing action Pending JPH02307135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1129641A JPH02307135A (en) 1989-05-23 1989-05-23 Monitoring method for instruction executing action

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1129641A JPH02307135A (en) 1989-05-23 1989-05-23 Monitoring method for instruction executing action

Publications (1)

Publication Number Publication Date
JPH02307135A true JPH02307135A (en) 1990-12-20

Family

ID=15014535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1129641A Pending JPH02307135A (en) 1989-05-23 1989-05-23 Monitoring method for instruction executing action

Country Status (1)

Country Link
JP (1) JPH02307135A (en)

Similar Documents

Publication Publication Date Title
JPS63118951A (en) Single chip microcomputer
JPH02307135A (en) Monitoring method for instruction executing action
JPS5840772B2 (en) Data comparison match display method
JPH04284543A (en) Microcomputer program tracing device
JPS62235635A (en) Printing device
JPH03294934A (en) Debugger for high level program lenguage
JP2006172004A (en) Debug supporting device and incircuit emulator
JPH0628039B2 (en) Microcomputer failure analysis device
JPS58144207A (en) Programmable controller
JPS6290733A (en) Device for displaying content of ram
JP2784039B2 (en) Programmable controller
JPS63271542A (en) Rom debugger
JPH0640282B2 (en) Program verification method for programmable controller
JPH02129737A (en) Information processor
JPH01253045A (en) Logical analyzing circuit
WO1990001734A1 (en) Trace control method for pc
JPH07113900B2 (en) Emulation chip
JPH0444770B2 (en)
JPS6160146A (en) Check system of microprogram
JPS61201344A (en) Microcomputer
JPS63180139A (en) Microcomputer for evaluation of program
JPH0345408B2 (en)
JPH05233480A (en) Bus monitor system
JPH0575305B2 (en)
JPH10124339A (en) Digital controller