title: Embedding constant at specific memory location
body: <p>I'm writing a bootloader for an embedded application on the NXP S12ZVL32.  I need the application to be aware of the version (major, minor, build) of the bootloader.  Is it possible to declare constants at a specific location in the bootloader source so the application can find them?</p>
  
  <p>I tried declaring constants at the start of a #pragma section so I would know where it started.</p>
  
  <pre><code>#pragma CODE_SEG SHADOW_ROM
  const UINT8 VER_MAJOR = 0xFE;
  const UINT8 VER_MINOR = 0xED;
  const UINT16 VER_BUILD = 0xCEFA;
  </code></pre>
  
  <p>S12 is little endian, so I expected to be able to search the generated .sx file for FEEDFACE, but could not find even FEED or FACE.  I have optimization turned off, so the compiler shouldn't be removing unused constants.</p>