Hi:
I need to pass pointers to three variables from a 'C' program to an assembly language routine in CCS. I've tried reading through the literature to do this, but every time I've tried to implement their suggestions I get compilation errors. The three variables whose addresses I'm trying to pass are:
int n;
tRingBufObject g_sRxBuf; and
unsigned char gmbapRTU[100];
The command I use to go to the assembly language routine is:
routine(x1, x2, x3);
Where x1, x2 and x3 should be the 3 pointers. The command works fine if I don't try to use the pointers.
Can someone please tell me what I need to do to pass the three pointers to the routine?
Thank you.