Skip to main content
Renesas Electronics America - Knowledgebase

Interrupt function and -VECT option (CC-RL)

Last Updated:05/10/2017


I am using the CC-RL compiler for RL78 devices. I have specified functions for handling as interrupt functions by using the linker’s -VECTN option, but they are not handled as interrupt functions.


The -VECTN option of the linker is for setting the address of functions in the interrupt vector table.
To output object code which supports interrupts, you need to use #pragma interrupt or #pragma interrupt_brk directives in the C source file.

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