
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
Содержание 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...