English
Language : 

CC78K0S Datasheet, PDF (13/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
(1) if and if ... else statements ..................................................................................................................120
(2) switch statement .................................................................................................................................121
6.5 Iteration Statements ....................................................................................................................122
(1) while statement ...................................................................................................................................123
(2) do statement .......................................................................................................................................124
(3) for statement .......................................................................................................................................125
6.6 Branch Statements......................................................................................................................126
(1) goto statement ....................................................................................................................................127
(2) continue statement .............................................................................................................................128
(3) break statement ..................................................................................................................................129
(4) return statement..................................................................................................................................130
CHAPTER 7 STRUCTURES AND UNIONS........................................................................................131
7.1 Structures.....................................................................................................................................132
(1) Declaration of structure and structure variable ...................................................................................132
(2) Structure declaration list .....................................................................................................................132
(3) Arrays and pointers.............................................................................................................................133
(4) How to refer to structure members .....................................................................................................133
7.2 Unions ..........................................................................................................................................134
(1) Declaration of union and union variable..............................................................................................134
(2) Union declaration list ..........................................................................................................................134
(3) Union arrays and pointers...................................................................................................................135
(4) How to refer to union members...........................................................................................................135
CHAPTER 8 EXTERNAL DEFINITIONS ..............................................................................................137
8.1 Function Definitions....................................................................................................................138
8.2 External Object Definitions ........................................................................................................140
CHAPTER 9 PREPROCESSING DIRECTIVES (COMPILER DIRECTIVES) ....................................141
9.1 Conditional Inclusion ..................................................................................................................142
(1) #if directive..........................................................................................................................................143
(2) #elif directive .......................................................................................................................................144
(3) #ifdef directive.....................................................................................................................................145
(4) #ifndef directive...................................................................................................................................146
(5) #else directive .....................................................................................................................................147
(6) #endif directive....................................................................................................................................148
9.2 Source File Inclusion ..................................................................................................................149
(1) #include < > directive .........................................................................................................................150
(2) #include “ ” directive...........................................................................................................................151
(3) #include preprocessing token string directive.....................................................................................152
9.3 Macro Replacement ....................................................................................................................153
User’s Manual U14872EJ1V0UM
13