title: Declare a specific address for a string in MPLAB XC8 Microchip compiler
body: <p>With compiler C18 when I want to use a specific address for a string I use:</p>
  
  <p><strong>In .C</strong></p>
  
  <pre><code>#pragma romdata idsoft
      const rom unsigned char _app_nfo[31]= {"V0.0 No        - 05/12/12"};
  #pragma romdata
  </code></pre>
  
  <p><strong>in linker:</strong></p>
  
  <pre><code>CODEPAGE   NAME=idsoft     START=0x78E0         END=0x78FE
  </code></pre>
  
  <p>How can i do same with XC8?
  I've try many things, but none of them are working.</p>
  
  <p><strong>in XC8 linker parameter:</strong></p>
  
  <pre><code>-L-pappnfo=0x78E0
  </code></pre>
  
  <p><strong>In .C :</strong></p>
  
  <pre><code>unsigned char __section ("appnfo")  app_nfo[31];
  </code></pre>
  
  <p>It's not working.</p>