TMS320C5x DSP STARTER KIT USER'S GUIDE
TMS320C5x DSP STARTER KIT USER'S GUIDE
TMS320C5x DSP STARTER KIT USER'S GUIDE
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
.setDirectives ReferenceSyntax symbol .set valueDescriptionThe .set directive equates a constant value to a symbol. The symbol can thenbe used in place of a value in assembly source. This allows you to equatemeaningful names with constants and other values. symbol must appear in the label field. value must be a well-defined expression; that is, all symbols in the expressionmust be previously defined in the current source module.ExampleThis example shows how symbols can be assigned with .set.zero .set 0zero+1 .set 1 ;zero + 1 is a symbolLACL zero ;zero + 1 is replacedADD #zero+1 ;symbolResult LACL 0ADD 15-28