To verify correct return from a function call
The exit code for a function will often contain instructions for deallocating
stack storage for local variables and restoring registers that were saved
during the function call. Some language implementations vary on these
points, with the calling function doing some of this work, so you may need to
adapt the procedure to suit your system.
1
Go to the state analyzer’s Trigger menu.
2
Define terms SR_START and SR_END to represent the start and end
addresses of the subroutine.
3
Under State Sequence Levels, insert 2 more sequence levels and enter
the following sequence specification:
•
While storing "anystate" Find "SR_START" Occurs "1" Else on "no state" go
to level "1"
•
While storing "anystate" Then find "SR_END" Occurs "1" Else on "no state"
go to level "2"
•
While storing "anystate" TRIGGER on "
≠
SR_START" Occurs "1" Else on
"SR_START" go to level "2"
Verifying correct return from a function call
Single-Machine Trigger Examples
To verify correct return from a function call
5-13
Содержание 1660CS
Страница 5: ...Introduction iv ...
Страница 16: ...1 Logic Analyzer Overview ...
Страница 24: ...2 Connecting Peripherals ...
Страница 33: ...2 10 ...
Страница 34: ...3 Using the Logic Analyzer ...
Страница 55: ...3 22 ...
Страница 56: ...4 Using the Trigger Menu ...
Страница 75: ...4 20 ...
Страница 76: ...5 Triggering Examples ...
Страница 109: ...5 34 ...
Страница 110: ...6 File Management ...
Страница 114: ...Saving the system configuration for programmatic control File Management To save a configuration 6 5 ...
Страница 119: ...6 10 ...
Страница 120: ...7 Reference ...
Страница 221: ...7 102 ...
Страница 222: ...8 System Performance Analysis SPA Software ...
Страница 241: ...SPA Time Interval System Performance Analysis SPA Software SPA measurement processes 8 20 ...
Страница 252: ...9 Concepts ...
Страница 273: ...HP 1660CS series analyzer theory HP 1660C CS logic analyzer The Analyzer Hardware HP 1660CS series analyzer theory 9 22 ...
Страница 279: ...Oscilloscope board theory Oscilloscope board The Analyzer Hardware Oscilloscope board theory 9 28 ...
Страница 284: ...10 Troubleshooting ...
Страница 298: ...11 Specifications ...
Страница 311: ...11 14 ...
Страница 312: ...12 Operator s Service ...
Страница 324: ...Troubleshooting Flowchart 2 Troubleshooting To use the flowcharts 12 13 ...
Страница 337: ...Glossary 4 ...