
Directives That Align the Section Program Counter / Directives That Define Symbols at Assembly Time
6-11
Assembler Directives
6.6
Directives That Align the Section Program Counter
These directives affect the section program counter (SPC).
-
The .align directive aligns the SPC at a 1-byte to 32K-byte boundary. This
ensures that the code following the directive begins on the byte value that
you specify. If the SPC is already aligned at the selected boundary, it is not
incremented.
-
The .entry directive identifies the starting address of the section program
counter. By default, the current address is used, or, you can specify an op-
tional address.
6.7
Directives That Define Symbols at Assembly Time
Assembly-time symbol directives equate meaningful symbol names to
constant values or strings.
-
The .set directive equates meaningful symbol names to constant values
or strings. The symbol is stored in the symbol table and cannot be rede-
fined; for example:
bval
.set
0100h
.byte bval
b
bval
-
The .sdef directive equates meaningful symbol names to constant values
or strings; the symbol name can be redefined.
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...