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. |
- | If 32-register mode object files and 22-register mode object files are mixed, an error will occur at linkage. |
[Example of use]
- | To generate the 22-register mode object file, describe as: |
>asrh -Xreg_mode=22 -Xcommon=rh850 main.asm
|