SW006012 Microchip Technology, SW006012 Datasheet - Page 148

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
DS51284F-page 142
®
C30 User’s Guide
__
Description:
Prototype:
Argument:
Return Value:
Assembler Opera-
tor / Machine
Instruction:
Error Messages
__
Description:
Prototype:
Argument:
Return Value:
Assembler Opera-
tor / Machine
Instruction:
Error Messages
builtin_modsd
builtin_modud
Issues the 16-bit architecture's native signed divide support with the
same restrictions given in the “dsPIC30F/33F Programmer’s Refer-
ence Manual” (DS70157). Notably, if the quotient does not fit into a
16-bit result, the results (including remainder) are unexpected. This
form of the builtin function will capture only the remainder.
signed int __builtin_modsd(signed long dividend,
dividend
divisor
Remainder.
modsd
None.
Issues the 16-bit architecture's native unsigned divide support with the
same restrictions given in the “dsPIC30F/33F Programmer’s Refer-
ence Manual” (DS70157). Notably, if the quotient does not fit into a
16-bit result, the results (including remainder) are unexpected. This
form of the builtin function will capture only the remainder.
unsigned int __builtin_modud(unsigned long dividend,
dividend
divisor
Remainder.
modud
None.
signed int divisor);
unsigned int divisor);
number to be divided
number to divide by
number to be divided
number to divide by
© 2007 Microchip Technology Inc.

Related parts for SW006012