The following predefined macros are defined according to the option specification and version.
Table 5.35 | Predefined Macros of Assembler |
|
|
|
|
1
|
__RX600
__RX200
|
.DEFINE 1
.DEFINE 1
|
cpu=rx600
cpu=rx200
|
2
|
__BIG
__LITTLE
|
.DEFINE 1
.DEFINE 1
|
endian=big
endian=little
|
3
|
__RENESAS_VERSION__ *1
|
.DEFINE XXYYZZ00H *2
|
-
|
4
|
__RXV1
|
.DEFINE 1
|
isa=rxv1 *3
|
5
|
__RXV2
|
.DEFINE 1
|
isa=rxv2 *3
|
6
|
__RXV3 [V3.00.00 or later]
|
.DEFINE 1
|
isa=rxv3 *3
|
7
|
__RX_ISA_VERSION__
[V3.00.00 or later]
|
.DEFINE 1
.DEFINE 2
.DEFINE 3
|
isa=rxv1 *3
isa=rxv2 *3
isa=rxv3 *3
|
8
|
__ASRX__ *1 [V2.03.00 or later]
|
.DEFINE 1
|
-
|
9
|
__RENESAS__ *1 [V2.03.00 or later]
|
.DEFINE 1
|
-
|
10
|
__FPU
|
.DEFINE 1
|
-fpu
|
11
|
__DPFPU
|
.DEFINE 1
|
-dpfpu
|
Notes 1. | Always defined regardless of the option. |
Notes 2. | When the Assembler version is VXX.YY.ZZ, the value of __RENESAS_VERSION__ is XXYYZZ00H.
Example
For V3.01.00: __RENESAS_VERSION__ .DEFINE 03010000H. |
Notes 3. | Includes the specification by the ISA_RX environment variable. |