S5U1C62000A MANUAL EPSON 207
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
CHAPTER 9: DEBUGGER
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>(direct input mode)
(2) >ts(guidance mode)
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 open; otherwise, the results are dis-
played in the [Command] window.
Format (1)
>ts pc 200
Trace searching ... Done!
0006 e00 LD A, 0x0 0200 0 0 001 100 0100
>
Format (2)
>ts
1.Pc address 2.Data read address 3.Data write address ...? 1
Search address ?:200
Trace searching ... Done!
0006 e00 LD A, 0x0 0200 0 0 001 100 0100
>
Loc CODE PC A B X Y IDZC MemOP OtherOP
0006 e00 LD A, 0x0 0200 0 0 001 100 0100
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.