CHAPTER 8: DEBUGGER

n (next)

Function

This command single-steps the target program from the current PC position by executing one instruction at a time.

Format

 

>n [<step>]

(direct input mode)

<step>:

Number of steps to be executed; decimal (default is 1)

Condition: 0 step 65,535

Operation

This command basically operates in the same way as the s command.

However, the calr, calz and int instructions, including all subroutines until control returns to the next address, are executed as one step.

Notes

The step count must be specified within the range of 0 to 65,535. An error results if the limit is ex- ceeded.

Error : Number of steps out of range, use 0-65535

If the [Data] window is opened, its display contents are updated after the execution.

During a single-step operation, the program will not break even if the break condition set by a command is met.

Unlike in successive executions (g or gr command), the [Register] window is updated every time a step is executed.

GUI utility

[Run Next] menu item, [Next] button

When this menu item or button is selected, the n command without step count is executed.

[Next] button

182

EPSON

S5U1C63000A MANUAL

 

 

(S1C63 FAMILY ASSEMBLER PACKAGE)