JPH0375839A - Execution history display system - Google Patents

Execution history display system

Info

Publication number
JPH0375839A
JPH0375839A JP1211484A JP21148489A JPH0375839A JP H0375839 A JPH0375839 A JP H0375839A JP 1211484 A JP1211484 A JP 1211484A JP 21148489 A JP21148489 A JP 21148489A JP H0375839 A JPH0375839 A JP H0375839A
Authority
JP
Japan
Prior art keywords
address
data
video signal
trace memory
crt
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
JP1211484A
Other languages
Japanese (ja)
Inventor
Mitsuo Ichinoseki
一関 光雄
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 JP1211484A priority Critical patent/JPH0375839A/en
Publication of JPH0375839A publication Critical patent/JPH0375839A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To permit an operator to learn the conditions of tracing and to improve operability by immediately displaying information in the middle of tracing on CRT by means of a bit map. CONSTITUTION:The system consists of a data processor 1 a tracer 2 and CRT 3. The address of a trace memory 23 is selected based on address information from the data processor 1, and '1' is set in one designated bit among data stored in the selected address. Since the set data is read out and converted into a video signal, display for CRT 3 can be executed even in the middle of tracing. Thus, the operator can learn the conditions of tracking on a real time basis and a device with satisfactory operability can be constructed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、データ処理装置のトレース方式に関し、特に
トレース中の情報を即時ビットマツプでCRT上に表示
させる実行履歴表示方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a tracing method for a data processing device, and more particularly to an execution history display method for displaying information being traced on a CRT as a real-time bitmap.

[従来の技術] 従来のデータのトレースを行うトレーサは、l−レース
メモリへデータを格納しているときにはCRTへの表示
は行われておらず、トレース終了後、すなわちデータ格
納後にトレースメモリ表示コマンドを実行することによ
り、トレースメモリに格納されたデータが読み呂されて
CRTに表示されるものとなっている。
[Prior Art] A conventional tracer that traces data does not display data on a CRT while storing data in the l-race memory, and issues a trace memory display command after tracing is completed, that is, after data is stored. By executing this, the data stored in the trace memory is read and displayed on the CRT.

[発明が解決しようとする課題] 上述した従来の1〜レーサは、トレース中にCRTへの
表示を行っていないために、操作者にはその間のトレー
スの4に況が分からず、特に1ヘレースが長時間に及ぶ
場合には、使い勝手が悪いという問題があった。
[Problems to be Solved by the Invention] The conventional 1 to 1 tracers described above do not display information on the CRT during tracing, so the operator cannot see the status of the trace during that time, and especially the 1 to 1 trace. There is a problem in that it is inconvenient to use if it lasts for a long time.

1課題を解決するための手段] このような課題を解決するために本発明の実行履歴表示
方式は、格納されるデータの中のlビットデータがトレ
ース対象となる1−アドレスに対応するトレースメモリ
と、データ処理装置から入力したアドレス情報に基づい
てトレースメモリのアドレスの選択を行うとともにこの
選択されたアドレスに格納されるデータの中の指定され
た1ビットに「1」をセットするトレースメモリ更新手
段と、トレースメモリの内容を読み出してビデオ信号に
変換するビデオ信号変換手段と、このビデオ信号変換手
段から変換されたビデオ信号を受信して表示を行うCR
Tとを備えたものである。
[Means for Solving Problem 1] In order to solve such problems, the execution history display method of the present invention uses a trace memory that corresponds to the 1-address where l bit data in the stored data is to be traced. Then, the trace memory update selects the trace memory address based on the address information input from the data processing device and sets "1" to a specified bit in the data stored at the selected address. means, a video signal converting means for reading the contents of the trace memory and converting it into a video signal, and a CR for receiving and displaying the video signal converted from the video signal converting means.
It is equipped with T.

[作用] データ処理装置からアドレス情報が送出されると、この
アドレス情報に基づいてトレースメモリのアドレスの選
択を行うとともにこの選択されたアドレスに格納される
データの中の指定された1ピツI〜に「1−」をセット
する。そして、このセットされたデータは、読み出され
てビデオ信号に変換され表示される。
[Operation] When address information is sent from the data processing device, an address of the trace memory is selected based on this address information, and a specified one bit I to I of the data stored at the selected address is selected. Set "1-" to "1-". This set data is then read out, converted into a video signal, and displayed.

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

図は本発明の実行履歴表示方式の一実施例を示すブロッ
ク図である。同図において、1はデータ処理装置、2は
1〜レーサ、3はCR”「である。そして、データ処理
装置1は次のように構成されている。ずなわち、]1は
CPU、]2は制御メモリ]3は主メモリである。また
、トレーサは次のように構成されている。すなわち、2
]はアドレス格納バッファ、22はトレースメモリ更新
手段、23はトレースメモリ、24はビデオ信号変換手
段である。
The figure is a block diagram showing an embodiment of the execution history display method of the present invention. In the figure, 1 is a data processing device, 2 is 1 to a laser, and 3 is a CR.The data processing device 1 is configured as follows: ]1 is a CPU; 2 is a control memory] 3 is a main memory.The tracer is configured as follows.
] is an address storage buffer, 22 is a trace memory updating means, 23 is a trace memory, and 24 is a video signal converting means.

