SW500010 Microchip Technology, SW500010 Datasheet - Page 73

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
C Language Features
be saved from the last ROM location before it is erased. The constant must then be reprogrammed
at the same location along with the new program and data.
struction may not be programmed and would be executed as some other instruction. Calling the
_READ_OSCCAL_DATA() macro will not work and will almost certainly not return correctly. If
you wish to test code that includes this macro on an ICE, you will have to program a retlw instruc-
tion at the appropriate location in program memory. Remember to remove this instruction when
programming the actual part so you do not destroy the calibration value.
3.3 Supported Data Types and Variables
The HI-TECH C PRO for the PIC10/12/16 MCU Family compiler supports basic data types with 1,
2, 3 and 4 byte sizes. Table
type.
3.3.1 Radix Specifiers and Constants
The format of integral constants specifies their radix. HI-TECH C supports the ANSI standard
radix specifiers as well as ones which enables binary constants to specified in C code. The format
used to specify the radices are given in Table 3.2. The letters used to specify binary or hexadecimal
radices are case insensitive, as are the letters used to specify the hexadecimal digits.
If you are using an in-circuit emulator (ICE), the location used by the calibration retlw in-
bit
char
unsigned char
short
unsigned short
int
unsigned int
short long
unsigned short long
long
unsigned long
float
double
Type
3.1
shows the data types and their corresponding size and arithmetic
Table 3.1: Basic data types
Size (bits)
1
8
8
16
16
16
16
24
24
32
32
24
24 or 32
unsigned integer
signed or unsigned integer
unsigned integer
signed integer
unsigned integer
signed integer
unsigned integer
signed integer
unsigned integer
signed integer
unsigned integer
real
real
Supported Data Types and Variables
Arithmetic Type
73

Related parts for SW500010