English
Language : 

CC78K0S Datasheet, PDF (9/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CONTENTS
CHAPTER 1 GENERAL...........................................................................................................................21
1.1 C Language and Assembly Language.........................................................................................21
1.2 Program Development Procedure by C Compiler......................................................................23
1.3 Basic Structure of C Source Program .........................................................................................25
1.3.1 Program format.................................................................................................................................25
1.4 Reminders Before Program Development ..................................................................................28
1.5 Features of This C Compiler ........................................................................................................30
(1) callt/_ _callt functions ..........................................................................................................................30
(2) Register variables .................................................................................................................................30
(3) Usage of saddr area.............................................................................................................................30
(4) sfr area .................................................................................................................................................30
(5) noauto functions...................................................................................................................................31
(6) norec/_ _leaf functions.........................................................................................................................31
(7) bit type variables and boolean/_ _boolean type variables ..................................................................31
(8) ASM statements....................................................................................................................................31
(9) Interrupt functions .................................................................................................................................31
(10) Interrupt function qualifier .....................................................................................................................31
(11) Interrupt functions .................................................................................................................................31
(12) CPU control instructions .......................................................................................................................31
(13) Absolute address access function ........................................................................................................31
(14) Bit field declaration ...............................................................................................................................31
(15) Function to change compiler output section name ...............................................................................32
(16) Binary constant description function .....................................................................................................32
(17) Module name change functions ............................................................................................................32
(18) Rotate function......................................................................................................................................32
(19) Multiplication function............................................................................................................................32
(20) Division function....................................................................................................................................32
(21) BCD operation function.........................................................................................................................32
(22) Data insertion function ..........................................................................................................................32
(23) Static model ..........................................................................................................................................32
(24) Type modification..................................................................................................................................32
(25) Pascal function (_ _pascal) ..................................................................................................................32
(26) Automatic pascal functionization of function call interface....................................................................32
(27) Method of int expansion limitation of argument/return value ................................................................33
(28) Array offset calculation simplification method.......................................................................................33
(29) Register direct reference function .........................................................................................................33
(30) Memory manipulation function ..............................................................................................................33
(31) Absolute address allocation specification .............................................................................................33
(32) Static model expansion specification ....................................................................................................33
User’s Manual U14872EJ1V0UM
9