beautypg.com

6 program execution, G (go) – Epson S5U1C62000A User Manual

Page 181

background image

S5U1C62000A MANUAL

EPSON

169

(S1C60/62 FAMILY ASSEMBLER PACKAGE)

CHAPTER 9: DEBUGGER

9.9.6 Program Execution

g

(go)

Function

This command executes the target program from the current PC position.

Format

>g [

]

(direct input mode)

: Temporary break addresses; hexadecimal or symbol (IEEE-695 format only)
Condition: 0

address

last program memory address

Operation

The target program is executed from the address indicated by the PC. Program execution is continued
until it is made to break for one of the following causes:
• The set break condition is met
• The [Key Break] button is clicked or the [Esc] key is pressed
• The break or reset switch on the ICE is pushed

If

is specified, the program execution will be suspended after executing the instruction at
the specified address.

>g 1a0

... Executes the program from the current PC address to address 0x1a0.

Display

In the initial debugger settings, the on-the-fly function is turned on.
During program execution, the PC content in the [Register] window is updated in real time every 0.5
seconds by the on-the-fly function. If the [Register] window is closed, the PC content is displayed in
the [Command] window. The on-the-fly function can be turned off by the otf command. In this case,
the [Register] window is updated after a break.

The execution time or execution steps (set by the tim command) are displayed in the [Command]
window after a break.

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 [Data] window is opened, the display contents are updated after a break.

Notes

• If a break condition is met, program execution is suspended and the PC will be set to the program

address next to the breakpoint.

• When a temporary break is specified (g

), the multi break function is invalidated due to the

hardware specification while the program is running. It takes effect again after the program is sus-
pended at the temporary break address.

• The address you specified must be within the range of the program memory area available with each

microcomputer model.
An error results if the input one is not a hexadecimal number or a valid symbol.

Error : invalid value.

An error results if the limit is exceeded.

Error : Program address out of range.