SW006012 Microchip Technology, SW006012 Datasheet - Page 146
![C COMPILER FOR DSPIC30F FAMILY](/photos/9/32/93246/sw006012_sml.jpg)
SW006012
Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
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
- Current page: 146 of 248
- Download datasheet (3Mb)
MPLAB
DS51284F-page 140
®
C30 User’s Guide
__
Prototype:
Argument:
Return Value:
Assembler Opera-
tor / Machine
Instruction:
Error Messages
__
Description:
Prototype:
Argument:
Return Value:
Assembler Opera-
tor / Machine
Instruction:
Error Messages
__
Description:
Prototype:
Argument:
Return Value:
builtin_edac (Continued)
builtin_fbcl
builtin_lac
int __builtin_edac(int sqr, int **xptr, int xincr,
sqr
xptr
xincr
yptr
yincr
distance
Returns the squared result to specified accumulator.
edac
An error message will be displayed if:
• the result is not an accumulator register
• xptr is null
• yptr is null
• distance is null
Finds the first bit change from left in value. This is useful for dynamic
scaling of fixed-point data. For example:
might generate:
int __builtin_fbcl(int value);
value
Returns the shifted addition result to an accumulator.
fbcl
An error message will be displayed if the result is not an accumulator
register.
Shifts value by shift (a literal between -8 and 7) and returns the value
to be stored into the accumulator register. For example:
Might generate:
int __builtin_lac(int value, int shift);
value
shift
Returns the shifted addition result to an accumulator.
int **yptr, int yincr, int *distance);
int result, value;
result = __builtin_fbcl(value);
fbcl w4, w5
register int result asm("A");
int value;
result = __builtin_lac(value,3);
lac w4, #3, A
Integer squared value.
Integer pointer to pointer to x prefetch.
Integer increment value of x prefetch.
Integer pointer to pointer to y prefetch.
Integer increment value of y prefetch.
Integer pointer to distance.
Integer number of first bit change.
Integer number to be shifted.
Literal amount to shift.
© 2007 Microchip Technology Inc.
Related parts for SW006012
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: