English
Language : 

CC78K0S Datasheet, PDF (421/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 11 EXTENDED FUNCTIONS
Absolute Address Allocation Specification
_ _directmap
RESTRICTIONS
• _ _directmap cannot be specified for function arguments, return values, or automatic variables. If it is
specified in these cases, an error occurs.
• If short/unsigned short/int/unsigned int/long/unsigned long type variables are allocated to odd
addresses, the correct code will be generated in the file declared by _ _directmap, but illegal code will be
generated if these variables are referenced by an extern declaration from an external file.
• If an address outside the secured area range is specified, the variable area will not be secured, making it
necessary to either describe a directive file or create a separate module for securing the area.
COMPATIBILITY
<From another C compiler to this C compiler>
• No modification is necessary if the keyword _ _directmap is not used.
• To change to the _ _directmap variable, modify according to USAGE above.
<From this C compiler to another C compiler>
• Compatibility can be attained using #define (refer to 11.6 Modifications of C Source for details).
• To use _ _directmap as the absolute address allocation specification, modify the program according to the
specifications of each compiler.
User’s Manual U14872EJ1V0UM
421