English
Language : 

CC78K0S Datasheet, PDF (10/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
(33) Temporary variables .............................................................................................................................33
(34) Library supporting prologue/epilogue....................................................................................................33
CHAPTER 2 CONSTRUCTS OF C LANGUAGE .................................................................................34
2.1 Character Sets .............................................................................................................................. 35
(1) Character sets.......................................................................................................................................35
(2) escape sequences ................................................................................................................................36
(3) Trigraph sequences ..............................................................................................................................36
2.2 Keywords....................................................................................................................................... 37
(1) ANSI-C keywords ..................................................................................................................................37
(2) Keywords added for the CC78K0S .......................................................................................................37
2.3 Identifiers....................................................................................................................................... 38
2.3.1 Scope of identifiers ...........................................................................................................................39
(1) Function scope ........................................................................................................................39
(2) File scope ................................................................................................................................39
(3) Block scope .............................................................................................................................40
(4) Function prototype scope ........................................................................................................40
2.3.2 Linkage of identifiers.........................................................................................................................40
(1) External linkage.......................................................................................................................40
(2) Internal linkage ........................................................................................................................40
(3) No linkage ...............................................................................................................................40
2.3.3 Name space for identifiers ................................................................................................................41
2.3.4 Storage duration of objects...............................................................................................................41
(1) Static storage duration ............................................................................................................41
(2) Automatic storage duration .....................................................................................................41
2.3.5 Data types.........................................................................................................................................41
(1) Basic types ..............................................................................................................................42
(2) Character types .......................................................................................................................46
(3) Incomplete types .....................................................................................................................46
(4) Derived types ..........................................................................................................................46
(5) Scalar types.............................................................................................................................47
2.3.6 Compatible type and composite type................................................................................................48
(1) Compatible type ......................................................................................................................48
(2) Composite type .......................................................................................................................48
2.4 Constants ...................................................................................................................................... 49
2.4.1 Floating-point constant .....................................................................................................................49
2.4.2 Integer constant ................................................................................................................................49
(1) Decimal constant.....................................................................................................................49
(2) Octal constant .........................................................................................................................50
(3) Hexadecimal constant .............................................................................................................50
2.4.3 Enumeration constants .....................................................................................................................50
2.4.4 Character constants..........................................................................................................................51
2.5 String Literal.................................................................................................................................. 51
2.6 Operators....................................................................................................................................... 51
10
User’s Manual U14872EJ1V0UM