Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

CC78K4 Datasheet(PDF) 41 Page - NEC

Part # CC78K4
Description  CC78K4 Ver.2.30 or Later, C Compiler Language
PDF  523 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

CC78K4 Datasheet(HTML) 41 Page - NEC

Back Button CC78K4 Datasheet HTML 37Page - NEC CC78K4 Datasheet HTML 38Page - NEC CC78K4 Datasheet HTML 39Page - NEC CC78K4 Datasheet HTML 40Page - NEC CC78K4 Datasheet HTML 41Page - NEC CC78K4 Datasheet HTML 42Page - NEC CC78K4 Datasheet HTML 43Page - NEC CC78K4 Datasheet HTML 44Page - NEC CC78K4 Datasheet HTML 45Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 523 page
background image
CHAPTER 2 CONSTRUCTS OF C LANGUAGE
User’s Manual U15556EJ1V0UM
41
(1) Basic types
A collection of basic data types is also referred to as “arithmetic types”. The arithmetic types consist of integral
types and floating-point types.
(a) Integral types
Integral data types are subdivided into four types. Each of these types has a value represented by the
binary numbers 0 and 1.
•
char type
•
Signed integral type
•
Unsigned integral type
•
Enumeration type
(i)
char type
The char the type has a sufficient size to store any character in the basic execution character set.
The value of the character to be stored in a char type object becomes positive. Data other than
characters is handled as an unsigned integer.
In this case, however, if an overflow occurs, the
overflowed part will be ignored.
(ii) Signed integral type
The signed integral type is subdivided into the following four types.
•
signed char
•
short int
•
int
•
long int
An object declared with the signed char type has an area of the same size as the char type without
a qualifier.
An int object without a qualifier has a size natural to the CPU architecture of the execution
environment. A signed integral type data has its corresponding unsigned integral type data. Both
share an area of the same size. The positive number of a signed integral type data is a partial
collection of unsigned integral type data.
(iii) Unsigned integral data
The unsigned integral type is a data defined with the unsigned keyword. No overflow occurs in any
computation involving unsigned integral type data. This is because if the result of a computation
involving unsigned integral type data becomes a value which cannot be represented by an integral
type, the value will be divided by the maximum number which can be represented by an unsigned
integral type plus 1 and substituted with the remainder in the result of the division.
(iv) Enumeration type
Enumeration is a collection or list of named integer constants. An enumeration type consists of one
or more sets of enumeration.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com