PCWHD IDE COMPILER Custom Computer Services Inc (CCS), PCWHD IDE COMPILER Datasheet - Page 351

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
How much time do math operations take?
Unsigned 8 bit operations are quite fast and floating point is very slow. If possible consider fixed
point instead of floating point. For example instead of "float cost_in_dollars;" do "long
cost_in_cents;". For trig formulas consider a lookup table instead of real time calculations (see
EX_SINE.C for an example). The following are some rough times on a 20 mhz, 24-bit PIC®. Note
times will vary depending on memory banks used.
80mhz dsPIC33FJ (40MIPS)
+
-
*
/
exp()
ln()
sin()
int8
[us]
0.075
0.125
0.175
0.650
*
*
*
int16
[us]
0.75
0.125
0.100
0.550
*
*
*
int32
[us]
0.175
0.200
1.150
13.500
*
*
*
int48
[us]
0.275
0.350
1.850
25.550
*
*
*
int64
[us]
0.375
0.400
1.975
68.225
*
*
*
float32
[us]
3.450
3.375
2.450
12.475
70.675
94.475
77.875
float48
[us]
3.825
3.725
2.950
22.575
158.55
157.400
136.925
float 64
[us]
5.025
5.225
4.525
33.80
206.125
201.825
184.225
337

Related parts for PCWHD IDE COMPILER