Keil Logo

A51: OBTAINING AN INCLUDE FILE FOR A PARTICULAR DEVICE


Information in this article applies to:

  • C51 Version 5.50

QUESTION

For my assembly project, I need an include file for a particular 8051 compatible device. I have looked in the C51\ASM directory and I cannot find it. Where may I obtain the include file?

ANSWER

Check the Device Database for your device - each database entry includes a header file.

Check out the Download page, then select File Downloads followed by C51 Files. There are example projects for many different devices - these examples include header files.

If you cannot find the exact header file you need, then find the closest match to your device either in the C51\ASM directory or the web site.

Make a copy and using the datasheet make the changes and additions required to the SFRs and sbits. This won't take very long to do and is basically a 'copy and complete' exercise.

MORE INFORMATION

SEE ALSO

Last Reviewed: Thursday, April 5, 2018


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.