The following predefined macros are defined according to the option specification and version.
Table 5.35 | Predefined Macros of Assembler |
|
|
|
1
|
cpu=rx600
cpu=rx200
|
__RX600
__RX200
|
.DEFINE 1
.DEFINE 1
|
2
|
endian=big
endian=little
|
__BIG
__LITTLE
|
.DEFINE 1
.DEFINE 1
|
3
|
-
|
__RENESAS_VERSION__ *1
|
.DEFINE XXYYZZ00H *2
|
4
|
isa=rxv1
|
__RXV1
|
.DEFINE 1
|
5
|
isa=rxv2
|
__RXV2
|
.DEFINE 1
|
6
|
-
|
__ASRX__ *1
|
.DEFINE 1
|
7
|
-
|
__RENESAS__ *1
|
.DEFINE 1
|
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 V2.04.00: __RENESAS_VERSION__ .DEFINE 02040000H. |