I have a reentrant function that is passed a single parameter as follows:
void Filt_QR ( FilterDataType * FilterData ) reentrant { unsigned char aucTemp40[5]; memcpy( aucTemp40, /* void * dest */ FilterData->aucYpterm_40, /* void * src */ 5); /* int len */ ...
Yes, the stack pointer is set up correctly. As to selection of the 8051, this is what I am stuck with. It is a Mentor Graphics E-Warp core in a custom ASIC (on-chip 24-bit A/D). Just can't figure out why it doesn't like to apply the correct address to local variables...