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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
A.15 PREPROCESSING DIRECTIVES<br />
Implementation-Defined Behavior<br />
Implementation-Defined Behavior <strong>for</strong> Preprocessing Directives is covered in section<br />
G.3.13 of the ANSI C St<strong>and</strong>ard.<br />
Does the value of a single-character character constant in a constant expression, that<br />
controls conditional inclusion, match the value of the same character constant in the<br />
execution character set? (ISO 6.8.1)<br />
Yes.<br />
Can such a character constant have a negative value? (ISO 6.8.1)<br />
Yes.<br />
What method is used <strong>for</strong> locating includable source files? (ISO 6.8.2)<br />
The preprocessor searches the current directory, followed by directories named using<br />
comm<strong>and</strong>-line options.<br />
How are headers identified, or the places specified? (ISO 6.8.2)<br />
The headers are identified on the #include directive, enclosed between < <strong>and</strong> ><br />
delimiters, or between “ <strong>and</strong> ” delimiters. The places are specified using comm<strong>and</strong>-line<br />
options.<br />
Are quoted names supported <strong>for</strong> includable source files? (ISO 6.8.2)<br />
Yes.<br />
What is the mapping between delimited character sequences <strong>and</strong> external source file<br />
names? (ISO 6.8.2)<br />
The identity function.<br />
Describe the behavior of each recognized #pragma directive. (ISO 6.8.6)<br />
TABLE A-4: #PRAGMA BEHAVIOR<br />
Pragma Behavior<br />
#pragma code section-name Names the code section.<br />
#pragma code Resets the name of the code section to its default<br />
(viz., .text).<br />
#pragma idata section-name Names the initialized data section.<br />
#pragma idata Resets the name of the initialized data section to its<br />
default value (viz., .data).<br />
#pragma udata section-name Names the uninitialized data section.<br />
#pragma udata Resets the name of the uninitialized data section to<br />
its default value (viz., .bss).<br />
#pragma interrupt<br />
function-name<br />
Designates function-name as an interrupt function.<br />
What are the definitions <strong>for</strong> __ DATE __ <strong>and</strong> __ TIME __ respectively, when the date<br />
<strong>and</strong> time of translation are not available? (ISO 6.8.8)<br />
Not applicable. The compiler is not supported in environments where these functions<br />
are not available.<br />
© 2008 <strong>Microchip</strong> Technology Inc. DS51284H-page 135