Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
16-bit MCU and DSC Programmer’s Reference Manual
DS70157F-page 458 © 2005-2011 Microchip Technology Inc.
__builtin_edsoffset
Description:
Returns the eds page offset of the object whose address is given as a parameter. The argument
p must be the address of an object in extended data space; otherwise an error message is
produced and the compilation fails. See the space attribute in Section 2.3.1 “Specifying
Attributes of Variables” of the “MPLAB
®
C Compiler for PIC24 MCUs and dsPIC
®
DSCs
User’s Guide” (DS51284).
Prototype:
unsigned int __builtin_edsoffset(int *p);
Argument:
p object address
Return Value:
Returns the eds page number of the object whose address is given as a parameter
Assembler Operator / Machine Instruction:
edsoffset
__builtin_edspage
Description:
Returns the eds page number of the object whose address is given as a parameter. The
argument p must be the address of an object in extended data space; otherwise an error
message is produced and the compilation fails. See the space attribute in
Section 2.3.1 “Specifying Attributes of Variables” of the “MPLAB
®
C Compiler for PIC24
MCUs and dsPIC
®
DSCs User’s Guide” (DS51284).
Prototype:
unsigned int __builtin_edspage(int *p);
Argument:
p object address
Return Value:
Returns the eds page number of the object whose address is given as a parameter.
Assembler Operator / Machine Instruction:
edspage
Protego_Release_01_05-Related-OEM-Documentation-PIC24FJ64GA004-Programmers_Reference_Manual.pdf