Keil™, An ARM® Company

Technical Support

CX51: CANNOT FIND ?C?COPYP2 LIBRARY FUNCTION


Information in this article applies to:

  • CX51 Version 7

QUESTION

I compiled code for a Philips MX device and used the compiler directives ROM(HUGE) and MODP2. The linker reports that ?C?COPYP2 cannot be found in the run-time libraries. How do I solve that problem?

ANSWER

The Philips MX does not require the MODP2 directive, since the MX instruction set has already two generic PRx registers that are used by the standard copy function. Therefore you should remove the MODP2 directive and everything will be fine.

MORE INFORMATION

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Saturday, April 24, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure