cpik C compiler for PIC c -18 devices Version 0.6.0 - PiKdev, An IDE ...
cpik C compiler for PIC c -18 devices Version 0.6.0 - PiKdev, An IDE ...
cpik C compiler for PIC c -18 devices Version 0.6.0 - PiKdev, An IDE ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Figure 1: Result of the very first program compiled by <strong>cpik</strong> ever executed<br />
• source libraries do not depend on any object/library <strong>for</strong>mat, and/or obscure, potentially<br />
undocumented and volatile <strong>for</strong>mat versions.<br />
• final executable code (ie: hex file) can be generated by a very simple assembler without any<br />
advanced feature (in fact, the target assembler is currently gpasm running in absolute mode<br />
- ie: without program sections)<br />
• any output from the <strong>compiler</strong> is potentially a library, so there is no more differences between<br />
object files and libraries. As a consequence, we do not need any librarian utility.<br />
• linking process is globally very simple and does not increase signicatively the complexity/size<br />
of <strong>cpik</strong> <strong>compiler</strong>/linker.<br />
• This design has proven its flexibility <strong>for</strong> the implementation of support <strong>for</strong> data located in<br />
ROM, or jumps optimisations<br />
• Symbolic calculations depending on the location of entities in memory can be deferred to<br />
assembly stage.<br />
In fact, the source file library approach might be rather slow, but, as microcontrollers applications<br />
are not huge, your computer will build ready-to-burn hex files at speed of light.<br />
5 Installation of <strong>cpik</strong><br />
Note:<br />
• In the following, is a 3-digit string corresponding to the version number of <strong>cpik</strong><br />
(eg: 060 <strong>for</strong> V<strong>0.6.0</strong>).<br />
• The <strong>cpik</strong> archive is supposed to be extracted.<br />
7