s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 340

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 16: DEBUGGER
Trace function in simulator mode
324
In the simulator mode, you can specify trace function ON/OFF, display method, and write to a file. When
the trace function is turned on, the trace result is displayed on the screen or saved to a file every time an
instruction is executed.
The following lists the trace information that is displayed on the screen in simulator mode:
<1st line of each trace information>
<Lines 2–4 of each trace information>
These lines are displayed when register option is selected with the tm command.
The register values appear in the order shown below.
Trace information is displayed in the [Trace] window when display to the window is selected. If the [Trace]
window is closed, the information is displayed in the [Command] window.
When saving to a file is selected, the information is output to the file and is not displayed in the window.
Unlike in ICE mode, there is no need to input any specific command to display trace information. Trace
information is displayed automatically according to the successive execution or single-stepping of a
program.
The [Trace] window allows you to see trace information for the last 255 instructions. The trace information
for instructions beyond that are deleted.
Number:
Address:
Code:
Unassemble: Disassembled content.
Address:
Type:
Data:
File:
Line:
SourceCode: Source code (displayed only when source display is selected by the tm command).
R0
R8
SP
R1
R9
AHR ALR
Executed instruction number (decimal).
This is the executed instruction number after the CPU is reset or trace is turned on.
Executed instruction address (hexadecimal).
Instruction code (hexadecimal).
Accessed memory address (hexadecimal).
Bus operation type.
rB: Byte data read, rH: Half word data read, rW: Word data read
wB: Byte data write, wH: Half word data write, wW: Word data write
Read/write data (hexadecimal).
Source file name (displayed only when source display is selected by the tm command).
Source line number (displayed only when source display is selected by the tm command).
R2
R10
R3
R11

Turning trace mode on or off
Table 16.9.7.9 Command to set trace mode
R4
R12
PSR (displayed in flag units)
Function
R5
R13
EPSON
R6
R14
R7
R15
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
Command
tm
S5U1C33000C MANUAL

Related parts for s5u1c33000c