Skip to main content
Knowledgebase
Home
Renesas India - Knowledgebase

Issuance of an instruction to access to the mirror area (CC-RL)

Last Updated:05/10/2017

Question:

I am using RL78 Compiler CC-RL. I have a question about the mirror area of the RL78 family of MCUs.
I think that an instruction to access the const variable allocated in the mirror area (ROM side) after linkage is the instruction to access the mirror area. Is it correct?

Answer:

No, it isn't.
Whether to issue an instruction to access the mirror area to variables is decided during compilation.
An instruction to access the mirror area as the const variable allocated in the mirror area is issued to the const variable with the near attribute.

Suitable Products
e² studio
CS+ (formerly CubeSuite+)
C Compiler Package for RL78 Family