次に、本発明の実行履歴表示方式についての動作を説明
する。データ処理装置1内の主メモリには、一連の機械
語命令列で構成されたブI7グラムが格納されている。
Next, the operation of the execution history display method of the present invention will be explained. The main memory within the data processing device 1 stores a block I7gram consisting of a series of machine language instruction sequences.

CP U ]、 1は、この機械語命令を主メモリ]3
から1命令づつ読み出し、これを解読してこの機械語命
令をこの機械語命令に対応した制御メモリ12の中のフ
ァームウェア命令の指示に従って実行する。そして、C
PU]、]はこのとき同時に、今実行されたファームウ
ェア命令の格納された制御メモリ12のアドレスを順次
トレーサ2に送出する。
CPU], 1 stores this machine language instruction in the main memory]3
One instruction at a time is read out, decoded, and executed in accordance with the instructions of the firmware instruction in the control memory 12 corresponding to this machine language instruction. And C
At the same time, the PU], ] sequentially sends to the tracer 2 the address of the control memory 12 where the firmware instruction just executed is stored.

トレーサ2では、CPU]、1から受信したファームウ
ェア命令のアドレスをアドレス格納バッファ21に一旦
格納する。ここで、アドレス格納バッファ21に格納さ
れたファームウェア命令アドレスは、トレースメモリ2
3の1ピツl〜に対応している。
In the tracer 2, the address of the firmware instruction received from the CPU 1 is temporarily stored in the address storage buffer 21. Here, the firmware instruction address stored in the address storage buffer 21 is stored in the trace memory 2
It corresponds to 1 pitsu l of 3.

すなわち、ファームウェア命令アドレスの下位3ビット
を除く残りのビットでトレースメモリ23のバイトアド
レスを選択し、ファームウェア命令アドレスの下位3ビ
ットでトレースメモリ23の上記で選択された1バイト
(8ビットに相当する)内のビット位置を選択する。す
なわち、例えばファームウェア命令アドレスの下位3ビ
ットの値がOであれば]−バイ)・データの中で最上位
ビットを選択し、7であれば最下位ビットを選択する。
That is, the remaining bits excluding the lower 3 bits of the firmware instruction address select the byte address of the trace memory 23, and the lower 3 bits of the firmware instruction address select the 1 byte (equivalent to 8 bits) of the trace memory 23 selected above. ). That is, for example, if the value of the lower three bits of the firmware instruction address is 0, the most significant bit is selected in the data, and if it is 7, the least significant bit is selected.

そして、1〜レ一スメモリ更新手段22は、」−記のフ
ァームウェア命令アドレスを入力して、これに基つきト
レースメモリ23の1バイトデータを選択して読み出し
、更にこの読み出されたデータの中の所定のピッ1〜位
置に「1−」をセラ1〜する。
Then, the trace memory update means 22 inputs the firmware instruction address indicated in "-", selects and reads out 1 byte data of the trace memory 23 based on this, and furthermore, stores the read data. Set "1-" to the predetermined pin 1 position.

ずなわち、トレースメモリ更新手段22は、1バイトデ
ータの中からファームウェア命令アドレスの下位3ヒッ
I−により指定されたビット位置を選択し、この選択さ
れたビット位置に「1」をセットして、再びこの「1」
がセットされたデータをトレースメモリ23の今読み出
したアドレスに書き込む。
That is, the trace memory update means 22 selects the bit position specified by the lower three bits I- of the firmware instruction address from 1 byte data, sets "1" to the selected bit position, and , this "1" again
The data in which is set is written to the address of the trace memory 23 that has just been read.

一方、ビデオ信号変換手段24は、常にトレースメモリ
23を走査しており、トレースメモリ23の先頭アドレ
スから順次データを読み出してビデオ信号に変換しCR
T3に送用する。このとき、トレースメモリ23の1ピ
ツ1〜は、CRTB上の1ドツ1〜に対応している。な
お、ビデオ信号変換手段24は、次のようにしてビデオ
信号に変換する。すなわち、トレースメモリ23上の選
択された1ビットの値が「0」のときにはこのデータの
表示を行わず、「1.1のときにはこのデータを明るく
表示するようなビデオ信号に変換してCR”T” 3に
逆円する。そして、Cr? ’r” 3ではこの変換さ
れたビデオ信Bを受信して表示する。
On the other hand, the video signal converting means 24 constantly scans the trace memory 23, sequentially reads data from the first address of the trace memory 23, converts it into a video signal, and converts the data into a video signal.
Send to T3. At this time, 1 dot 1~ of the trace memory 23 corresponds to 1 dot 1~ on the CRTB. Note that the video signal converting means 24 converts into a video signal as follows. That is, when the value of the selected 1 bit on the trace memory 23 is "0", this data is not displayed, and when it is "1.1, this data is converted into a video signal that is displayed brightly and CR". Then, at Cr?'r'' 3, this converted video signal B is received and displayed.

