Thursday, September 27, 2012

Why 'C' or a high level language In Embedded System Programming?

'C' Is A High Level Language Which 'Processor/CPU' Can Not Understand . But Many Embedded Programmers
Use 'C' In Embedded Systems , Why?

If A Code Is Written In A Specific Instruction Code From An Instruction Set Which Is Understandable Only By The Specific Processor/CPU Then It Causes A Problem When There Is A Need For Migration Of Hardware i.e; If CPU Has To BE Replaced By A More Sophisticated CPU The Code Has To Be Rewritten Using The Instruction Set Supported By The New CPU.

To Avoid This Situation , The Embedded Programmers Prefer 'C' OR Any Other High Level Language To Low Level Or Assembly Language.