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

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 3: SOFTWARE DEVELOPMENT PROCEDURES
To set a break point
[Soft PC break]
button
To execute the Step operation
[Step] button
To execute the Next step
[Next] button
20
Step 26) Place the cursor on the line at address 0x00080032 (i++), then click [Soft PC
The line at address 0x00080032 is underlined in red and a "!" mark appears at the
beginning of the line, indicating that the break point has been placed here. (Another
click of [Soft PC break] in this condition will clear the setting of the break.)
Once a break point has been set, execute the program once again.
Step 27) Click [Go] on the tool bar.
The line at address 0x00080032 is underlined in black, indicating the program has
broken. Repeating Step 27 thereafter will demonstrate that the variable i increases by
increments.
This method allows checking, to see whether the intended motion is being implemented
or not. If any problem is detected in the motion, the functioning will have to be looked at
more closely.
The Step and Next operations are two ways of proceeding through the program.
Before starting the next step, clear the break point at address 0x00080032 by executing
Step 26 again (this operation is necessary to check the NEXT operation).
Step 28) Click [Step] on the tool bar.
The program executes the instruction with a black underline in the [Source] window, and
the underline moves on to the instruction to be executed next. Each step is executed
successively as Step 28 is repeated. If the program is error-free, the register changes its
display correctly according to each step executed.
In the Step operation, all the instructions are executed on a step-by-step basis.
The Next operation is basically identical to the Step operation, except that a function,
subroutine or software interrupt routine is skipped (executed as one step). This Next
operation comes in handy, since a subroutine in which debugging was already completed
does not need to be executed step by step.
Step 29) Click [Next] on the tool bar.
Repeat Step 29 to see the difference between the Step and Next executions in the
[Source] window.
Note that a skip was made inside the function sub( ), but the variable i is updated, and
the function was executed continuously.
Since the working of the program cannot be observed very well during the operation
described above, a break will be placed at an appropriate point.
break] on the tool bar.
EPSON
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
S5U1C33000C MANUAL

Related parts for s5u1c33000c