|
|||||||||||
|
Technical Support Support Resources
Product Information |
Technical SupportC51: SETTING PROGRAM START ADDRESSQUESTIONHow do I start my C51 program at an address other than 0000h? ANSWERThere are three steps to relocate your C51 program to start at a different offset. Specifically, you must do the following:
The following instructions assume you want to relocate your program to 8000h. To change the startup code...
To locate the interrupt vectors...In µVision...
In µVision Version 2...
To specify the code area for the linker...In µVision Version 1...
In µVision Version 2...
Or, if you don't use the memory layout dialog...
FinallyRebuild your program and check the M51 map file to make sure your program begins at the appropriate address. FORUM THREADSThe following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Saturday, July 09, 2005 | ||||||||||
|
|||||||||||