
.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
Содержание TMS320C3 Series
Страница 1: ...TMS320C3x DSP Starter Kit User s Guide...
Страница 18: ...1 4...
Страница 28: ...2 10...
Страница 82: ...5 18...
Страница 140: ...Communications Kernel Source Code A 12...
Страница 145: ...Schematics B 5 DSK Circuit Board Dimensions and Schematic Diagrams...
Страница 146: ...Schematics B 6...
Страница 147: ...Schematics B 7 DSK Circuit Board Dimensions and Schematic Diagrams...
Страница 148: ...Schematics B 8...
Страница 149: ...Schematics B 9 DSK Circuit Board Dimensions and Schematic Diagrams...
Страница 150: ...Schematics B 10...
Страница 154: ...B 14...
Страница 160: ...C 6...
Страница 166: ...Index 6...