C51 Version 4.22 I want to absolutely locate the startup code that comes with the compiler (in the file STARTUP.A51) and is always included in projects. Any suggestion will be helpful!
thank you very much
I got it. code ?C_C51STARTUP(0x1000) in BL51 Locate works.
There are several ways to achieve that.
Use the locating directives of the linker for that. http://www.keil.com/support/man/docs/lx51/lx51_locating.htm
There are also knowledgebase articles that relate to that http://www.keil.com/support/docs/821.htm
Or you may change the assembler source code and specify a absolute address for the SEGMENT directive. See here: http://www.keil.com/support/man/docs/a51/a51_st_segment.htm
View all questions in Keil forum