Notes On Commands For Executing Program - Fujitsu SOFTUNE F2 MC-16 User Manual

Software for developing programs for the f2 mc-16 family of microprocessors / microcontrollers
Hide thumbs Also See for SOFTUNE F2 MC-16:
Table of Contents

Advertisement

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.
2
F
MC-16FX
• 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
• DISABLE WATCHDOG
The start-up default in this program is "Enables the watchdog time during break".
[Example]
>DISABLE WATCHDOG
>GO
PCB
NCC
SPB
MOV ILM,#imm8
OR CCR,#imm8
---
Enables the watchdog time during break.
---
The watchdog timer is stopped in the break.
CHAPTER 2 DEPENDENCE FUNCTIONS
DTB
ADB
CNR
AND CCR,#imm8
POPW PS
239

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents