
.set
Define Assembly-Time Constant
6-28
Syntax
symbol .set value
Description
The .set directive equates a constant value to a symbol. The symbol can then
be used in place of the value in assembly source. This allows you to equate
meaningful names with constants and other values.
-
The
symbol must appear in the label field.
-
The
value must be a well-defined expression; that is, all symbols in the ex-
pression must be previously defined in the current source module.
Example
This example shows how to assign symbols with .set.
TA .set 1
TB .set 5
ldi *AR0++(TA),R0
ldi *AR0++(TB),R0
Summary of Contents for TMS320C3 Series
Page 1: ...TMS320C3x DSP Starter Kit User s Guide...
Page 18: ...1 4...
Page 28: ...2 10...
Page 82: ...5 18...
Page 140: ...Communications Kernel Source Code A 12...
Page 145: ...Schematics B 5 DSK Circuit Board Dimensions and Schematic Diagrams...
Page 146: ...Schematics B 6...
Page 147: ...Schematics B 7 DSK Circuit Board Dimensions and Schematic Diagrams...
Page 148: ...Schematics B 8...
Page 149: ...Schematics B 9 DSK Circuit Board Dimensions and Schematic Diagrams...
Page 150: ...Schematics B 10...
Page 154: ...B 14...
Page 160: ...C 6...
Page 166: ...Index 6...