CHAPTER 13 S1C88 FAMILY DEBUGGER
148
EPSON
S5U1C88000C MANUAL II
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
13.9.5 Program Execution
g
(go)
Function
This command executes the target program from the current PC address or specified address.
Format
>g [<address>]
↵
(direct input mode)
<address>: Break address; hexadecimal or symbol (IEEE-695 format only)
Condition: 0
≤
address
≤
last program memory address
Operation
(1) Program execution
If <address> is not specified, the target program is executed from the address indicated by the PC. If
<address> is specified, the target program is executed from the specified address. Program execution
is continued until it is made to break for one,œf the following causes:
• Break conditions set by a break set up command are met.
• A break signal is input to the ICE BRKIN pin.
• The [Key Break] button is clicked, the [Run | Stop] menu command is selected or the [Esc] key is
pressed.
• A program execution error is detected.
If a break address is specified, the program execution will be suspended before executing the instruc-
tion at the specified address.
>g 1a0
↵
... Executes the program from the current PC address to address 0x1a0.
When program execution breaks, the system stands by waiting for a command input after displaying
the number of executed cycles/execution time. When you hit the [Enter] key here, program execution
is resumed beginning with the break address. The break address setting is also valid.
(2) Window display by program execution
The [Source] window is updated after a break in such a way that the break address is displayed
within the window.
If the [Trace] window is opened, the display contents are cleared as the program is executed. It is
updated with the new trace information after a break.
If the [Dump] or [Register] window is opened, the display contents are updated after a break.
If the [Watch] window is set in short-break mode using the [Run | Setting...] menu item, its display
contents are updated in the specified cycles.
(3) Display during log mode
If the program is executed after turning on the log mode, the same contents as when executing the rd
command are displayed in the [Command] window after the number of executed cycles and execu-
tion time are displayed due to a break.
Example:
>g
BUS CYCLE : 86519
Mode L : 004s 036ms 943us
OK!
PC:0618 SP:F7FE IX:21F8 IY:F1E4
B:01 A:05 H:F1 L:E4 BR:F0
CB:01 NB:01 EP:00 XP:04 YP:00
SC:I1 I0 U D N V C Z CC:F3 F2 F1 F0
0 0 0 0 0 0 0 0 0 0 0 0
>
When a break occurs, the same display appears as when data is displayed by the rd command.