JPS59135555A - Program tracing device - Google Patents

Program tracing device

Info

Publication number
JPS59135555A
JPS59135555A JP58009017A JP901783A JPS59135555A JP S59135555 A JPS59135555 A JP S59135555A JP 58009017 A JP58009017 A JP 58009017A JP 901783 A JP901783 A JP 901783A JP S59135555 A JPS59135555 A JP S59135555A
Authority
JP
Japan
Prior art keywords
address
memory
program
trace
section
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
JP58009017A
Other languages
Japanese (ja)
Inventor
「やぶ」内 秀和
Hidekazu Yabuuchi
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP58009017A priority Critical patent/JPS59135555A/en
Publication of JPS59135555A publication Critical patent/JPS59135555A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Abstract

PURPOSE:To confirm whether the instruction that is contained in a module, a subroutine, an interruption processing or an optionally designated program range are executed by a CPU, by distinguishing and displaying the traced results for each designated address range. CONSTITUTION:An instruction memory address 302 delivered from a CPU300 is written to a region where a trace memory 340 is continuous. A reading control part 350 delivers a reading control signal 351 and then delivers in turn the contents of the memory 340 from the head. A comparator part 360 compares the contents of the memory 340 with address lower and upper limit values 361 and 362 delivered from an address range designating part 363. That is, it is decided that the output A of the memory 340 is within an address range designated by an address range designating 363 when the output A is defined as the address lower limit value <=A<=address upper limit value. Then the output A is sent to the column position corrsponding to the part 363 at a display part 390. Thus it is possible to display the program flow in the form of a timing chart and for each module, subroutine, interruption processing program and optional address respectively. This improves the debugging efficiency.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はプログラムの実行状態を表示する7°ログラム
トレース装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a 7° program trace device that displays the execution status of a program.

従来例の構成とその問題点 近年、マイクロコンピュータに代表されるコンピュータ
のハードウェア技術の進歩に伴って、そのプログラム開
発が量的に多大なものとなって来ている−0このプログ
ラム開発に於いて最も時間を占めるのがデバッグ作業で
ある。プログラム開発者は作成したプログラムが本来の
要求を正しく満たしている事を確認するために、各種の
チェック及び修、正を施してデバッグを行う。このチェ
ックを効率的に行うために、従来よりプログラム開発装
置、又はデバッグ装置と呼ばれるものが利用されており
、プログラム開発者はデバッグ装置との間で各棟のデー
タを入出力させる事により1作成中のプログラムの正当
性を確認する。
Configuration of conventional examples and their problems In recent years, with the advancement of computer hardware technology represented by microcomputers, the amount of program development has become enormous. Debugging is the most time-consuming task. In order to confirm that the created program correctly satisfies the original requirements, a program developer performs various checks, corrections, and corrections, and debugs the program. In order to perform this check efficiently, what is called a program development device or debugging device has traditionally been used, and the program developer can create a single file by inputting and outputting data from each building to and from the debugging device. Check the validity of the program inside.

なお、ここで云うプログラムトレースとは中央演算装置
〔以下、 CPUと称す〕がどのアドレスのプログラム
を実行したかを表示する機能を意味している。以下に従
来のプログラムトレース装置について説明する。
Note that the program trace referred to here means a function of displaying which address of the program is executed by the central processing unit (hereinafter referred to as CPU). A conventional program tracing device will be explained below.

