Jump to content

Embedded C: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
Line 9: Line 9:
'''Embedded C''' is a set of language extensions for the [[C (programming language)|C programming language]] by the [[ISO/IEC JTC 1/SC 22|C Standards Committee]] to address commonality issues that exist between C extensions for different [[embedded system]]s. Historically, embedded C programming requires nonstandard extensions to the C language in order to support exotic features such as [[fixed-point arithmetic]], multiple distinct [[memory bank]]s, and basic [[input/output|I/O]] operations.{{Citation needed|date=August 2017}}
'''Embedded C''' is a set of language extensions for the [[C (programming language)|C programming language]] by the [[ISO/IEC JTC 1/SC 22|C Standards Committee]] to address commonality issues that exist between C extensions for different [[embedded system]]s. Historically, embedded C programming requires nonstandard extensions to the C language in order to support exotic features such as [[fixed-point arithmetic]], multiple distinct [[memory bank]]s, and basic [[input/output|I/O]] operations.{{Citation needed|date=August 2017}}


In 2008, the C Standards Committee extended the C language to address these issues by providing a common standard for all implementations to adhere to. It includes a number of features not available in normal C, such as, fixed-point arithmetic, named address spaces, and basic I/O hardware addressing.{{Citation needed|date=August 2017}}
In 2008, the C Standards Committee extended the C language to address these issues by providing a common standard for all implementations to adhere to. It includes a number of features not available in normal C, such as fixed-point arithmetic, named address spaces and basic I/O hardware addressing.{{Citation needed|date=August 2017}}


Embedded C uses most of the syntax and semantics of standard C, e.g., main() function, variable definition, datatype declaration, conditional statements (if, switch case), loops (while, for), functions, arrays and strings, structures and union, bit operations, macros, etc.{{Citation needed|date=August 2017}}
Embedded C uses most of the syntax and semantics of standard C, e.g., main() function, variable definition, datatype declaration, conditional statements (if, switch case), loops (while, for), functions, arrays and strings, structures and union, bit operations, macros, etc.{{Citation needed|date=August 2017}}

Revision as of 07:56, 10 July 2018

Embedded C is a set of language extensions for the C programming language by the C Standards Committee to address commonality issues that exist between C extensions for different embedded systems. Historically, embedded C programming requires nonstandard extensions to the C language in order to support exotic features such as fixed-point arithmetic, multiple distinct memory banks, and basic I/O operations.[citation needed]

In 2008, the C Standards Committee extended the C language to address these issues by providing a common standard for all implementations to adhere to. It includes a number of features not available in normal C, such as fixed-point arithmetic, named address spaces and basic I/O hardware addressing.[citation needed]

Embedded C uses most of the syntax and semantics of standard C, e.g., main() function, variable definition, datatype declaration, conditional statements (if, switch case), loops (while, for), functions, arrays and strings, structures and union, bit operations, macros, etc.[citation needed]

A Technical Report was published in 2004[1] and a second revision in 2006.[2]

References

  1. ^ Information Technology — Programming languages, their environments and system software interfaces — Extensions for the programming language C to support embedded processors, ISO/IEC JTC1 SC22 WG14 N1021, Date: 2003-09-24, Reference number of document: ISO/IEC DTR 18037
  2. ^ Information Technology — Programming languages - C - Extensions to support embedded processors, ISO/IEC JTC1 SC22 WG14 N1169, Date: 2006-04-04, Reference number of document: ISO/IEC TR 18037