When I create a blank assembly file *.asm in CCS, the stack pointer SP is initialized to 0x3000h (the end of the data memory). So #__STACK_END must have been defined somewhere to be 0x3000h but I searched through the header files *.h in the Project Explorer's includes menu and couldn't find where #__STACK_END is defined. Would someone help point out where it is?
RESET mov.w #__STACK_END,SP ; Initialize stackpointer StopWDT mov.w #WDTPW|WDTHOLD,&WDTCTL ; Stop watchdog timer