µVision User's Guide

legacy

SET

SyntaxDescription
SET variableDisplays a SET variable assignment.
SET variable = "string"Assigns string to the specified SET variable.

The SET command set the string associated with a predefined variable. You may also use the SET command to display the string currently associated with a predefined variable. The RESET command lets you clear the string associated with a predefined variable. Refer to RESET for more information.

The following predefined variables may be used with the SET and RESET commands.

Variable NameDescription
SRCThe path or paths to search for source or listing files required for source-level debugging. Up to 10 path specifications may be specified for the SRC variable one at a time.
Example

When you load an object module, the path specified is added to the SRC paths that are searched.

>LOAD \OBJS\MEASURE         /* Load mod.  MEASURE          */
>SET SRC                    /* Display paths assigned to SRC */
\objs

You may add additional path specifications so search for source and listing files.

>SET SRC =\SRC               /* Additional path specification */
>SET SRC                    /* Display paths assigned to SRC */
\objs
\src