English
Language : 

CC78K4 Datasheet, PDF (321/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 11 EXTENDED FUNCTIONS
norec Function
norec
RESTRICTIONS
• No other function can be called from a norec function.
• There are restrictions on the type and number of arguments and automatic variables that can be used in a
norec function.
• When -ZA is specified, norec is disabled and only _ _leaf is enabled.
• The restrictions for arguments and automatic variables are checked during compilation, and an error occurs.
• If arguments and automatic variables are declared with a register, the register declaration is ignored.
• The following shows the types of arguments and automatic variables that can be used in norec functions.
• Pointer
• char/signed char/unsigned char
• int/signed int/unsigned int
• short/signed short/unsigned short
• long/signed long/unsigned long
• float/double/long double
(a) Restrictions for arguments of function when -ZO option is specified
• The char type arguments do not perform int extension.
Table 11-19. Restrictions on norec Function Arguments (When -ZO Is Specified)
Data Type
char type
int, short, small model pointer type
Large model pointer, long, float, double, long double type
Max. 8 variables
Max. 4 variables
Max. 2 variables
Restriction
User’s Manual U15556EJ1V0UM
321