
Chapter 2 Basic Operations 2.6 Creating Events
42
Examples of event condition setting are given below.
When the Event Set dialog box is opened, the default screen, shown below, initially appears.
Modify the screen settings as required.
<1>
<3>
<4>
<2>
<5>
<6>
<7>
Condition
Setting
<2>
0
Remarks
When a program at address
0x100 is executed
When memory access to
address 0xfe00 is
performed
When memory access is
performed for addresses
0xfe00 to 0xfe7f
<1>
0x100
<3>
Run
The defaults are used for
<4>
,
<5>
,
<6>
, and
<7>
.
The defaults are used for
<6>
and
<7>
.
<1>
0xfe00
<4>
0x00
<2>
0
<5>
ff
<3>
Data R/W
<1>
0xfe00-0xfe7f
<3>
Data R/W
<5>
ff
<2>
0
<4>
0
The defaults are used for
<6>
and
<7>
. An event
occurs when any address in
the range is accessed.
The defaults are used for
<6>
and
<7>
.
The defaults are used for
<6>
and
<7>
. For mask
specification, set those bits
to be monitored to 0, and set
the other bits to 1.
The defaults are used for
<6>
and
<7>
.
The defaults are used for
<4>
,
<5>
,
<6>
, and
<7>
.
When memory is read (with
no address condition set)
If bit 0 is 1 when writing to
address 0xfb01 is
performed
<1>
0
<4>
0
<1>
0xfb01
<4>
1
<2>
ffff
<5>
ff
<2>
0
<5>
fe
<3>
Data Read
<3>
Data Write
When 0x10 is written to
address 0xfb01
When an event is to be set
at the start of function
sub(), coded in C
When the value of variable
cnt, registered in C,
becomes 0x46
When an event is to be set
with the START function of
the assembler
When the value of
assembler variable DATA
becomes 35H
<1>
0xfb01
<4>
0x10
<1>
_sub
<2>
0
<5>
0
<2>
0
<3>
Data Write
<3>
Run
<1>
_cnt
<4>
0x46
<2>
0
<5>
0
<3>
Data R/W
The defaults are used for
<6>
and
<7>
.
<1>
START
<2>
0
<3>
Run
The defaults are used for
<4>
,
<5>
,
<6>
, and
<7>
.
<1>
DATA
<4>
35H
<2>
0
<5>
0
<3>
Data R/W
The defaults are used for
<6>
and
<7>
.