Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Built-in Functions
2012-2013 Microchip Technology Inc. DS50002071C-page 321
__builtin_section_begin
Description: Get run-time information about a section beginning address.
Prototype: unsigned long __builtin_section_begin("section_name");
Argument: section_name name of the section
Return Value: Returns the beginning address of the named section.
Assembler Operator/
Machine Instruction:
section_begin
Error Messages An error message will be displayed if the named section cannot be found.
__
builtin_section_end
Description: Get run-time information about a section ending address.
Prototype: unsigned long __builtin_section_end("section_name");
Argument: section_name name of the section
Return Value: Returns the ending address of the named section.
Assembler Operator/
Machine Instruction:
section_end
Error Messages An error message will be displayed if the named section cannot be found.
__
builtin_section_size
Description: Get run-time information about a sections size.
Prototype: unsigned long __builtin_section_size("section_name");
Argument: section_name name of the section
Return Value: Returns the size of the named section.
Assembler Operator/
Machine Instruction:
section_size
Error Messages An error message will be displayed if the named section cannot be found.
__builtin_set_isr_state
Description: Set the current CPU interrupt state.
Prototype: void __builtin_get_isr_state(unsigned int state);
Argument: state Interger value specifying the current CPU interrupt state.
Return Value: None.
Assembler Operator/
Machine Instruction:
set_isr_state
Error Messages None.
Protego_Release_01_05-Related-OEM-Documentation-MPLAB-XC16-C-Compiler.pdf