4 notes on commands for executing program, Notes on commands for executing program – FUJITSU SOFTUNE F2 MC-16 User Manual

Page 301

Advertising
background image

287

CHAPTER 2 DEPENDENCE FUNCTIONS

2.6.4.4

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 the breakpoint is set at three instructions or less executed continuously from the

user interrupt.

- No break occurs when breakpoint set at address other than starting address of instruction.

- No break occurs when a breakpoint is set at three instructions or less immediately after the following

instructions.

Notes on STEP Command

Exceptional Step Execution

When executing the instructions listed in the notes on the GO command as invalid breakpoints, such an

instruction and next three instructions are executed as a single instruction.

Furthermore, when above-mentioned instructions are included in the next continuous instructions, all of them

and the next continuous three instructions or less are executed as a single instruction.

[Example] When instructions as invalid breakpoints is consecutive

F

2

MC-16FX

PCB
NCC
SPB
MOV ILM,#imm8
OR CCR,#imm8
INT addr16
INT9
JCTX @A
Undefined instruction

DTB
ADB
CNR
AND CCR,#imm8
POPW PS
INTP addr24
INT #vct
RETI

POP PS

(1)

NOP

(2)

RETI

(3)

MOVN A,#-0

(4)

MOVW RW0,A

(5)

NOP

(6)

NOP

(7)

Advertising