Keil Logo

C51: Dual Data Pointers for DALLAS Parts


Information in this article applies to:

  • C51 Version 5.50
  • C51 Version 6.00 Beta
  • C51 Version 6.00

QUESTION

Is there a way to get the 8051 C compiler to use the dual data pointer's of the Dallas high-speed micro while copying memory? I don't want to resort to assembly.

ANSWER

Yes, there is. In C51 V5.xx, the MODDP2 directive uses the extra data pointer when you use the memcpy, memcmp, memmove, strcpy, and strcmp library routines.

SEE ALSO


Last Reviewed: Thursday, February 25, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.