CHAPTER 8: DEBUGGER

td (trace data display)

Function

This command displays the trace information that has been sampled into the ICE trace memory.

 

Format

 

 

(1) >td [<cycle>]

(direct input mode)

(2) >td

(guidance mode)

Start point ?: (ENTER from the latest) <num>

(Trace data is displayed)

>

<cycle>: Start cycle number of trace data; decimal (from 0 to 8,191)

Display

The following lists the contents of trace information:

trace cycle: Trace cycle (decimal). The last information taken into the trace memory becomes 00001.

fetch addr: Fetch address (hexadecimal).

fetch code disasm:Fetch code (hexadecimal) and disassembled content.

register: Values of A, B, X, and Y registers after cycle execution (hexadecimal).

flag:States of E, I, C, and Z flags after cycle execution (binary).

data:Accessed data memory address (hexadecimal), read/write (denoted by r or w at the beginning of data), and data (1-digit hexadecimal for 4-bit access; 4-digit hexadecimal for 16-bit access).

SP:Stack access (1 for SP1 access; 2 for SP2 access).

trace in:Input to TRCIN pin (denoted by L when low-level signal is input).

(1)When [Trace] window is opened:

When the td command is input without <cycle>, the [Trace] window redisplays the latest data; when the td command is input with <cycle>, the trace data starting from <cycle> is displayed in the [Trace] window.

The display contents of the [Trace] window is updated after an execution of the target program. All trace data can be displayed by scrolling the window.

216

EPSON

S5U1C63000A MANUAL

 

 

(S1C63 FAMILY ASSEMBLER PACKAGE)