English
Language : 

CC78K4 Datasheet, PDF (284/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 11 EXTENDED FUNCTIONS
11.1 Macro Names
This C compiler has two types of macro names: those indicating the series name for target devices and those
indicating device name (processor type). These macro names are specified according to the option for compilation to
output object code for a specific target device or according to the processor type in the C source. In the example
below, _ _K4_ _ and _ _4026_ are specified.
For details of these macro names, see 9.8 Compiler-Defined Macro Names.
[Example]
Option for compilation
>CC78K4 -C4026 prime.c …
Specification of device type:
#pragma pc (4026)
11.2 Keywords
The following tokens are added to this C compiler as keywords to realize the extended functions. Similarly to
ANSI-C keywords, these tokens cannot be used as labels or as variable names. All the keywords must be described
in lowercase letters. A keyword containing an uppercase letter is not interpreted as a keyword by the C compiler.
This following shows the list of keywords added to this compiler. Of these keywords, ones not starting with “_ _”
can be disabled by specifying the option (-ZA) that enables only ANSI-C language specifications (for the ANSI-C
keywords, refer to 2.1 Keywords).
284
User’s Manual U15556EJ1V0UM