以上説明したように、1〜レース中にその1〜レース状
況を逐次CRTB上に表示させることにより、データ処
理装置のランダムシーケンス試験等の試験プログラム実
行中にファームウIアのどの命令が実行されているかが
一目で分かる。
As explained above, by sequentially displaying the race status on the CRTB during a race, it is possible to determine which commands of the firmware are being executed during the execution of a test program such as a random sequence test of a data processing device. You can see at a glance if there are any.

[発明の効果1 以−L説明したように本発明の実行履歴表示方式は、デ
ータ処理装置からのアドレス情報に基づいてトレースメ
モリのアドレスの選択を行うとともに、この選択された
アドレスに格納されるデータの中の指定された1ビット
に「1」をセットし、そしてこのセットされたデータは
、読み出されてビデオ信号に変換されるように構成した
ので、1〜レース中にもCRTへの表示を行うことがで
きて、操作者にはリアルタイムでトレースの状況か判明
でき、使い勝手の良い装置が構築できるという効果が得
られる。
[Effects of the Invention 1] As explained above, the execution history display method of the present invention selects an address of the trace memory based on address information from the data processing device, and stores data at the selected address. A designated bit in the data is set to "1", and the set data is read out and converted to a video signal, so it can be sent to the CRT even during the race. This allows the operator to see the trace status in real time, resulting in an easy-to-use device.

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

図は本発明の実行履歴表示方式の一実施例を石ずブロッ
ク図である。 工・−・・データ処理装置、2・・・・トレーサ、3・
・・・CRT−14−・・ CPU、]2・−・・制御
メモリ13−−・・主メモリ、21− ・−アドレス格
納バッファ、22.・1〜レ一スメモリ更新手段、2B
−−トレースメモリ、24−・・−ビデオ信は変換手段
The figure is a block diagram of an embodiment of the execution history display method of the present invention. Engineering: Data processing device, 2: Tracer, 3:
...CRT-14--CPU, ]2--Control memory 13--Main memory, 21--Address storage buffer, 22.・1~Response memory update means, 2B
--Trace memory, 24--Video signal conversion means.

Claims (1)

【特許請求の範囲】 データ処理装置のデータ処理実行履歴をトレースするト
レース方式において、 格納されるデータの中の1ビットデータがトレース対象
となる1アドレスに対応するトレースメモリと、 前記データ処理装置から入力したアドレス情報に基づい
て前記トレースメモリのアドレスの選択を行うとともに
この選択されたアドレスに格納されるデータの中の指定
された1ビットに「1」をセットするトレースメモリ更
新手段と、 前記トレースメモリの内容を読み出しビデオ信号に変換
して送出するビデオ信号変換手段と、このビデオ信号変
換手段から変換されたビデオ信号を受信して表示を行う
CRTと を備えたことを特徴とするトレーサの実行履歴表示方式
[Scope of Claim] A trace method for tracing data processing execution history of a data processing device, comprising: a trace memory corresponding to one address to which 1 bit data in stored data is to be traced; trace memory updating means for selecting an address of the trace memory based on input address information and setting "1" to a designated bit in data stored at the selected address; Execution of a tracer characterized by comprising a video signal converting means for reading out the contents of a memory and converting it into a video signal and sending it out, and a CRT for receiving and displaying the video signal converted from the video signal converting means. History display method.
JP1211484A 1989-08-18 1989-08-18 Execution history display system Pending JPH0375839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1211484A JPH0375839A (en) 1989-08-18 1989-08-18 Execution history display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1211484A JPH0375839A (en) 1989-08-18 1989-08-18 Execution history display system

Publications (1)

Publication Number Publication Date
JPH0375839A true JPH0375839A (en) 1991-03-29

Family

ID=16606719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1211484A Pending JPH0375839A (en) 1989-08-18 1989-08-18 Execution history display system

Country Status (1)

Country Link
JP (1) JPH0375839A (en)

Similar Documents

Publication Publication Date Title
US5038348A (en) Apparatus for debugging a data flow program
US4783762A (en) Programmable controller
US4190831A (en) Light pen detection system for CRT image display
JPS62229343A (en) Program counter display system
US5517639A (en) System for outputting execution time of industrial automated apparatus
JPH0375839A (en) Execution history display system
JPS60159911A (en) Hierarchical sequence control device
JPH04142636A (en) Execution history display method
JPH0750460B2 (en) Graph display device
JPH04330574A (en) Method and device for editing graphic
JPH0353666B2 (en)
KR820002369B1 (en) Process control device
JPH0643836Y2 (en) Character output device
JPH06161516A (en) Checking method for sequence program
JPH0650506B2 (en) Kana-Kanji converter
JPS6238746B2 (en)
JPS63189948A (en) Batch type debugging system in interactive debugger
JPS5829057A (en) Trace device for register
JPH0363834A (en) Instruction execution history measuring mechanism
KR19990061544A (en) Industrial Robot Teaching Manipulator
JPS62236067A (en) Sentence processor
JPS6051903A (en) Generating method of process control program
JPH03245206A (en) Method and device for programming of industrial robot
JPH04242804A (en) Numerical controller
JPH0588946A (en) History memory write system