第1図は従来のプログラムトレース装置の構成図で、 
(+00)はCPU 、(101)はCPU(100)
の実行及び停止を制御する実行制御信号J102)はC
PU (IQQ)が出力する命令メモリアドレス、 (
110)は命令メモリアドレス(102)を入力して命
令(111)を出力する命令メモリ、(120)はCP
U (100)の基本タロツク(+213を出力する基
本クロック発生部、(+30)は命令メモリアドレス(
102)をトレースメモリ(140)に書込むための書
込制御信号(131)を出力する書込制御部、 (15
[])はトレースメモリ(+40)の内容を表示部(1
60)に送るための読出制御信号(151)を出力する
続出制御部である。
Figure 1 is a configuration diagram of a conventional program trace device.
(+00) is CPU, (101) is CPU (100)
The execution control signal J102) that controls the execution and stopping of C
The instruction memory address output by PU (IQQ), (
110) is an instruction memory that inputs an instruction memory address (102) and outputs an instruction (111), and (120) is a CP
The basic clock generator that outputs the basic clock (+213) of U (100), (+30) is the instruction memory address (
a write control unit that outputs a write control signal (131) for writing (102) into the trace memory (140);
[]) displays the contents of the trace memory (+40) on the display section (1
This is a continuous output control unit that outputs a readout control signal (151) to be sent to (60).

以上の様に構成された従来のプログラムトレース装置に
ついて、以丁そのJa布について説明する。
The conventional program tracing device configured as described above will now be described in detail.

まず、トレースの対象となるCPU (+00)は、実
行制御信号(+01 )を能動にすると実行状態となり
First, the CPU (+00) to be traced enters the execution state when the execution control signal (+01) is activated.

命令メモリアドレス(102)を命令メモリ(110)
に送出する。命令メモ!J (110)は入力した命令
メモリアドレス(+02)に対応するメモリ内容を命令
(111)トシテCPU(100)ニ送出スル。CPU
 (100)id命令(111)を解釈し実行する。以
後この順序でCPU動作が続けられ、実行制御信号(1
01)が−非能動にす、L トCPU (100)Ia
停止fル。CPU (100)カ実行状態、即ち実行制
御信号(101)が能動の時、書込5制御部(+30)
はCPUの基本クロック(121)で同期がとられた書
込制御信号(151)を出力する。この書込制御信号(
+31)により命令メモリアドレス(+02)は基本ク
ロック(121)毎にトレースメモリ(140)に書込
まれる。書込制御信号(131)はトレースメモリ(1
40)のアドレスを含み、このアFL/スハ命令メモリ
アドレス(102)がトレースメモリ(140)にi込
まれる毎に1だけ増す。従って、命令メモリアドレス(
102)はトレースメモリ(140)の連続した領域に
書込まれる。
Instruction memory address (102) to instruction memory (110)
Send to. Instruction memo! J (110) sends the memory contents corresponding to the input instruction memory address (+02) to the instruction (111) to the CPU (100). CPU
(100) Interpret and execute the id command (111). Thereafter, the CPU operations continue in this order, and the execution control signal (1
01) - inactive, L CPU (100)Ia
Stop f le. When the CPU (100) is in the execution state, that is, the execution control signal (101) is active, the write 5 control unit (+30)
outputs a write control signal (151) synchronized with the basic clock (121) of the CPU. This write control signal (
+31), the instruction memory address (+02) is written to the trace memory (140) every basic clock (121). The write control signal (131) is sent to the trace memory (1
40), and is incremented by 1 each time this FL/SHA instruction memory address (102) is entered into the trace memory (140). Therefore, the instruction memory address (
102) are written to a continuous area of the trace memory (140).

一方、実行制御信号(101)を能動から非能動にする
とCPU (100)は停止状態となる。同時に書込制
御部(+30’)も実行制御信号(+01)が非能動と
なるので書込制御信号(131)の出力を停止し、トレ
ースメモ!J (1!10)への書込みが停止する。こ
の後、続出制御部(150)は続出制御信号(+51 
)を出力することで、トレースメモリ(140)の内容
を先頭から順次読出し1表示部(160)に送出する。
On the other hand, when the execution control signal (101) is changed from active to inactive, the CPU (100) enters a stopped state. At the same time, the write control unit (+30') also stops outputting the write control signal (131) because the execution control signal (+01) becomes inactive, and trace memo! Writing to J (1!10) stops. After this, the successive control unit (150) outputs the successive control signal (+51
), the contents of the trace memory (140) are read out sequentially from the beginning and sent to the first display section (160).

表示部(160)はトレースメモリ(140)から受取
った内容に適当な書式付けを行って外部に表示する。
The display unit (160) applies appropriate formatting to the content received from the trace memory (140) and displays it externally.

第2図は表示部(160)の表示例である。第2図に於
いて、(201)はトレースメモリ(140)のアドレ
スを示す4桁の16進数+ (202)は表示の区切り
信号、(203)はトレースメモリ(140)のアドレ
ス(201)に保持されている内容、即ちCPU (1
00’)が実行時に出力した命令メモリアドレス(10
2)である。(204)は特殊記号でCPU (100
)が、この直前、即ち命令メモリアドレス(102)が
16進の” 0247 ’である命令を実行した直後に
停止した事を示す。第2図の例では、 CPU (1C
IO)が連続して実行した命令メモリ(1110”)の
アドレス力、”0123 ” 。
FIG. 2 shows an example of the display on the display section (160). In Figure 2, (201) is a 4-digit hexadecimal number indicating the address of the trace memory (140) + (202) is the display delimiter signal, and (203) is the address (201) of the trace memory (140). The content held, i.e. CPU (1
00') outputs the instruction memory address (10
2). (204) is a special symbol for CPU (100
) has stopped just before this, that is, immediately after executing the instruction whose instruction memory address (102) is ``0247'' in hexadecimal.In the example in Figure 2, the CPU (1C
The address of the instruction memory (1110'') that was continuously executed by IO) is ``0123''.

’0124 ’ 、 ”0125’ 、・・・ 、”0
1.85“、”0246“。
'0124', '0125',...,'0
1.85","0246".

” 0247“(いずれも16進数)である事を示して
いる。
"0247" (all hexadecimal numbers).

しかしながら上記の様な構成では、プログラム。However, in the above configuration, the program.

即ち、命令の実行順序の把握は呂来るが、−承部(16
0)に表示された命令メモリアドレス(203)が他の
命令メモリアドレスとどの様な関′係にあるのかが分り
にくい欠点を有する。例えば、表示された命令メモリア
ドレス(203’)の値が不連続な個所がある場合・に
、その理由が分岐命令によるのか。
In other words, although it is difficult to grasp the order of execution of instructions,
The problem is that it is difficult to see what kind of relationship the instruction memory address (203) displayed at 0) has with other instruction memory addresses. For example, if there is a discontinuity in the values of the displayed instruction memory address (203'), is the reason for this discontinuity due to a branch instruction?

サブiv−チンコール命令によるのか、または割込によ
るのかという判断が表示からは把握困難である。従って
、その判断のために従来では頻繁にプログラムリストと
表示とを見比べるという面倒な作業を伴う欠点がある。
It is difficult to determine from the display whether it is due to a sub-IV-chin call instruction or an interrupt. Therefore, in order to make this determination, the conventional method has the disadvantage of requiring the troublesome task of frequently comparing the program list and the display.

発明の目的 本発明は表示部とプログラムリストを見比べなくて4 
CPUがどのモジュール、サブル−チン。
Purpose of the Invention The present invention eliminates the need to compare the display section and the program list.
What modules and subroutines does the CPU use?

割込処理、又は任意に指定されたプログラム範囲に含ま
れる命令を実行したかを確認できるプログラムトレース
装置を提供する事を目的とする。
It is an object of the present invention to provide a program tracing device that can confirm whether interrupt processing or instructions included in an arbitrarily specified program range have been executed.

発明の構成 本発明のプログラムトレース装置は、CPUノアドレス
信号を記憶するトレースメモリと、トレースメモリの書
込制御部と、トレースメモリの読出制御部と−アドレス
範囲指定部と、トレースメモリの内容とアドレス範囲指
定部の内容を比較する比較部と、比較結果を表示する表
示部とを設け。
Composition of the Invention The program tracing device of the present invention includes a trace memory for storing CPU address signals, a trace memory write control section, a trace memory read control section, an address range specification section, and a trace memory content and address range specifying section. A comparison section that compares the contents of the address range specification section and a display section that displays the comparison results are provided.

トレース結果を指定されたアドレス範囲毎に区別して表
示するよう構成して、プログラム、即ち。
The program is configured to display trace results separately for each specified address range.

命令の実行過程とプログラムの構造との対応を表示部の
表示を見るだけで直ちにプログラム開発者に知らせるこ
とを特徴とする。
The present invention is characterized in that the program developer is immediately informed of the correspondence between the instruction execution process and the program structure simply by looking at the display on the display unit.

実施例の説明 以下1本発明の一実施例を図面に基づいて説明する。第
6図は本発明の一実施例に於けるプログラムトレース装
置のブロック図を示すものである。
DESCRIPTION OF EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 6 shows a block diagram of a program tracing device in an embodiment of the present invention.

第6図に於いて+ (300)はトレースされるCPU
 。
In Figure 6, + (300) is the CPU to be traced.
.

(301)はCPU(300)の実行・停止を制御する
実行制御信号、 (302)はCPU (300)が出
力する命令メモ!J7FV7.% (310)は命令メ
モリアドレス(302)を入力し命令(6目)を出力す
る命令メモリ、 (320)はCPU(300)の基本
クロック(321)を出方する基本クロック発生部、(
330)は命令メモリアドレス(302) fc )レ
ースメモ!J (340)に書込むための書込制御信号
(331)を出力する書込制御部、(350)はトレー
スメモ!J (340)の内容を読出すための続出制御
信号(351)を出方する読出制御部である。
(301) is an execution control signal that controls execution/stop of the CPU (300), and (302) is an instruction memo output by the CPU (300)! J7FV7. % (310) is an instruction memory that inputs the instruction memory address (302) and outputs the instruction (6th), (320) is the basic clock generator that outputs the basic clock (321) of the CPU (300), (
330) is the instruction memory address (302) fc) Race memo! A write control section outputs a write control signal (331) for writing to J (340), (350) is a trace memo! This is a read control unit that outputs a continuous control signal (351) for reading the contents of J (340).

