
Assemble Into Named Section
.sect
6-27
Assembler Directives
Syntax
.sect “
section name”
Description
The .sect directive begins assembling source code into the named section.
The .sect directive defines named sections that are used like default .text and
.data sections.
The
section name identifies the section. The section name is significant to 80
characters and must be enclosed in double quotes.
Example
Here’s an example of the .sect directive.
.start ”Mysect_1”,0x809800 ; Create two output sections
.start ”Mysect_2”,0x809880 ; at different addresses
.sect ”Mysect_1” ; Begin assembling into Mysect_1
.word $,1,1,1 ; $ gives present address
.sect ”Mysect_2” ; Begin assembling into Mysect_2
.word $,2,2,2 ;
.sect ”Mysect_1” ; Go back to assembling into Mysect_1
.word $,1,1,1 ;
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...