![](http://datasheet.mmic.net.cn/290000/XPC801ZP25_datasheet_16187868/XPC801ZP25_424.png)
Development Support
MOTOROLA
MPC801 USER’S MANUAL
18-13
18
18.2.1.3.1 Byte Working Mode Example
Looking for:
Data size: Byte.
Address: 0x00000003.
Data value: Greater than 0x07 and less than 0x0c.
Programming options:
One L-address comparator = 0x00000003 and program for equal.
One L-data comparator = 0x00000007 and program for greater than.
One L-data comparator = 0x0000000c and program for less than.
Both byte masks = 0xe.
Both L-data comparators program to byte mode.
Result: The event will be correctly detected, regardless of the load/store instruction the
compiler chooses for this access.
18.2.1.3.2 Half-Word Working Mode Example 1
Looking for:
Data size: Half-word.
Address: Greater than 0x00000000 and less than 0x0000000c.
Data value: Greater than 0x4e204e20 and less than 0x9c409c40.
Programming options:
One L-address comparator = 0x00000000 and program for greater than.
One L-address comparator = 0x0000000c and program for less than.
One L-data comparator = 0x4e204e20 and program for greater than.
One L-data comparator = 0x9c409c40 and program for less than.
Both byte masks = 0x0.
Both L-data comparators program to half-word mode.
Result: The event will be correctly detected as long as the compiler does not use a
load/store instruction with data size of byte.
18.2.1.3.3 Half-Word Working Mode Example 2
Looking for:
Data size: Half-word.
Address: Greater than or equal to 0x00000002 and less than 0x0000000e.
Data value: Greater than 0x4e204e20 and less than 0x9c409c40.
Programming options:
One L-address comparator = 0x00000001 and program for greater than.
One L-address comparator = 0x0000000e and program for less than.
One L-data comparator = 0x4e204e20 and program for greater than.
One L-data comparator = 0x9c409c40 and program for less than.
Both byte masks = 0x0.
Both L-data comparators program to half-word or word mode.