Keil Logo

C51: Modifying the Startup Routines

Information in this article applies to:

  • C51 Version 5.50 and later

QUESTION

I need to customize the startup routines that the compiler adds to my program. Can you tell me how to do this?

ANSWER

The startup code is provided in the \C51\LIB directory of your software installation. The files STARTUP.A51 and INIT.A51 are the startup code and variable initialization code respectively. Copy these files into your project directory and modify them as needed. You will find that there are a number of DEFINED variables at the top of the STARTUP.A51 file that make configuration easy

MORE INFORMATION

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.