By using expanded function object with high efficiency can be created. However, as expanded function is adapted in RH850 family, C source needs to be modified so as to use in other than RH850 family.
Here, 2 methods are described for shifting to the CC-RH from other C compiler and shifting to C compiler from the CC-RH.
<From other C compiler to the CC-RH>
#pragmaNote |
Expanded Specifications |
#pragma is one of the pre-processing directives supported by C90 and C99. The character string next to #pragma is made to be recognized as directives to C compiler. If that directive does not supported by the compiler, #pragma directive is ignored and the compiler continues the process and ends normally. |
<From the CC-RH to other C compiler>
The CC-RH, either deletes key word or divides # fdef in order shift to other C compiler as key word has been added as expanded function. |