1 code break (hardware), Code break (hardware) – FUJITSU SOFTUNE F2 MC-16 User Manual

Page 308

Advertising
background image

294

CHAPTER 2 DEPENDENCE FUNCTIONS

2.6.6.1

Code Break (Hardware)

This function suspends program execution by monitoring a specified address by
hardware. A break occurs before an instruction at the specified address is executed.

Code Break (Hardware)

This function suspends program execution by monitoring a specified address by hardware. A break occurs

before an instruction at the specified address is executed.

Code Break (Hardware) has the hardware/count for which a path count can be set.

The maximum number of points that can be set is as follows:

Hardware: 8

points

Hardware/count: 2

points

When the code break (hardware) occurs, the following message appears in the status bar.

Hardware:

Break at [Address] by code event break

Hardware/count

Break at [Address] by sequential or pass count break

How to set

Control the code break in the following methods:

Command

- SET BREAK/HARD

Refer to "3.1 SET BREAK(type 1)" in "SOFTUNE Workbench Command Reference Manual".

Dialog

- "Code" tab in the breakpoint setting dialog

Refer to "4.6.4 Breakpoint" in "SOFTUNE Workbench Operation Manual".

Window

- Source window/disassemble window

Refer to "3.7 Source Window" or "3.9 Disassemble Window" in "SOFTUNE Workbench Operation

Manual".

Special Operation when breakpoint is set

If the specified condition is satisfied in the debugger, note that the following phenomenon occurs.

No progressing of program counter (PC)
If the hardware break is set to the string instruction, the pass count may be added several times by one
instruction execution.
Furthermore, if program is executed from the string instruction which the hardware break is set, a break
occurs without progressing PC.

When the breakpoint is hit, the stopping address becomes after two instructions or less from the address
that is sure to stop originally.
During continuous user program execution, the address where the program stops becomes after two
instructions or less from the address that is sure to stop originally when either of the following conditions
was satisfied.

Advertising