
.data
Assemble Into .data Section
6-18
Syntax
.data
Description
The .data directive tells the assembler to begin assembling source code into
data memory. The .data section normally contains tables of data or preinitial-
ized variables.
Note that the assembler assumes that .text is the default section. Therefore,
at the beginning of an assembly, the assembler assembles code into the .text
section unless you specify a section control directive.
Example
This example shows how to assemble code into the .data and .text sections.
.start
“.data”, 0x809900
.entry
BEGIN
BEGIN ldi
0, R0
; Initialize R0 and R1
ldi
1, R1
.data
value .int
0, 1, 2, 3, 4, 5
; Integer values
Содержание 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...