s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 320

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 16: DEBUGGER
Single-stepping
304
(1) Types of single-stepping
(2) Display during single-stepping
(3) HALT and SLEEP states and interrupts
There are two types of single-stepping available:
In either case, the program starts executing from the current PC.
When executing single-stepping by command input, you can specify the number of steps to be executed, up
to 65,535 steps. When using menu commands or tool bar buttons, the program is executed one step at a
time.
In the following cases, single-stepping is terminated before a specified number of steps is executed:
Single-stepping is not halted by breaks set by the user such as a PC breakpoint or data break.
In the initial debugger settings, the display is updated every step as follows:
When the [Source] window is open, the underline designating the next address to be executed moves every
step as the program is stepped through. If program execution proceeds on to another source while [Source]
windows are displayed in source mode, the focus switches to the [Source] window containing that source. If
the corresponding [Source] window is not open, a new [Source] window is displayed.
The display contents of the [Register] and [Memory] windows are also updated every step.
The display mode can be switched over by the md command so that the display contents of the [Register]
window are updated at only the last step in a specified number of steps and the [Memory] window is not
updated automatically.
In the S5U1C33104H, interrupts are disabled during single-stepping.
The halt and slp instructions are executed even during single-stepping, in which case the CPU is placed in a
standby mode. The CPU can be released from the standby mode by generating an external interrupt or by
pressing the [Key break] button.
Stepping through all codes (STEP)
Stepping through codes except functions and subroutines (NEXT)
When you click on the [Key break] button (not available in debug monitor mode)
When a break factor except for user set break occurs
When the program does not stop, use this button to forcibly stop it.
In this single-stepping, the program is executed in units of addresses or source codes – i.e., one address
or source code at a time – depending on the [Source] window's display mode as shown below:
Disassemble display mode: Address units
Mixed display mode:
Source display mode:
When a C source function call, assembly source subroutine call, or software interrupt is encountered,
each called function, subroutine, or interrupt routine is executed as one step. All codes in the current
function or subroutine except calls are executed in the same way as in STEP.
[Key break] button
Table 16.9.5.2 Commands/menu commands/tool bar buttons for single-stepping
Stepping through all codes
Stepping through all codes except
functions and subroutines
Function
Address units
Source code units
EPSON
Command
s
n
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
[Run]-[Step]
[Run]-[Next]
Menu
Button
S5U1C33000C MANUAL

Related parts for s5u1c33000c