English
Language : 

CC78K4 Datasheet, PDF (428/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 11 EXTENDED FUNCTIONS
Flash Area Branch Table
#pragma ext_table
EXAMPLE
To generate the branch table after the address 4000H and allocate the interrupt function.
(C source)
#pragma ext_table 0x4000
#pragma interrupt INTP0 intp
void intp()
{
}
(Output object of compiler)
(a) To allocate the interrupt function to the boot area (no -ZF specification).
PUBLIC _@vect06
PUBLIC _intp
@@BASE
_intp:
CSEG BASE
reti
@@VECT06 CSEG AT 0006H
_@vect06:
DW
_intp
• Set the first address of the interrupt function in the interrupt vector table.
428
User’s Manual U15556EJ1V0UM