Epson S5U1C63000A User Manual page 231

Cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

(2) When [Trace] window is closed:
When the td command is input without <cycle>, the debugger displays 11 lines of the latest trace data
in the [Command] window. When the td command is input with <cycle>, the debugger displays 11
lines of the trace data from <cycle> in the [Command] window.
>td
Start point ?:(ENTER from the latest)
trace fetch
cycle addr
code disasm
00011 0118
00FD jr
00010 0116
08FE ldb
00009 0117
02EF calr 0xef
00008 0007
0800 ldb
00007 0008
0A04 ldb
00006 0009
1911 add
00005 ----
---- ----------
00004 000A
1990 adc
00003 ----
---- ----------
00002 000B
1990 adc
00001 ----
---- ----------
>td 10
trace fetch
cycle addr
code disasm
00020 0009
1911 add
00019 ----
---- ----------
00018 000A
1990 adc
00017 ----
---- ----------
00016 000B
1990 adc
00015 ----
---- ----------
00014 000C
1980 adc
00013 ----
---- ----------
00012 000D
1FF8 ret
00011 0118
00FD jr
00010 0116
08FE ldb
>
(3) During log output
When the command execution result is being output to a log file as specified by the log command, the
trace data is displayed in the [Command] window and its contents are also output to the log file.
If the [Trace] window is closed, data is displayed in the same way as in (2) above.
If the [Trace] window is open, its contents are redisplayed. In this case, the same number of lines are
displayed in the [Command] window as displayed in the [Trace] window.
(4) Successive display
When you execute the td command, the trace data can be displayed successively by entering the
[Enter] key only until some other command is executed.
When you input the [Enter] key, the [Trace] window is scrolled forward one screen.
When displaying data in the [Command] window, 11 lines of data preceding the previously displayed
cycle are displayed in the [Command] window (the same number of lines as displayed in the [Trace]
window if the command is executed during log output).
The direction of display is such that each time you input the [Enter] key, data on older execution
cycles is displayed (FORWARD). This direction can be reversed (BACKWARD) by entering the [B]
key. To return the display direction to FORWARD, input the [F] key. If the [Trace] window is open, the
direction in which the window is scrolled is also changed.
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
fetch
0xfd
%ext,0xfe
%ext,0x00
%xl,0x04
[%x]+,0x01
[%x]+,0x00
[%x]+,0x00
fetch
[%x]+,0x01
[%x]+,0x00
[%x]+,0x00
[%x],0x00
0xfd
%ext,0xfe
register
flag
A B
X
Y
EICZ addr data
F 1 0007 AAAA 0000 012C rAAAA 1
F 1 0007 AAAA 0000 ---- --
F 1 0007 AAAA 1000 ---- --
F 1 0007 AAAA 0000 0128 w0118 1
F 1 0007 AAAA 1000 ---- --
F 1 0004 AAAA 0000 ---- --
F 1 0005 AAAA 0000 0004 rD
F 1 0005 AAAA 0000 0004 wE
F 1 0006 AAAA 0000 0005 r5
F 1 0006 AAAA 0000 0005 w5
F 1 0007 AAAA 0000 0006 rE
register
flag
A B
X
Y
EICZ addr data
F 1 0004 AAAA 0000 ---- --
F 1 0005 AAAA 0000 0004 rC
F 1 0005 AAAA 0000 0004 wD
F 1 0006 AAAA 0000 0005 r5
F 1 0006 AAAA 0000 0005 w5
F 1 0007 AAAA 0000 0006 rE
F 1 0007 AAAA 0000 0006 wE
F 1 0007 AAAA 0000 0007 r4
F 1 0007 AAAA 0000 0007 w4
F 1 0007 AAAA 0000 012C rAAAA 1
F 1 0007 AAAA 0000 ---- --
EPSON
CHAPTER 8: DEBUGGER
data
trace
SP
in
data
trace
SP
in
217

Advertisement

Table of Contents
loading

Table of Contents