
.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
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...