239
CHAPTER 2 DEPENDENCE FUNCTIONS
2.5.2
Notes on Commands for Executing Program
When using commands to execute a program, there are several points to note.
■
Notes on GO Command
For the GO command, two breakpoints that are valid only while executing commands can be set. However,
care is required in setting these breakpoints.
●
Invalid Breakpoints
•
No break occurs when a breakpoint is set at the instruction immediately after the following instructions.
•
No break occurs when breakpoint set at address other than starting address of instruction.
■
Notes on STEP Command
●
Exceptional Step Execution
When executing the instructions listed in the notes on the GO command as invalid breakpoints, such
instructions and the next instruction are executed as a single instruction. Furthermore, if such instructions are
continuous, then all these continuous instructions and the next instruction are executed as a single instruction.
●
Step Execution that won't Break
Note that no break occurs after step operation when both the following conditions are met at one time.
•
When step instruction longer than 2 bytes length and last code ends at even address
•
When breakpoint already set at last address
(This "already-set" breakpoint is an invalid breakpoint that won't break, because it has been set at an
address other than the starting address of an instruction.)
■
Controlling Watchdog Timer
It is possible to select "The watchdog timer is stopped in the break. " while executing a program using the
GO, STEP, CALL commands.
Use the ENABLE WATCHDOG, DISABLE WATCHDOG commands to control the watchdog timer.
•
ENABLE WATCHDOG
---
Enables the watchdog time during break.
•
DISABLE WATCHDOG
---
The watchdog timer is stopped in the break.
The start-up default in this program is "Enables the watchdog time during break".
[Example]
>DISABLE WATCHDOG
>GO
F
2
MC-16FX
PCB
DTB
NCC
ADB
SPB
CNR
MOV ILM,#imm8
AND CCR,#imm8
OR CCR,#imm8
POPW PS
Summary of Contents for SOFTUNE F2 MC-16
Page 2: ......
Page 3: ...FUJITSU SEMICONDUCTOR LIMITED F2 MC 16 FAMILY SOFTUNETM Workbench USER S MANUAL ...
Page 4: ......
Page 8: ...iv ...
Page 14: ...x ...
Page 342: ...328 CHAPTER 2 DEPENDENCE FUNCTIONS ...
Page 343: ...329 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 352: ...338 INDEX ...
Page 354: ......