Skip to main content
Knowledgebase
Home
Renesas Electronics Europe - Knowledgebase

Why does CC-RX compiler V. 2 specified the first address as 0x00000004?

Latest Updated:10/28/2014

Question:

When I use the CC-RX compiler V. 2, it specifies the first address for the allocation of sections as 0x00000004. Why ?

Answer:

If a pointer variable is allocated to address 0x00000000, it cannot be compared to NULL which is used to check pointer variables.
For this reason, sections start at address 0x00000004 by default.
Suitable Products
CS+ (formerly CubeSuite+)
C/C++ Compiler Package for RX Family