User`s manual

Symbolic Debugging in Assembly Code
Motorola Debugging C and Assembly Code 3-19
again and choose Close. A dialogue box opens for you to indicate that you want to close
the Profile log file. Closing that file will end that profile.
In the text-based interface of the simulator, first load your executable program, both
symbols and memory. Then use the
log command with two arguments: the option p to
indicate profile and a name for the profile log file. A third option indicates whether to
append the profile to an existing file (option
-a), to overwrite any existing file of the same
name (option
-o), or to cancel the profile if a file of the same name already exists
(option
-c). To end a profile, use the log command with the option off.
3.3 Symbolic Debugging in Assembly Code
The assembly code in Example 3 -5 implements a basic finite impulse response filter. FIR
filters are widely used in digital signal processing. The include file,
iodata.h,in
Example 3 -6 on page 3-21 saves registers onto a stack and restores them from that stack.
It also uses Suite56 debugging facilities (e.g., the
debug instruction) to manage simulated
input. For more about simulated input, see Section 4.2.1, "Generating Interrupts and
Real-Time Stimuli of Pins," on page 4-4, and Section 5.8, "How do I simulate input and
output?," on page 5-5.