148
CHAPTER 2 DEPENDENCE FUNCTIONS
2.3.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.
- No break occurs when both following conditions met at one time.
- Instruction for which breakpoint set starts from odd-address,
- Preceding instruction longer than 2 bytes length, and breakpoint already set at last 1-byte address of
preceding instruction (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).
- 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-16L/16LX
PCB
NCC
SPB
MOV ILM,#imm8
OR CCR,#imm8
DTB
ADB
CNR
ANDCCR,#imm8
POPW PS
F
2
MC-16L/16LX
MOVS
SECQ
WBTS
MOVSWI
SECQWI
MOVSD
SECQD
FILS
FILSW
MOVSW
SECQW
MOVSI
SECQI
WBTC
MOVSWD
SECQWD
FILSI
FILSWI