User`s manual
MA - Macro Define/Display NOMA - Macro Delete
3-115
3
Macro definitions are stored in a string pool of fixed size. If the
string pool becomes full while in the definition mode, the offending
string is discarded, a message STRING POOL FULL, LAST LINE
DISCARDED is printed and the user is returned to the debugger
command prompt. This also happens if the string entered would
cause the string pool to overflow. The string pool has a capacity of
511 characters. The only way to add or expand macros when the
string pool is full is either to delete or edit macro(s).
Debugger commands contained in macros may reference
arguments supplied at invocation time. Arguments are denoted in
macro definitions by embedding a back slash (\) followed by a
numeral. Up to ten arguments are permitted, numbered 0 through
9. A definition containing a back slash followed by a zero would
cause the first argument to that macro to be inserted in place of the
string Ò\0Ó. Similarly, the second argument would be used in place
of the string Ò\1Ó.
For instance, you may create a macro named ARGUE, with three
arguments, \0, \1, and \2. Entering ARGUE 3000 1 ;B at the
debugger prompt invokes the macro, with the text strings 3000, 1,
and ;B replacing the \0, \1, and \2 respectively, within the body of
the macro.
The L option toggles the loop continuous macro mode. If the
current macro mode is loop continuous, once a macro is invoked, it
will automatically be re-invoked for continuous operation.
To delete a macro, invoke NOMA followed by the name of the
macro. Invoking NOMA without specifying a valid macro name
deletes all macros. If NOMA is invoked with a valid macro name
that does not have a definition, an error message is printed.
Examples
Example 1: Define the macro ABC.
PPC1-Bug>MA ABC <Return>
M=MD 3000 <Return>
M=GO \0 <Return>
M= <Return>
PPC1-Bug>