This option specifies the register mode.
[Specification format]
- | Interpretation when omitted |
The 32-register mode object file is generated.
[Detailed description]
- | This option generates the object file for the specified register mode. |
- | This option limits the number of registers used by ccrh to 32 (the 32-register mode) or 22 (the 22-register mode or register mode "common") and embeds the magic number into the object file. |
- | Use register mode "common" to generate the object file that does not depend on register modes. |
- | The items that can be specified as mode are shown below.
An error will occur if any other item is specified. |
- | An error will occur if mode is omitted. |
- | The same register mode must be specified for all source files.
The different register mode cannot be specified for each source file.
If there are object files with different register modes, an error will occur during linking. |
[Example of use]
- | To generate the 22-register mode object file, describe as: |
>asrh -Xreg_mode=22 -Xcommon=rh850 main.asm
|