Few days ago my guide asked a question what is difference between embedded C and standard C.
Difference between Embedded C and standard C
Standard C compilers output a binary file that can be run over a Operating system (windows/Linux). The compilers used for embedded C are cross platform compilers. The main difference is embedded C targets embedded system and standard C targets are Personal computer or servers. Embedded C gives more power to the user to access the memory at bit level. In embedded C the programmer has to write most of the codes himself there is no standard library. Because in embedded systems there is no common I/O is defined like our PC’s where the common I/O’s are the keyboard and the monitor.
- Difference of the targets either embedded system or a normal PC
- No standard library
- No real-time system compatibility
- Usually there is an infinite loop (not necessary in purely interrupt driven system) which is restricted in standard C
- Programmers have to consider memory size, stack size as embedded systems have less memory
- Bit level accessibility of memory
- Extra data pointers