s5u1c17001c Epson Electronics America, Inc., s5u1c17001c Datasheet - Page 508

no-image

s5u1c17001c

Manufacturer Part Number
s5u1c17001c
Description
Cmos 16-bit Application Specific Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet
10 DEBUGGER
10-116
Trace information
Running the target program after setting trace mode with this command displays trace information in the [Trace]
window for each instruction executed, or outputs it to a file.
The contents of trace information displayed in a window or output to a file are as follows:
Format of each trace information line
num clk pc code bus_addr/type/data r0 r1 r2 r3 r4 r5 r6 r7 sp ie/il/cvzn src_mix
num:
clk:
pc:
code:
bus_addr: Accessed memory addresses (in hexadecimal)
type:
data:
r0–r7:
sp:
ie:
il:
cvzn:
src_mix: Disassembled contents and source codes of executed instructions
Display example
First half of information lines (trace number to register values)
num
Second half of information lines (SP value to source code)
003ef8 0 0 0010
003ef8 0 0 0010
003ef8 0 0 0010
003ef8 0 0 0010
003ef8 0 0 0010
003ef8 0 0 0010
003ef8 0 0 0010
003ef4 0 0 0010
003ef4 0 0 0010
003ef4 0 0 0010
003ef4 0 0 0010
003ef8 0 0 0010
003ef8 0 0 0000
003ef8 0 0 1001
652
653
654
655
656
657
658
659
660
661
662
663
664
665
sp ie/il/cvzn
clk
1445
1446
1447
1449
1450
1451
1452
1457
1458
1459
1462
1466
1467
1468
Number of executed instructions (in decimal)
Number of instructions executed since the CPU was reset
Number of execution clocks (in decimal)
Number of execution clocks since the CPU was reset
Address of executed instructions (in hexadecimal)
Instruction codes (in hexadecimal)
Type of bus operation
r8: Byte data read; r16: 16-bit data read; r32: 32-bit data read
w8: Byte data write; w16: 16-bit data write; w32: 32-bit data write
Read/written data (in hexadecimal)
r0–r7 register values (in hexadecimal)
sp register value (in hexadecimal)
IE bit value in psr
IL bit value in psr
C, V, Z and N bit values in psr
0040dc
0040de
0040e0
0040e2
0040e4
0040e6
0040e8
0040ea
0040f6
0040f8
0040fa
004118
0040ec
0040ee
pc
src mix
ld
ext
ext
ld
ld
ld
ext
call
and
cmp
jreq
ret
add
cmp
code
9900
4000
4000
d900
2a12
2814
4000
1805
a001
9000
0e0e
0120
8201
9205
bus addr/type/data
------ --- --------
------ --- --------
------ --- --------
000000 w16 00000000
------ --- --------
------ --- --------
------ --- --------
003ef4 w32 000040ec
------ --- --------
------ --- --------
------ --- --------
003ef4 r32 000040ec
------ --- --------
------ --- --------
%r2,0x0
0x0
0x0
[0x0],%r2
%r4,%r2
%r0,%r4
0x0
0x5
%r0,0x1
%r0,0x0
0xe
%r4,0x1
%r4,0x5
000094 000000 000000 00ffff 000000 000000 000000 000000
000094 000000 000000 00ffff 000000 000000 000000 000000
000094 000000 000000 00ffff 000000 000000 000000 000000
000094 000000 000000 00ffff 000000 000000 000000 000000
000094 000000 000000 00ffff 000000 000000 000000 000000
000000 000000 000000 00ffff 000000 000000 000000 000000
000000 000000 000000 00ffff 000000 000000 000000 000000
000000 000000 000000 00ffff 000000 000000 000000 000000
000000 000000 000000 00ffff 000000 000000 000000 000000
000000 000000 000000 00ffff 000000 000000 000000 000000
000000 000000 000000 00ffff 000000 000000 000000 000000
000000 000000 000000 00ffff 000000 000000 000000 000000
000000 000000 000000 00ffff 000001 000000 000000 000000
000000 000000 000000 00ffff 000001 000000 000000 000000
EPSON
r0
(main.c)
(main.c)
(main.c)
(main.c)
(main.c)
(main.c)
r1
(C COMPILER PACKAGE FOR S1C17 FAMILY) (Ver. 1.1)
r2
00012
00014
00016
00022
00027 }
00014
r3
r4
i = 0;
for( j = 0; j < 6; ++j )
if(k & 0x1)
for( j = 0; j < 6; ++j )
sub(j);
r5
S5U1C17001C MANUAL
r6
r7

Related parts for s5u1c17001c