SW006012 Microchip Technology, SW006012 Datasheet - Page 202

C COMPILER FOR DSPIC30F FAMILY

SW006012

Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
Datasheets

Specifications of SW006012

Supported Families
PIC24, DsPIC30F And DsPIC33F
Core Architecture
PIC, DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Tool Type
Compiler
Processor Series
PIC24, dsPIC
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
dsPIC30F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MPLAB
D.3
D.4
D.5
D.6
DS51284F-page 196
DATA FORMATS
POINTERS
STORAGE CLASSES
STACK USAGE
®
C30 User’s Guide
TABLE D-1:
TABLE D-2:
TABLE D-3:
MPLAB C18 allows the non-ANSI storage class specifiers overlay for variables and
auto or static for function arguments.
MPLAB C30 does not allow these specifiers.
TABLE D-4:
char
int
short long
long
long long
float
double
Note 1:
MPLAB C30
MPLAB C18
Legend: s = sign bit, d = mantissa, e = exponent
Program Memory - Near
Program Memory - Far
Data Memory
Return Addresses
Local Variables
Standard
Data Format
2:
3:
Items on Stack
Memory Type
MPLAB C18 uses its own data format, which is similar to IEEE-754 format, but with
the top nine bits rotated (see Table D-2).
MPLAB C30 uses IEEE-754 format.
See Section 5.5 “Floating Point”.
NUMBER OF BITS USED IN DATA FORMATS
MPLAB
FORMAT
NUMBER OF BITS USED FOR POINTERS
TYPE OF STACK USED
seeeeeee
eeeeeeee
Byte 3
®
C18 FLOATING-POINT VS. MPLAB C30 IEEE-754
1
0
MPLAB
MPLAB
e
sddd dddd
0
16
24
32
32
32
8
-
ddd dddd
MPLAB
hardware
®
software
Byte 2
C18
®
16
24
16
(1)
C18
®
16
16
C18
dddd dddd
dddd dddd
Byte 1
© 2007 Microchip Technology Inc.
MPLAB C30
8
8
MPLAB C30
32 or 64
MPLAB C30
software
software
16
32
64
32
8
-
16
16
16
dddd dddd
dddd dddd
(3)
Byte 0
(2)
0
0

Related parts for SW006012