User’s Manual U15556EJ1V0UM
9
<39>
callf
two-step branch function ................................................................................................... 32
<40>
Automatic
callf
functionization of function call interface
............................................................ 32
<41> Three-byte address reference/generation function.................................................................... 32
<42> Absolute address allocation specification.................................................................................. 32
CHAPTER 2 CONSTRUCTS OF C LANGUAGE............................................................................33
2.1
Character Sets.......................................................................................................................34
(1)
Character sets.............................................................................................................................. 34
(2)
Escape sequences....................................................................................................................... 35
(3)
Trigraph sequences...................................................................................................................... 35
2.2
Keywords...............................................................................................................................36
(1)
ANSI keywords............................................................................................................................. 36
(2)
Keywords added for the CC78K4................................................................................................. 36
2.3
Identifiers...............................................................................................................................37
2.3.1
Scope of identifiers.................................................................................................................. 37
(1)
Function scope............................................................................................................... 38
(2)
File scope....................................................................................................................... 38
(3)
Block scope.................................................................................................................... 38
(4)
Function prototype scope............................................................................................... 38
2.3.2
Linkage of identifiers ............................................................................................................... 39
(1)
External linkage.............................................................................................................. 39
(2)
Internal linkage............................................................................................................... 39
(3)
No linkage ...................................................................................................................... 39
2.3.3
Name space for identifiers....................................................................................................... 39
2.3.4
Storage duration of objects ..................................................................................................... 39
(1)
Static storage duration ................................................................................................... 39
(2)
Automatic storage duration ............................................................................................ 40
2.3.5
Data types............................................................................................................................... 40
(1)
Basic types..................................................................................................................... 41
(2)
Character types.............................................................................................................. 44
(3)
Incomplete types............................................................................................................ 45
(4)
Derived types ................................................................................................................. 45
(5)
Scalar types.................................................................................................................... 45
2.3.6
Compatible type and composite type ...................................................................................... 46
(1)
Compatible type ............................................................................................................. 46
(2)
Composite type .............................................................................................................. 46
2.4
Constants...............................................................................................................................46
2.4.1
Floating-point constant............................................................................................................ 47
2.4.2
Integer constant....................................................................................................................... 47
(1)
Decimal constant............................................................................................................ 47
(2)
Octal constant ................................................................................................................ 47
(3)
Hexadecimal constant.................................................................................................... 47
2.4.3
Enumeration constants............................................................................................................ 48
2.4.4
Character constants................................................................................................................ 48
2.5
String Literals........................................................................................................................49
2.6
Operators...............................................................................................................................49
2.7
Delimiters...............................................................................................................................49
2.8
Header Name.........................................................................................................................50