
Directives That Define Sections
6-6
Example 6–1.Sections Directives
0x00809800
directive .start ”.text”,0x809800
0x00809800
directive .start ”.data”,0x809900
0x00809800
directive .start ”mysect”,0x809a00
0x00809800
nocode
0x00809800
nocode ; Start assembling into .text
0x00809800
nocode
0x00809800
directive .text
0x00809800
directive .byte 1,2
0x00909800
0x00000001 <byte>
0x00809801
0x00000002 <byte>
0x00809802
directive .byte 3,4
0x00809802
0x00000003 <byte>
0x00809803
0x00000004 <byte>
0x00809804
nocode
0x00809804
nocode ; Start assembling into .data
0x00809804
nocode
0x00809804
directive .data
0x00809900
directive .byte 9,10
0x00809900
0x00000009 <byte>
0x00809901
0x0000000a <byte>
0x00809902
directive .byte 11,12
0x00809902
0x0000000b <byte>
0x00809903
0x0000000c <byte>
0x00809904
nocode
0x00809904
nocode ; Resume assembling into .text
0x00809904
directive .text
0x00809804
directive .byte 5,6
0x00809804
0x00000005 <byte>
0x00809805
0x00000006 <byte>
0x00809806
nocode
0x00809806
nocode ; Start assembling into mysect
0x00809806
nocode
0x00809806
directive .sect ”mysect”
0x00809a00
nocode
0x00809a00
directive .byte 21,22
0x00809a01
0x00000015 <byte>
0x00809a01
0x00000016 <byte>
0x00809a02
directive .byte 23,24
0x00809a02
0x00000017 <byte>
0x00809a02
0x00000018 <byte>
0x00809a04
nocode
0x00809a04
nocode
0x00809a04
nocode
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...