written 5.8 years ago by |
(a) Integrated Development Environment (IDE)
- IDE is a toolkit to write and execute a program. The most widely used IDE with C programs is Turbo C IDE.
(b) Editor: used to type and edit the program.
(c) Preprocessor: responsible for performing certain operations before the compiling, like including header files, declaring constants.
It always begins with '#' sign.
For eg: #include$\lt$stdio.h$>$
#define pi 3.14;
(also called as preprocessor directives)
(d) Compiler: Converts C program to machine language. As the processor cannot understand the C language, we need to convert it into machine understandable language. i.e. Machine language.
(e) Cross-compiler: Type of compiler capable of creating executable code for a platform other than the one on which compiler is running.
For eg: a compiler that runs on windows 7 PC but generates code that runs an Android Smartphone is a cross compiler.
(f) Linker: responsible for linking the different functions in a program and to provide links to the libraries needed for an executable program.
(takes 1 or more files and combines them into a single executable file)
(g) Loader: The binary file/executable file generated by compiler is loaded by the loader for execution.
(h) In circuit emulator: ICE is a h/w device used to debug the software of an embedded system. It operates by using a processor with the additional ability to support debugging operations as well as to carry out the main function of the system.