24.5 Extended Keywords

Non-standard extensions often specify how objects are defined or accessed. Keywords are usually used to indicate the feature. The non-standard C keywords corresponding to other compilers are listed in the following table, as well as the level of compatibility offered by MPLAB XC compilers. The table notes offer more information about extensions.

Table 24-5. Support for Non-Standard Keywords
IAR Compatibility Mode
Keyword XC-DSC XC32
__section_begin support support
__section_end support support
__section_size support support
__segment_begin support support
__segment_end support support
__segment_size support support
__sfb support support
__sfe support support
__sfs support support
__asm or asm(1) native support native support
__arm ignore ignore
__big_endian error error
__fiq error error
__intrinsic ignore ignore
__interwork ignore ignore
__irq error error
__little_endian(3) ignore ignore
__nested ignore ignore
__no_init support support
__noreturn support support
__ramfunc ignore support(4)
__packed support support
__root support support
__swi ignore ignore
__task support support
__weak support support
__thumb ignore ignore
__farfunc ignore ignore
__huge ignore ignore
__nearfunc ignore ignore
__inline native support native support
Note:
  1. All assembly code specified by this construct is device-specific and will need review when porting to any Microchip device.
  2. This is the default (and only) endianism used by all MPLAB XC compilers.
  3. When used with MPLAB XC32, this must be used with the __longcall__ macro for full compatibility.