3. CONVERSION SPECIFICATIONS

This section shows the conversion specifications of the CcnvCA78K0.

 

-

Correct operation is not guaranteed when a C source program that is syntactically incorrect for the CA78K0 is input.

-

The contents included in comments and strings are not converted.

-

Nesting of comments is not supported. A nested comment text is not recognized normally and the range of the comment is invalid. Confirm that there are no nested comments before conversion.

-

When a keyword that is supposed to be converted cannot be found as a keyword due to some reasons, such as it being generated by a ## operator, the keyword cannot be converted. If the C source program is directly compiled by the CC-RL, a compile error will occur. Confirm that there is no #define, typedef, or ## operator for a keyword to be converted.

-

In the CC-RL, an area where to locate memory should be specified with the __near/__far keyword. Since the default operation when the __near/__far keyword is omitted varies according to the memory model specified in the CC-RL, the pointer type may not match after conversion. For a C source program after conversion, specify a small model in the CC-RL. For a microcontroller with the 78K0 memory bank facility, specify the __far keyword for functions in bank 2 and subsequent banks to make those functions have the far attribute.

-

Included files in a C source program are not converted. They have to be converted separately.

 

The following extended language specifications are converted.