154
CHAPTER 2 DEPENDENCE FUNCTIONS
● Abnormal Breakpoint
• Setting a breakpoint at the instruction immediately after string instructions listed below, may cause a
break in the middle of the string instruction without executing the instruction to the end.
F
2
MC-16/16L/16LX/16H: • MOVS • MOVSW • SECQ • SECQW • WBTS
• MOVSI • MOVSWI • SECQI • SECQWI • WBTC
• MOVSD • MOVSWD • SECQD • SECQWD
• FILS • FILSI • FILSW • FILSWI
F
2
MC-16F: Above plus • MOVM • MOVMW
Here are some additional points about the effects on other commands.
● Dangerous Breakpoints
• Never set a breakpoint at an address other than the instruction starting address. If a breakpoint is the last 1
byte of an instruction longer than 2 bytes length, and if such an address is even, the following abnormal
operation will result:
- If instruction executed by STEP command, instruction execution not aborted.
- If breakpoint specified with GO command, set at instruction immediately after such instruction, the
breakpoint does not break.
Note:
When the debugging area is set again, all breakpoints in the area are cleared.