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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

16-Bit C <strong>Compiler</strong> User’s Guide<br />

A.3 TRANSLATION<br />

A.4 ENVIRONMENT<br />

Implementation-Defined Behavior <strong>for</strong> Translation is covered in section G.3.1 of the<br />

ANSI C St<strong>and</strong>ard.<br />

Is each non-empty sequence of white-space characters, other than new line, retained<br />

or is it replaced by one space character? (ISO 5.1.1.2)<br />

It is replaced by one space character.<br />

How is a diagnostic message identified? (ISO 5.1.1.3)<br />

Diagnostic messages are identified by prefixing them with the source file name <strong>and</strong> line<br />

number corresponding to the message, separated by colon characters (‘:’).<br />

Are there different classes of message? (ISO 5.1.1.3)<br />

Yes.<br />

If yes, what are they? (ISO 5.1.1.3)<br />

Errors, which inhibit production of an output file, <strong>and</strong> warnings, which do not inhibit<br />

production of an output file.<br />

What is the translator return status code <strong>for</strong> each class of message? (ISO 5.1.1.3)<br />

The return status code <strong>for</strong> errors is 1; <strong>for</strong> warnings it is 0.<br />

Can a level of diagnostic be controlled? (ISO 5.1.1.3)<br />

Yes.<br />

If yes, what <strong>for</strong>m does the control take? (ISO 5.1.1.3)<br />

<strong>Compiler</strong> comm<strong>and</strong> line options may be used to request or inhibit the generation of<br />

warning messages.<br />

Implementation-Defined Behavior <strong>for</strong> Environment is covered in section G.3.2 of the<br />

ANSI C St<strong>and</strong>ard.<br />

What library facilities are available to a freest<strong>and</strong>ing program? (ISO 5.1.2.1)<br />

All of the facilities of the st<strong>and</strong>ard C library are available, provided that a small set of<br />

functions is customized <strong>for</strong> the environment, as described in the “Run Time Libraries”<br />

section.<br />

Describe program termination in a freest<strong>and</strong>ing environment. (ISO 5.1.2.1)<br />

If the function main returns or the function exit is called, a HALT instruction is executed<br />

in an infinite loop. This behavior is customizable.<br />

Describe the arguments (parameters) passed to the function main? (ISO 5.1.2.2.1)<br />

No parameters are passed to main.<br />

Which of the following is a valid interactive device: (ISO 5.1.2.3)<br />

Asynchronous terminalNo<br />

Paired display <strong>and</strong> keyboardNo<br />

Inter program connectionNo<br />

Other, please describe?None<br />

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

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

Saved successfully!

Ooh no, something went wrong!