122
CHAPTER2 Dependence Functions
2.3.4.9 Data Watch Break

This special break function suspends program execution when the program reaches a

specified address where specified data matches. Use conditions vary depending on the

connection state of the Emulator.

Data Watch Break

This special break function suspends program execution when the program reaches a specified address
where specified data matches. There are two patterns of software and hardware.
The figure below shows the conditions of data watch break.

Setting Number

The maximum number of data watch breaks to be set is calculated as follows. The number of breaks set
and the break conditions differ between hardware and software.
Data watch break (hardware)
The break conditions are set by the address and data. Up to four breakpoints can be set. The number of
break to be set fluctuates because they are used with "Sequencer" and/or "Trace Trigger".
Data watch break (software)
The break conditions can be specified by the address register and offset. These are additional conditions
to "Hardware Break", "Code Event Break", and "Data Event Break". All "Data Monitoring Conditions"
to be specified become the same.
Program flow Data Area
Specified
address
When data does not match,
no break occurs.
When data matches,
a break occurs.
Data match
instruction
Specified
address
instruction