Ts (Trace Search) - Epson S5U1C63000A User Manual

Cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

ts
(trace search)
Function
This command searches trace information from the trace memory under a specified condition. The
search condition can be selected from three available conditions:
1. Search by executed address
In this mode, you can specify a program memory address. The debugger searches the cycle in
which the specified address is executed.
2. Search for a specified memory read cycle
In this mode, you can specify a data memory address. The debugger searches the cycle in which
data is read from the specified address.
3. Search for a specified memory write cycle
In this mode, you can specify a data memory address. The debugger searches the cycle in which
data is written to the specified address.
Format
(1) >ts <option> <address>
(2) >ts
1. pc address 2. data read address 3. data write address ...? <1 | 2 | 3>
Search address ?: <address>
(Search result is displayed)
>
<option>: Condition type (program address, data read address or data write address); pc/dr/dw
<address>: Search address; hexadecimal or symbol (IEEE-695 format only)
Display
The search results are displayed in the [Trace] window if it is opened; otherwise, the results are
displayed in the [Command] window in the same way as for the td command.
Format (1)
>ts pc 116
Trace searching ... Done!
trace fetch
cycle addr
code disasm
00010 0116
08FE ldb
>
Format (2)
>ts
1.pc address
2.data read address
Search address ?:116
Trace searching ... Done!
trace fetch
cycle addr
code disasm
00010 0116
08FE ldb
>
When command execution results are being output to a log file by the log command, the search
results are displayed in the [Command] window as well as output to the log file even when the
[Trace] window is opened.
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
(direct input mode)
(guidance mode)
fetch
%ext,0xfe
fetch
%ext,0xfe
register
flag
A B
X
Y
EICZ addr data
F 1 0007 AAAA 0000 ---- --
3.data write address ...? 1
register
flag
A B
X
Y
EICZ addr data
F 1 0007 AAAA 0000 ---- --
EPSON
CHAPTER 8: DEBUGGER
data
trace
SP
in
data
trace
SP
in
219

Advertisement

Table of Contents
loading

Table of Contents