CHAPTER 13 S1C88 FAMILY DEBUGGER
S5U1C88000C MANUAL II
EPSON
181
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
(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 index (ENTER as 0)? :
↵
Ins. P.Addr L.Addr Code Mnemonic BA HL IX IY SP BR EP XP YP SC CC Memory
0000 000179 00:0179 CF7000 LD BA,[SP+00h] xxxx xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0001 00017A 00:017A xxxx xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0002 00017B 00:017B xxxx xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0003 0077FC 00:F7FC xx00 xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0 MR:[00F7FC]=00
0004 00017C 00:017C xx00 xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0005 0077FD 00:F7FD 0100 xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0 MR:[00F7FD]=01
0006 00017C 00:017C 98 DEC BA 0100 xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0007 00017D 00:017D 0100 xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0008 00017D 00:017D CF7400 LD [SP+00h],BA 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0009 00017E 00:017E 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0010 00017F 00:017F 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
>td 11
↵
Ins. P.Addr L.Addr Code Mnemonic BA HL IX IY SP BR EP XP YP SC CC Memory
0011 0077FC 00:F7FC 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0 MW:[00F7FC]=FF
0012 000180 00:0180 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0013 0077FD 00:F7FD 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0 MW:[00F7FD]=00
0014 000180 00:0180 E7EB JRS NZ,EBh 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0015 000181 00:0181 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0016 00016C 00:016C CE3501 CP [HL],#01h 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0017 00016D 00:016D 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0018 00016E 00:016E 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0
0019 000C53 00:0C53 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11------ 00C0 MR:[000C53]=01
0020 00016F 00:016F E706 JRS NZ,06h 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11-----Z 00C0
0021 000170 00:0170 00FF xxxx xxxx F0E4 xxxx xx xx xx xx 11-----Z 00C0
>
(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.
>td 100
↵
... Started display in FORWARD.
(Data on cycle Nos. 100 to 110 is displayed.)
>b
↵
... Changed to BACKWARD.
(Data on cycle Nos. 99 to 89 is displayed.)
>
↵
... Continued display in BACKWARD.
(Data on cycle Nos. 88 to 78 is displayed.)
>f
↵
... Changed back to FORWARD.
(Data on cycle Nos. 99 to 89 is displayed.)
>