更V・−5C560)は比較部で、アドレス範囲指定部
(363)が出力するアドレス下限値(361)とアド
レス上限値(362)を、トレースメモリ(340)の
内容と比較する。(370)及び(38,9)は比較部
(360)と同様の比較部、 (575)はアドレス下
限[(371)とアドレス上限値(372)を出力する
アドレス範囲指定部、 (583)はアドレス下限値(
381)とアドレス上限値(382)を出力するアドレ
ス範囲指定部。
A comparator (V.-5C560) compares the address lower limit value (361) and address upper limit value (362) output by the address range designator (363) with the contents of the trace memory (340). (370) and (38,9) are comparison sections similar to comparison section (360), (575) is an address range specification section that outputs the address lower limit [(371) and address upper limit value (372), and (583) is Address lower limit value (
381) and an address range specification section that outputs the address upper limit value (382).

(390)は比較部(360)(370) (380)
の出力に書式付けを行って表示する表示部である。
(390) is the comparison part (360) (370) (380)
This is a display unit that formats and displays the output of .

以上の様に構成された本実施例のプログラムトレース装
置について、以下そのTM作を説明する。
The TM operation of the program tracing device of this embodiment configured as described above will be explained below.

CPU (300)は実行制御信号(301)が能動で
あれば実行状態、非能動であれば停止状態を保つ。まず
、実行制御信号(301)が能動である時、即ち。
The CPU (300) maintains an execution state if the execution control signal (301) is active, and remains in a stopped state if it is inactive. First, when the execution control signal (301) is active, ie.

CPU (,500)が実行状態の時、CPU (30
0)は下記の■から■のシーケンスヲ繰返す。
When CPU (,500) is in execution state, CPU (30
0) repeats the sequence from ■ to ■ below.

即ち、 ■ CPU(300)が次に実行する命令のアドレス。That is, ■ Address of the next instruction to be executed by the CPU (300).

即ち命令メモリアドレス(302)’を命令メモリ(3
10)に送出する。
In other words, the instruction memory address (302)' is set to the instruction memory address (302)'.
10).

■ 命令メモリ(310)が命令メモリアドレス(30
2)に対応するメモリ内容を命令(311)として出力
する。
■ The instruction memory (310) is the instruction memory address (30
The memory contents corresponding to 2) are output as an instruction (311).

■ cpU(300)が命令(311)を入力し解釈し
、実行する。
■ The cpU (300) inputs an instruction (311), interprets it, and executes it.

ナオ、■から■の動作は基本クロック発□生部(320
’)が出力する基本クロック(321)に同期して行わ
れる。
Nao, the operation from ■ to ■ is the basic clock generation section (320
') is performed in synchronization with the basic clock (321) output.

一方、書込制御部(350)はcpu (300)が実
行状態、即ち、実行制御信号(301)が能動であれば
基本クロック(321)に同期した書込制御信号(33
’l)をトレースメモリ(34Dlc出力する。この書
込制御信号(331)により、命令メモリアドレス(3
02)は基本クロック毎にトレースメモリ(340)[
書込まれる。書込制御信号(331)はトレースメモリ
(340”)のアドレスを含み、このアドレスは命令メ
モリアドレス(302)がトレースメモリ(340)に
書込まれる毎に1だけ増す。従って、 CPU (30
0)が出力する命令メモリアドレス(302)はトレー
スメモIJ (340)の連続した領域に書込まれる。
On the other hand, if the CPU (300) is in the execution state, that is, the execution control signal (301) is active, the write control unit (350) receives a write control signal (33) synchronized with the basic clock (321).
'l) is output to the trace memory (34Dlc). This write control signal (331) causes the instruction memory address (34Dlc) to be output.
02) is a trace memory (340) [
written. The write control signal (331) contains the address of the trace memory (340''), which is incremented by 1 each time the instruction memory address (302) is written to the trace memory (340).
The instruction memory address (302) output by IJ0) is written in a continuous area of the trace memo IJ (340).

次に、実行制御信号(301)を能動から非能動にする
とCPU (300)は停止状態となる。同時!/c書
込制御部(330)も実行制御信号(301)が非能動
となるので書込制御信号(331)の出力を停止し、ト
レースメモ’J (340)への書込みが停止する。こ
の時凧でトレースメモリ(340)はCPU (300
)が停止直前までに出力した命令メモリアドレス(30
2)の系列を記憶している事になる。
Next, when the execution control signal (301) is changed from active to inactive, the CPU (300) enters a stopped state. simultaneous! Since the execution control signal (301) becomes inactive, the /c write control unit (330) also stops outputting the write control signal (331) and stops writing to the trace memo 'J (340). At this time, the trace memory (340) of the kite is stored in the CPU (300
) outputs the instruction memory address (30
This means that you have memorized the series 2).

次に、読出制御部(350)は続出制御信号(351)
を出力し、トレースメモ!J (34[1)の内容を先
頭から順番に出力させる。比較部(360)は上記の様
にj幀番に出力されるトレースメモリ(340)の内容
と。
Next, the read control unit (350) outputs a continuous control signal (351).
Output and trace memo! Output the contents of J (34[1) in order from the beginning. The comparator (360) compares the contents of the trace memory (340) output to number j as described above.

アドレス範囲指定部(363)が出力するアドレスF限
値(361)及びアドレス上限値(362)を次の様に
比較する。即ち、トレースメモリ(340)F、らの出
力をAとした時、アドレス下限値≦A≦アドレス上限値
II)が満たされれば、このAをアドレス範囲指定部(
363)が指定するアドレス範囲内にあるとシテ1表示
部(390)のアドレス範囲指定部(363)に対応す
る列位置に送出する。第1式が満たされなければ比較部
(360)はAを表示部(390)送出しない。比較部
(370)及び(380)も、比較部(360)と同様
の動作を行う。従って比較部(360)から表示部(3
90)へ送出されなかったAが、比較部(370)又は
(380)から表示部(390)へ送出される事はあり
得る。但し、アドレス範囲指定部(363) ’a (
373)%及びC583)の指定する範囲には友な多部
分がないものとする。
The address F limit value (361) and address upper limit value (362) output by the address range specifying section (363) are compared as follows. That is, when the output of the trace memory (340) F, etc. is A, if the following condition (address lower limit ≦A ≦address upper limit II) is satisfied, this A is assigned to the address range specifying section (
363) is within the specified address range, it is sent to the column position corresponding to the address range specification section (363) of the city 1 display section (390). If the first equation is not satisfied, the comparison unit (360) does not send A to the display unit (390). The comparison units (370) and (380) also perform the same operation as the comparison unit (360). Therefore, from the comparison section (360) to the display section (3
It is possible that A that is not sent to the comparison section (370) or (380) is sent to the display section (390). However, the address range specification part (363) 'a (
It is assumed that there are no friendly portions in the range specified by 373)% and C583).

上記の動作がトレースメモ’) (340)のすべての
内容に対して行われた時の表示例を第4図に示す。
FIG. 4 shows an example of the display when the above operation is performed on all the contents of the trace memo') (340).

