This option specifies the type of the CPU core.
[Specification format]
-cpu={S1|S2|S3}
S1: RL78-S1 core
S2: RL78-S2 core
S3: RL78-S3 core
|
- | Interpretation when omitted |
Cannot be omitted. An error will occur if no specification is made.
However, no error will occur when the -V or -help option is specified.
[Detailed description]
- | This option specifies the type of the CPU core. |
- | An error will occur if the string that cannot be specified is specified. |
- | An error will occur if the -cpu=S1 and -dbl_size=8 options are specified at the same time. |
- | An error will occur if the -cpu=S2 and -dbl_size=8 options are specified at the same time. |
- | This option only specifies the type of the CPU core and does not specify whether the arithmetic unit is implemented. |
- | Depending on this option setting, the interpretation differs when the -use_mda option is omitted.
See "-use_mda" for detail. |
- | Depending on this option setting, the interpretation differs when the -memory_model option is omitted.
See "-memory_model" for detail. |
[Example of use]
- | To generate a code for the RL78-S2 core specified as the CPU type, describe as: |
>ccrl -cpu=S2 -dev=dr5f100pj.dvf main.c
|