Triggering
To store and time the execution of a subroutine
Example | Suppose you want to trigger on entry to a routine called MY_SUB. You can | |
| define the address of MY_SUB in the Format menu, allowing you to reference | |
| the symbol name when setting up the trace specification. Assume that | |
| MY_SUB extends for 0A hex locations. You can set up the trigger sequencer | |
| as shown in the display. | |
|
|
|
|
|
|
Trigger Setup for Storing Execution of a Subroutine
For processors that do prefetching of instructions or have pipelined architectures, you may want to add part or all of the depth of the pipeline to the start address for In_Range1 to ensure that the analyzer does not trigger on a prefetched but unexecuted state.