Code: Select all
char TSIP_Buffer[40];
Code: Select all
char * Start_TSIP_Buffer = &TSIP_Buffer;
and so Start_TSIP_Buffer = 0x02 (the PCL reg which causes funny things to happen).
I can add a dummy reference to TSIP_Buffer in the main routine
Code: Select all
TSIP_Buffer[0] = 0;