PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 228

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
_mul( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
nargs( )
Syntax:
Parameters:
Returns:
Function:
214
prod=_mul(val1, val2);
val1 and val2 are both 8-bit, 16-bit, or 48-bit integers
* or less
** large numbers will overflow with wrong results
Performs an optimized multiplication. By accepting a different type than it returns,
this function avoids the overhead of converting the parameters to a larger type.
All devices
Nothing
int a=50, b=100;
long int c;
c = _mul(a, b);
None
None
Void foo(char * str, int count, ...)
The function can take variable parameters. The user can use stdarg library to
create functions that take variable parameters.
Function dependent.
The stdarg library allows the user to create functions that supports variable
arguments.
The function that will accept a variable number of arguments must have at least
one actual, known parameters, and it may have more. The number of arguments
is often passed to the function in one of its actual parameters. If the variable-
length argument list can involve more that one type, the type information is
generally passed as well. Before processing can begin, the function creates a
special argument pointer of type va_list.
val1
8
16*
32*
48*
val2
8
16
32
48
prod
16
32
64
64**
//c holds 5000

Related parts for PCDIDE COMPILER