第4図に於て、 (401)はアドレス下限値の行であ
る事を示す記号列、(402)(l−1:アビ1/ス上
限値の行である事を示す記号列である。(405) (
405) (407)はそnぞれアドレス範囲指定部(
566)(376)(383)が出力するアドレス下限
値、 (404)(406)(408)はそれぞれアド
レス範囲指定部(36m)、 (373)、、 (38
3)が出力するアドレス上限値である。数字はいずれも
16進数である。(409)はトレースメモリ(340
)のアドレス、 (41Q)は区切り記号である。こり
第4図の例では、一番最初にトレースされた内容、即チ
、トレースメモリC540)のアドレス値が0番地の内
容<411 )が、アドレス下限値(403)とアドレ
ス上限値(404)の範囲にあるので、それらの真下の
列に表示される事になる。同様にトレースメモ!J (
340)のアドレス値が6番地の内容(412)は中央
の列に表示され、トレースメモリ(340)のアドレス
値がE番地の内容(413)は右の列に表示される。な
お、(414)はcpU (300)がその直前で停止
した童を示す記号列である。
In FIG. 4, (401) is a symbol string indicating that the row is the lower limit address value, and (402) (l-1: is a symbol string indicating that the row is the upper limit address value). (405) (
405) (407) are address range specification parts (
566) (376) (383) output the address lower limit value, (404) (406) (408) are the address range specification part (36m), (373), (38) respectively.
3) is the upper limit value of the address to be output. All numbers are hexadecimal. (409) is the trace memory (340
) address, (41Q) is a delimiter. In the example shown in Fig. 4, the contents traced first, i.e., the contents of address 0 of the trace memory C540) <411), are the lower limit value of the address (403) and the upper limit value of the address (404). range, so it will be displayed in the column directly below them. Trace memo as well! J (
The contents (412) of the trace memory (340) whose address value is address 6 are displayed in the center column, and the contents (413) whose address value is address E of the trace memory (340) are displayed in the right column. Note that (414) is a symbol string indicating the child at which cpU (300) stopped immediately before.

第4図の表示例は、トレースメモリ(340)の内容を
先頭から表示しているのであるが、前記従来例に比べる
と、実行された命令のアドレスの推移が構造的に把握し
易くなっている事が分る。従って、(406)(404
)(405)(406)(407)(408)で示され
るアドレス範囲がサブルーチンの範囲を示している場合
には1表示列位置が変化している行は、サブルーチンコ
ールまたはサブルーチンからのリターンが行われたタイ
ミングであった事が把握でき、プログラムの流れがプロ
グラムリフトを見なくても一目で把握できる。
The display example in FIG. 4 displays the contents of the trace memory (340) from the beginning, but compared to the conventional example, it is easier to understand the structure of the address transition of executed instructions. I know there is. Therefore, (406) (404
) (405) (406) (407) (408) indicates the subroutine range, the line whose display column position has changed is the line where the subroutine call or return from the subroutine is made. You can understand the timing of the program, and you can understand the flow of the program at a glance without looking at the program lift.

同様に上記アドレス範囲が割込処理ルーチンの範囲を示
している場合には1割込が発生したタイミングが一目で
分り、従来例の様に表示結果を1つずつ謂べて割込処理
ル−チンの開始アドレスを捜すといった面倒な作業が全
く不要となる効果も得られる。
Similarly, if the above address range indicates the range of the interrupt processing routine, the timing at which one interrupt occurred can be seen at a glance, and the display results can be read one by one as in the conventional example. Another advantage is that the troublesome work of searching for the start address of a chin is completely unnecessary.

発明の詳細 な説明のように本発明のプログラムトレース装置によれ
ば、従来のプログラムトレース装MICトレースメモリ
の比較部、及びアドレス範囲指定部を追加したため、プ
ログラムの流れが、モジュール単位・サブルーチン単位
・割込処理プログラム単位・任意のアドレス単位で、タ
イミング図的に表示する事が可能となり、デバッグf′
F:業時のプログラム開発者にプログラムの流れを容易
に理解される事が可能となり、デパック作業の効率化に
大すく冨与するものとなる。
As described in the detailed description of the invention, according to the program tracing device of the present invention, since a comparison section and an address range specification section of the conventional program tracing device MIC trace memory are added, the flow of the program can be divided into modules, subroutines, and modules. It is now possible to display timing diagrams in interrupt processing program units and arbitrary address units, making debugging f'
F: It becomes possible for the program developer at work to easily understand the flow of the program, which greatly contributes to improving the efficiency of depacking work.

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

第1図は従来のプログラムトレース装置のブロック図、
第2図は従来のプログラムトレース装置の表示例の説明
図、第6図は本発明の一実施例のプログラムトレース装
置のブロック図、第4図は本発明に於ける表示例の説明
図である。 (300)・・・中央演算処理装置、、 (330)・
・・書込制御部、 (340)・・・トレースメモリ、
 (350)・・・続出制御部、 (360)(370
)(380)・・・比較部、(363) (373) 
(383)・・・アドレス範囲指定部、 (590)・
・・表示部代理人   森  本  義  弘
Figure 1 is a block diagram of a conventional program tracing device.
FIG. 2 is an explanatory diagram of a display example of a conventional program trace device, FIG. 6 is a block diagram of a program trace device according to an embodiment of the present invention, and FIG. 4 is an explanatory diagram of a display example in the present invention. . (300)... central processing unit, (330)...
...Write control unit, (340)...Trace memory,
(350) ... successive control section, (360) (370
) (380)...Comparison section, (363) (373)
(383)... Address range specification section, (590)
・Display Department Agent Yoshihiro Morimoto

Claims (1)

【特許請求の範囲】[Claims] 1、 中央演算処理装置のアドレス信号を記憶するトレ
ースメモリと、前記トレースメモリの書込制御部と、前
記トレースメモリの続出側・碗部と、中央演算処理装置
のアドレス範囲指定部と、前記トレースメモリの内容と
前記アドレス範囲指定部の内容を比較する比較部と、前
記比較部の出力を表示する表示部とを設け、トレース結
果を指定されたアドレス範囲毎に区別して表示するよう
構成したプログラムトレース装置。
1. A trace memory that stores an address signal of a central processing unit, a write control section of the trace memory, a continuation side/bowl section of the trace memory, an address range specification section of the central processing unit, and a write control section of the trace memory. A program configured to include a comparison section that compares the contents of a memory and the contents of the address range specification section, and a display section that displays the output of the comparison section, and to display trace results separately for each specified address range. tracing device.
JP58009017A 1983-01-21 1983-01-21 Program tracing device Pending JPS59135555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58009017A JPS59135555A (en) 1983-01-21 1983-01-21 Program tracing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58009017A JPS59135555A (en) 1983-01-21 1983-01-21 Program tracing device

Publications (1)

Publication Number Publication Date
JPS59135555A true JPS59135555A (en) 1984-08-03

Family

ID=11708882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58009017A Pending JPS59135555A (en) 1983-01-21 1983-01-21 Program tracing device

Country Status (1)

Country Link
JP (1) JPS59135555A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60235250A (en) * 1984-05-07 1985-11-21 Omron Tateisi Electronics Co Program counter tracing device
JPS6290733A (en) * 1985-10-16 1987-04-25 Sanyo Electric Co Ltd Device for displaying content of ram
JPS63298388A (en) * 1987-05-29 1988-12-06 安藤電気株式会社 Display of trace information
JPS63298389A (en) * 1987-05-29 1988-12-06 安藤電気株式会社 Display of trace information

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60235250A (en) * 1984-05-07 1985-11-21 Omron Tateisi Electronics Co Program counter tracing device
JPS6290733A (en) * 1985-10-16 1987-04-25 Sanyo Electric Co Ltd Device for displaying content of ram
JPS63298388A (en) * 1987-05-29 1988-12-06 安藤電気株式会社 Display of trace information
JPS63298389A (en) * 1987-05-29 1988-12-06 安藤電気株式会社 Display of trace information

Similar Documents

Publication Publication Date Title
US3659272A (en) Digital computer with a program-trace facility
JPS60101644A (en) Parallel processing computer
CN112580312A (en) Screen-casting content annotation method, device and system and computer-readable storage medium
JPS59135555A (en) Program tracing device
JPS6261276B2 (en)
JPS5911921B2 (en) numerical control device
JPS59172009A (en) Numerical controller
JPH06332689A (en) Program displaying method and program edition accepting method
JPS63226764A (en) Fast floating point arithmetic system
JPS59128652A (en) Program testing method using display device
JPS60262251A (en) Backup device for development of microprocessor
JPH04171542A (en) Microprocessor containing debugging function
JPS60120437A (en) Executing device of robot language
US5680646A (en) Input/output control system
JPS59205652A (en) Program tracing system
JP2751423B2 (en) Program debug processing method
JP2001067245A (en) Simulation method and simulation device
JPH0327453A (en) Designation processing system for program
JPS61161560A (en) Memory device
JPS5930148A (en) Central processing unit system provided with false instruction generator
JPS6172339A (en) Control system for execution and display of program
JPS61143856A (en) Microprogram debug device
JPH0795287B2 (en) Slave Processor Emulator
JPH05113901A (en) Tracer control system
JPH0236488A (en) Execution detection system for data flow computer