SW500008 Microchip Technology, SW500008 Datasheet - Page 59
![PICC-18 STD](/photos/9/32/93256/sw500008_sml.jpg)
SW500008
Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Specifications of SW500008
Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015
778-1001
778-1001
778-1001
778-1001
- Current page: 59 of 486
- Download datasheet (4Mb)
C Language Features
types are simply the smallest of up to four possible integer sizes, and behave in all respects like
integers.
represent characters. It is possible to freely mix char values with short, int and long values in C
expressions. With HI-TECH PICC-18 STD the char types will commonly be used for a number of
purposes, such as 8-bit integers, as storage for ASCII characters, and for access to I/O locations.
to hold values of these types. Where only char is used in the declaration, the type will be unsigned
char unless the option, mentioned above, to specify signed char as default is used.
3.4.5 16-Bit Integer Data Types
HI-TECH PICC-18 STD supports four 16-bit integer types. short and int are 16-bit two’s comple-
ment signed integer types, representing integral values from -32,768 to +32,767 inclusive. Unsigned
short and unsigned int are 16-bit unsigned integer types, representing integral values from 0 to
65,535 inclusive. All 16-bit integer values are represented in little endian format with the least
significant byte at the lower address.
sequences, respectively, to hold values of these types. When specifying a short int type, the
keyword int may be omitted. Thus a variable declared as short will contain a signed short int
and a variable declared as unsigned short will contain an unsigned short int.
3.4.6 32-Bit Integer Data Types and Variables
HI-TECH PICC-18 STD supports two 32-bit integer types. Long is a 32-bit two’s complement
signed integer type, representing integral values from -2,147,483,648 to +2,147,483,647 inclusive.
Unsigned long is a 32-bit unsigned integer type, representing integral values from 0 to 4,294,967,295
inclusive. All 32-bit integer values are represented in little endian format with the least significant
word and least significant byte at the lowest address. Long and unsigned long occupy 32 bits as
this is the smallest long integer size allowed by the ANSI standard for C.
quences, respectively, to hold values of these types. Where only long int is used in the declaration,
the type will be signed long. When specifying this type, the keyword int may be omitted. Thus
a variable declared as long will contain a signed long int and a variable declared as unsigned
long will contain an unsigned long int.
The reason for the name “char” is historical and does not mean that char can only be used to
Variables may be declared using the signed char and unsigned char keywords, respectively,
Variables may be declared using the signed short int and unsigned short int keyword
Variables may be declared using the signed long int and unsigned long int keyword se-
Supported Data Types and Variables
45
Related parts for SW500008
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: