SW006012 Microchip Technology, SW006012 Datasheet - Page 154

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 148
®
C30 User’s Guide
__
Assembler Opera-
tor / Machine
Instruction:
__
Description:
Prototype:
Argument:
Return Value:
Assembler Opera-
tor / Machine
Instruction:
__
Description:
Prototype:
Argument:
Return Value:
Assembler Opera-
tor / Machine
Instruction:
Error Messages
__
Description:
Prototype:
Argument:
Return Value:
Assembler Opera-
tor / Machine
Instruction:
builtin_muluu (Continued)
builtin_nop
builtin_psvpage
builtin_psvoffset
mul.uu
Generates a nop instruction.
void __builtin_nop(void);
None.
Returns a no operation (nop).
nop
Returns the psv page number of the object whose address is given as a
parameter. The argument p must be the address of an object in an EE
data, PSV or executable memory space; otherwise an error message is
produced and the compilation fails. See the space attribute in the
“MPLAB
unsigned int __builtin_psvpage(const void *p);
p
Returns the psv page number of the object whose address is given as a
parameter.
psvpage
The following error message is produced when this function is used
incorrectly:
“Argument to __builtin_psvpage() is not the address of an object
in code, psv, or eedata section”.
The argument must be an explicit object address.
For example, if obj is object in an executable or read-only section, the
following syntax is valid:
unsigned page = __builtin_psvpage(&obj);
Returns the psv page offset of the object whose address is given as a
parameter. The argument p must be the address of an object in an EE
data, PSV or executable memory space; otherwise an error message is
produced and the compilation fails. See the space attribute in the
“MPLAB
unsigned int __builtin_psvoffset(const void *p);
p
Returns the psv page number offset of the object whose address is
given as a parameter.
psvoffset
object address
object address
®
®
C30 C Compiler User’s Guide” (DS51284).
C30 C Compiler User’s Guide” (DS51284)
© 2007 Microchip Technology Inc.

Related parts for SW006012