CHAPTER 13 S1C88 FAMILY DEBUGGER
S5U1C88000C MANUAL II
EPSON
183
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
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>:
Search condition; pc (= executed address), dr (= data read address), dw (= data write address)
<address>: Search address; hexadecimal or symbol (IEEE-695 format only)
Condition: 0
≤
address
≤
0x7fffff (when pc is specified), 0
≤
address
≤
0xffffff (when dr/dw is specified)
Examples
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 823
↵
Searching trace data ... OK!
Ins. P.Addr L.Addr Code Mnemonic BA HL IX IY ...
0006 000823 00:0823 0006 xxxx xxxx xxxx ...
0007 000823 00:0823 E7FA JRS NZ,FAh 0006 xx07 xxxx xxxx ...
>
Format (2)
>ts
↵
1.pc address 2.data read address 3.data write address ...? 1
↵
Searching trace data ... OK!
Ins. P.Addr L.Addr Code Mnemonic BA HL IX IY ...
0006 000823 00:0823 0006 xxxx xxxx xxxx ...
0007 000823 00:0823 E7FA JRS NZ,FAh 0006 xx07 xxxx xxxx ...
>
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.
Note
The address specified for search must be within the range of the memory area available for each
microcomputer model.
An error results if the limit is exceeded or the input one is not a hexadecimal number or not a valid
symbol.