ARM Technical Support Knowledge Articles

MODIFYING THE STARTUP ROUTINES

Applies to: C51 C Compiler

Answer

Information in this article applies to:


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 C51LIB 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

Article last edited on: 2005-07-19 09:58:58

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential