Hi.. Can any one tell me steps involved while the c file is converted to hex file. i.e what all files(e.g.object files,list files,loader,linker) comes into existance.?
Source files -> compiler -> object files
Object files + libraries -> linker -> Binary executable + list files (optional)
Binary executable -> Binary-to-hex conversion tool -> hex file
Conceptually (sometimes literally), the translation is in two steps:
1. Source files -> preprocessor -> preprocessed source files;
2. preprocessed source files -> compiler -> object files + list files (optional)
It is important to understand this; in particular to understand that the "compiler" itself never sees the parts of the original sources that are replaced by the "preprocessor".
Most tools have an option to retain the "preprocessed" source files - which can be useful for debugging preprocessor problems:
www.8052.com/.../read.phtml
http://www.keil.com/c51/devproc.asp
Thank you very much for the clear concept.. If you could, please mention what is the function of LOADER.
... is a computer science textbook and/or dictionary.
You could also try: http://www.wikipedia.org and many like it...