The C #pragma mechanism allows vendors to provide additional capabilities that extend or enhance the C standard. CrossWorks offers a number of pragmas to control section placement and compatibility with other products.

#pragma codeseg
Set the section name used for code.
#pragma dataseg
Set the section name used for initialized data.
#pragma constseg
Set the section name used for read-only data.
#pragma zeroedseg
Set the section name used for uninitialized, zeroed data.
#pragma vectorseg
Set the section name used for interrupt vector tables.
#pragma isrseg
Set the section name used for interrupt service routine code.
#pragma vector
Define a vector for an interrupt function.