Hi I need to put some function in the first 8k area of my program. The function that i will put there is. START_MXB.asm Interrupt and my bootloader. This area should not be optmized and i don't want any library function in this area. My function main should start at 0x2000. And here I want to optimize. How should i set up my linker to solve this?
Is there some way to link the two programs to one program? Probably no. The best you can likely achieve is to merge the two HEX files. Just concatenating them may be enough, but in case of doubt you'ld better use real tools.
Yes, there is a way. See: http://www.keil.com/support/docs/2385.htm Reinhard