Embedded C

    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

 

 

 

Published by

ASIM MAHAKUL

Hello, I am Asim admin of this blog. An expert in Scientific Instrumentation (Analytical Instrumentation). My works are always associated with both Physics and electronics. Currently working on ARM based embedded systems for Optical(UV and Visible) and electrochemical spectroscopy (EIS). My M.Tech. Thesis was related to all these things. I had worked for a 8 bit microcontroller based standalone EIS (electrical impedance spectroscopy) device. I have Masters in Instrumentation engineering from NIT Kurukshetra,Haryana and Masters in Electronics Science from Sambalpur University, Odisha (Formerly Orissa/Utkal) Am also work for PHP MySQL AJAX based CMS design. i love blogging and coding(am not an expert).

Leave a Reply