07.04.2013 Views

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>MPLAB</strong> ® C COMPILER FOR<br />

<strong>PIC24</strong> <strong>MCUs</strong> AND <strong>dsPIC</strong> ® <strong>DSCs</strong><br />

USER’S GUIDE<br />

Appendix D. <strong>MPLAB</strong> C <strong>Compiler</strong> <strong>for</strong> PIC18 <strong>MCUs</strong> vs. 16-Bit Devices<br />

D.1 INTRODUCTION<br />

D.2 HIGHLIGHTS<br />

The purpose of this chapter is to highlight the differences between the <strong>MPLAB</strong> C <strong>Compiler</strong><br />

<strong>for</strong> PIC18 <strong>MCUs</strong> (<strong>for</strong>merly <strong>MPLAB</strong> C18) <strong>and</strong> the <strong>MPLAB</strong> C C <strong>Compiler</strong> <strong>for</strong> <strong>PIC24</strong><br />

<strong>MCUs</strong> <strong>and</strong> <strong>dsPIC</strong> ® <strong>DSCs</strong> (<strong>for</strong>merly <strong>MPLAB</strong> C30). For more details on the PIC18 MCU<br />

compiler, please refer to the “<strong>MPLAB</strong> ® C18 C <strong>Compiler</strong> User’s Guide” (DS51288).<br />

This chapter discusses the following areas of difference between the two compilers:<br />

• Data Formats<br />

• Pointers<br />

• Storage Classes<br />

• Stack Usage<br />

• Storage Qualifiers<br />

• Predefined Macro Names<br />

• Integer Promotions<br />

• String Constants<br />

• Access Memory<br />

• Inline Assembly<br />

• Pragmas<br />

• Memory Models<br />

• Calling Conventions<br />

• Startup Code<br />

• <strong>Compiler</strong>-Managed Resources<br />

• Optimizations<br />

• Object Module Format<br />

• Implementation-Defined Behavior<br />

• Bit fields<br />

© 2008 <strong>Microchip</strong> Technology Inc. DS51284H-page 203

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!