Everything
3.1 Macro names

The macros supported in the CA78K0R are converted as follows. If there is no corresponding macro in the CC-RL, the CcnvCA78K0R outputs a message. The CPU macro is not converted and no message is output.

 

Table 3.1

Conversion of Macro Names

CA78K0R

Macro Name

After Conversion

Remarks

__LINE__

Not converted

Can be used in the CC-RL without any change.

__FILE__

Not converted

Can be used in the CC-RL without any change.

__DATE__

Not converted

Can be used in the CC-RL without any change.

__TIME__

Not converted

Can be used in the CC-RL without any change.

__STDC__

Not converted

Can be used in the CC-RL without any change.

__K0R__

__RL78__

 

__K0R_SMALL__

__RL78_SMALL__

 

__K0R_MEDIUM__

__RL78_MEDIUM__

 

__K0R_LARGE__

Not converted

A message is output.

Handled as a user-defined macro in the CC-RL.

__CHAR__UNSIGNED__

__UCHAR

 

__RL78__

Not converted

Can be used in the CC-RL without any change.

__RL78_1__

__RL78_S2__

 

__RL78_2__

__RL78_S3__

 

__RL78_3__

__RL78_S1__

 

__CA78K0R__

Not converted

A message is output.

When the -convert_cc option is used in the CC-RL, define the __CA78K0R__ macro.

CPU macro

Not converted

A message is not output.

Handled as a user-defined macro in the CC-RL.