
.start
Link Section to Address
6-30
Syntax
.start “
section name”, address
Description
The .start directive links the
section name to start at location address. This di-
rective effectively gives the DSK assembler the same functionality as a linker
command file when used only to create runtime executable modules. For the
specified section to have a valid starting address, the .start statement for the
section must precede the .text, .data, or .sect directive that defines the section
name. Note that by using an include file with an imbedded .if/.sdef/.endif, the
.start directive can effectively be used in place of the linker.
Example
Here is an example of the .start directive.
.entry START
.start ”MAIN”,0x809800 ; Create an output sections
.sect ”MAIN” ; Begin assembling into MAIN
LOOP: addi 1,R0 ; Top of loop
addi 1,R1
START: ldi 0,R0 ; Initialize R0,R1
ldi 0,R1
b LOOP ; Go to top of loop
Содержание 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...