beautypg.com

1 code break, Code break – FUJITSU CM71-00329-7E User Manual

Page 54

background image

44

CHAPTER2 Dependence Functions

2.1.8.1

Code Break

This function causes a break by monitoring a specified address by software.
A break occurs before executing an instruction at the specified address.

Code Break

When the program reaches a break point (immediately before executing the instruction at the memory

location), the simulator debugger executes the following processes:

1. Suspend program execution (before executing instruction).

2. Checks count of arrival time. If the count of arrival time at the specified break point has not yet been

reached, the simulator resumes the program execution. If the count of arrival time has been reached, the
simulator proceeds to step 3.

3. Displays memory location where execution suspended on Status Bar.

Break points can be set as follows.

For simulator debugger of normal speed: 65535 points

For simulator debugger of high speed: 67 points

When the code break occurs, the following message appears at the status bar.

Break at address by breakpoint

How to set

Set code break as follows.

Dialog

- "Code" tab in breakpoint setting dialog

For details, refer to "4.6.4 Breakpoint" in "SOFTUNE Workbench Operation Manual".

Window

- Source window/disassemble window

For details, refer to "3.7 Source Window" or "3.9 Disassemble Window" in "SOFTUNE Workbench

Operation Manual".

Command

- SET BREAK

For details, refer to "3.1 SET BREAK (type 1)" in "SOFTUNE Workbench Command Reference

Manual".

Note:

In order to set breakpoints, it is required to set memory map to high-speed simulator debugger.

When the memory map defined area is changed to an undefined attribute, the breakpoints are
cancelled.