
Initialize Text
.string
6-31
Assembler Directives
Syntax
.string “
string
1
”
[,..., “string
n
”]
Description
The .string directive places one or more 8-bit character strings into consecu-
tive bytes of the current section.
The character string must be enclosed in double quotes. Each character in a
string represents a separate value.
The .string directive places the 8-bit values into memory in a packed form in
the order they are encountered. If a word is not filled, the remaining bits are
filled with 0s.
Example
This example shows several 8-bit values placed into consecutive bytes in
memory. The label Str_3 has the value 0h, which is the location of the first ini-
tialized byte.
Str_3: .string
“ABCD”
.string
51h, 52h, 53h, 54h
.string
“Hoston”
.string
36+12
Содержание 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...