I tried to convert my program in keil but it shows an error of CODING LIMIT EXCEEDED for a 2KB file (because it's a free version). Can I convert a 4KB or 8KB C file to HEX in this?
Firstly, you should browse through the Knowledgebase provided by Keil and then use the software to convert the code. I've searched the web and the program's description, and there was nothing mentioned about Keil language and development.
Latest version of Dev-C++: https://sourceforge.net/projects/orwelldevcpp/