SW500009 Microchip Technology, SW500009 Datasheet - Page 60
![HI-TECH FOR DSPIC/PIC24](/photos/9/32/93258/sw500009_sml.jpg)
SW500009
Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet
1.SW500009.pdf
(444 pages)
Specifications of SW500009
Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
778-1003
778-1003
- Current page: 60 of 444
- Download datasheet (3Mb)
Supported Data Types and Variables
of these types. Floating point types are always signed and the unsigned keyword is illegal when
specifying a floating point type. Types declared as long double will use the same format as types
declared as double.
doubles can be selected via the –double=fast32 command line option. Although selecting this offers
an improvement in speed when doing calculations on 32-bit doubles, this comes at a cost of code
size.
3.4.7 Structures and Unions
HI-TECH PICC STD supports struct and union types of any size from one byte upwards. Struc-
tures and unions only differ in the memory offset applied for each member. The members of struc-
tures and unions may not be objects of type bit, but bit-fields are fully supported.
structures and unions are fully supported.
3.4.7.1 Bit-fields in Structures
HI-TECH PICC STD fully supports bit-fields in structures.
bit of the word in which it will be stored. When a bit-field is declared, it is allocated within the
current 8-bit unit if it will fit, otherwise a new byte is allocated within the structure. Bit-fields can
never cross the boundary between 8-bit allocation units. For example, the declaration:
46
Format
32-bit
24-bit
Variables may be declared using the float and double keywords, respectively, to hold values
For High-End processors there is a fast implementation available for 32-bit doubles. Fast 32-bit
Structures and unions may be passed freely as function arguments and return values. Pointers to
Bit-fields are always allocated within 8-bit words. The first bit defined will be the least significant
struct {
} foo;
Number
7DA6B69Bh
42123Ah
unsigned
unsigned
unsigned
Table 3.4: Floating-point format example IEEE 754
biased expo-
nent
11111011b
10000100b
(251)
(132)
lo : 1;
dummy : 6;
hi : 1;
1.01001101011011010011011b
1.001001000111010b
(1.302447676659)
(1.142395019531)
1.mantissa
C Language Features
2.77000e+37
36.557
decimal
Related parts for SW500009
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: