Skip to main content
Renesas India - Knowledgebase

Accessing 4-byte and 8-byte Variables and Interrupts_CC-RL

Last Updated:02/07/2018


I am using RL78 Compiler CC-RL.
Is there any possibility of an interrupt during access to 4-byte variables or 8-byte variables?


The instruction set of RL78 Family does not contain an instruction that accesses 4-byte and 8-byte data at one time.
Therefore, if accessing 4-byte and 8-byte data is required, CC-RL outputs a code that uses multiple instructions.
Because multiple instructions are used, an interrupt might be generated during access.
If you want to prohibit interrupt during access, use the embedded function _DI.
Suitable Products
CS+ (formerly CubeSuite+)
e² studio
C Compiler Package for RL78 Family
  • Was this article helpful?