S5U1C62000A MANUAL
EPSON
127
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
CHAPTER 9: DEBUGGER
9.4.3 [Source] Window
The [Source] window displays the contents of (1) to (3) listed below. This window also allows breakpoints
to be set and words or labels to be found.
(1) Unassembled codes and source codes
You can choose one of the following three display modes:
[Mix] button
1. Mix mode
(selected by the [Mix] button or entering the m command)
In this mode, the window displays the addresses, codes, unassembled contents,
and corresponding source line numbers and source statements. (See the dia-
gram above.)
2. Source mode
(selected by the [Source] button or entering the sc command)
In this mode, the window displays the source line numbers and source state-
ments.
3. Unassemble mode
(selected by the [Unassemble] button or entering the u command)
In this mode, the window displays the addresses, codes, and unassembled
contents. This format is selected when the debugger starts up.
[Source] button
[Unassemble] button
All program code in the 8K address space can be referenced by scrolling the window. When a break
occurs, the display content is updated so that the address line to be executed next is displayed, with
the entire line highlighted for identification.
Use the scroll bar or arrow keys to scroll the window. Or enter a command to display the program
code beginning with a specified position.
∗
Display of source line numbers and source statements
The source line numbers and source statements can only be displayed when the IEEE-695 absolute
object file including debugging information for the source display is loaded. Furthermore, the source
statements that are actually displayed from this file are those which have had the -g option specified
by the assembler.
∗
Updating of display
When a program is loaded and executed (g, gr, s, n, or rst command), or the memory contents are
changed (as, pe, pf, or pm command), the display contents are updated. In this case the [Source]
window updates its display contents so that the current PC address can always be displayed. The
display contents are also updated when the display mode is changed.