English
Language : 

CC78K4 Datasheet, PDF (31/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 1 GENERAL
<25> Data insertion function
Constant data is inserted in the current address. Specific data and instructions can be embedded in the
code area without using assembler description.
<26> Interrupt handler for RTOS
Interrupt handlers for the RX78K/IV (real-time OS) can be described. Vectors can be set (settings of
interrupt request name, function name for handlers, and stack switching) by the #pragma directive.
<27> Interrupt handler qualifier for RTOS
This qualifier allows the interrupt handler description and the vector setting for the RX78K/IV (real-time OS)
to be made in separate files.
<28> Task function for RTOS
Specified functions are interpreted as the tasks for the RX78K/IV (real-time OS) by the #pragma directive.
This allows the description of task function for RTOS with better code-efficiency at the C source level.
<29> Changing function call interface
Arguments can be passed by the previous function interface specification (using the stack only, with
CC78K4 Ver.1.00 compatibles) by specifying the -ZO option during compilation.
<30> Change of calculation method of offset of arrays and pointers
The code efficiency is improved by performing an unsigned index calculation for the offset of the arrays and
pointers (distance from the start of the array or pointer).
<31> Pascal function (_ _pascal)
The stack correction used to place arguments during the function call is performed on the called function
side, not on the side calling the function. This shortens the object code when there are function calls in
many places.
<32> Automatic pascal functionization of function call interface
_ _pascal attributes are added to all functions that can be pascal functionized.
<33> Flash area allocation method
Object files to be allocated to the flash area are generated.
<34> Flash area branch table
Startup routines and interrupt functions can be allocated to the flash area.
A function can be called from the boot area to the flash area.
<35> Function call function from boot area to flash area
A function in the flash area can be called from the boot area.
<36> Firmware ROM function
Manipulations regarding the firmware ROM function can be described at the C source level.
User’s Manual U15556EJ1V0UM
31