Everything
A.2.1 Changing area allocation

To change a section name in the program area, use the #pragma section directive as shown below.

#pragma section text  "section name"

When a text-attribute section is created by #pragma section directive, the resulting section name becomes the "section name" in the directive appended with "_n" for a near section and the one appended with "_f" for a far section.

For a case in which section type "text" is omitted in the directive or a case in which there are both directives with section type and without it, see "Changing compiler output section name (#pragma section)".

 

Specify the start address of the section with the -start option, as follows.

-start=Mytext_n/1000

Specify the address as a base-16 number. If the address is not specified, it will be assigned from address 0.

The -start option is a link option. For details, see "-STARt option".