int main(void)
{
TMRA0_SCR = 24;
}
The second solution is to use a pragma define_section.
For details I suggest you to refer to the 56800x_Build_Tools_Reference.pdf and perfrom a find with define_section.
You will find some information and example using this pragma.
The third solution is to ...extract of 56800x_Build_Tools_Reference.pdf manual.
Specifying Variable Addresses in C
The user can tell the compiler to specify the address of a variable in a C file using the :
operator. The constant value following the : operator is the word address of the global
variable (i.e., int OneReg : 0xBCD ; specifies that the global variable OneReg
resides at word address 0xBCD).
NOTE The Linker does not reserve space for global variables declared with the :
operator.
Hope this will help you.
Pascal