This option specifies how to handle the ep register.
[Specification format]
- | Interpretation when omitted |
The ep register is treated as a register guaranteeing the value before and after the function call.
[Detailed description]
- | This option specifies how to handle the ep register. |
- | The items that can be specified as mode are shown below.
An error will occur if any other item is specified. |
fix
|
Fixes the value of the ep register for the entire project.
Specify this parameter when any of the following attribute strings in a #pragma section in the project is used.
ep_auto, ep_disp4, ep_disp5, ep_disp7, ep_disp8, ep_disp16, ep_disp23
|
callee
|
Treats the ep register as a register guaranteeing the value before and after the function call.
Specify this parameter when the -Omap or -Osmap option is specified.
|
- | An error will occur if mode is omitted. |
[Example of use]
- | To fix the value of the ep register for the entire project, describe as: |
>ccrh -Xep=fix -Xcommon=rh850 main.c
|