We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear Keil support team,
Could you please answer the question I asked recently in "How to disable C_STARTUP code generation and have "plain" hex file".
1) I am interested whether it is possible to kill compiler influence and have only the code I create myself in C-language, with no additives like C_STARTUP and jumps to it and back to main.
2) Also, could you clarify more on how to relocate main() at a given address since even using recommended solution (#pragma RENAMECLASS, etc.), Keil still allocates code NOT EXACTLY at address I want. For example (target C167CS), I defined my user class as BOOTCODE(0xFA60-0xFDFF), BUT: compiler/linker map the code to address FC20H, what is wrong?
Thank you in advance, Nikolay.
See my post
http://www.keil.com/forum/docs/thread10744.asp
Regards, Nikolay