Keil Logo

C51: READING CODE SPACE


Information in this article applies to:

  • C51 Version 5.50a
  • C51 Version 6.03

QUESTION

I need to read external program memory. I've looked at the ABSACC.H macros but they don't seem to read from external code memory. How do I do this?

ANSWER

CBYTE and CWORD are the macros that allow you to read code memory. In µVision2, if you type cbyte, move the cursor over one of the letters, and press the F1 key, a help page will appear with a description of that macro.

MORE INFORMATION

  • Refer to CBYTE in the Cx51 User's Guide.

Last Reviewed: Tuesday, October 24, 2006


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.