For faster navigation, this Iframe is preloading the Wikiwand page for 嵌入式C语言.

嵌入式C语言

嵌入式C语言
编程范型程序式指令式编程过程式)、结构化编程
设计者C语言标准委员会英语ISO/IEC JTC 1/SC 22
发行时间2008年
操作系统嵌入式系统

嵌入式C语言是由C语言标准委员会英语ISO/IEC JTC 1/SC 22为解决C语言与不同嵌入式应用之间存在的共同问题而提出的一种C语言标准化扩展。

发展历史

在早期的嵌入式应用中,工程师需要对C语言进行扩展以使系统能够支持诸如定点数,多个不同的存储器以及I/O等功能,但对于不同系统的扩展并不能通用,非标准化地扩展将会降低软件的可移植性。因此在2008年,C语言标准委员会对C语言进行了标准化扩展,以解决上述问题[1]。扩展后的C语言在原标准C语言的基础上新增了定点运算,地址空间命名,I/O硬件寻址等嵌入式系统常用功能。嵌入式C语言依旧沿袭了大部分标准C语言的语法和语义,例如:main函数、变量定义、数据类型声明、条件判断(if, switch case)、循环语句(while, for, do while)、数组、字符串、宏定义、位操作、结构体和共同体等[2]

嵌入式C语言的标准化草案与修订案分别发布于2003年[3]和2006年[4]

参考来源

  1. ^ ISO/IEC JTC 1/SC 22. Programming languages — C — Extensions to support embedded processors. ISO/IEC. [2019-08-01]. (原始内容存档于2016-06-17). 
  2. ^ Skansholm, Jan. Vägen till C [The road to C]. Studentlitteratur. : 237–774. ISBN 91-44-01468-6 (瑞典语).  Includes a good example of C-embedded programming, covering this article and far more. Like limits, what has to be done in machine language.
  3. ^ Information Technology — Programming languages, their environments and system software interfaces — Extensions for the programming language C to support embedded processors (PDF). www.open-std.org. ISO/IEC JTC1 SC22 WG14 N1021, reference number of document: ISO/IEC DTR 18037. 2003-09-24. (原始内容存档 (PDF)于2020-07-30). 
  4. ^ Information Technology — Programming languages - C - Extensions to support embedded processors (PDF). www.open-std.org. ISO/IEC JTC1 SC22 WG14 N1169, reference number of document: ISO/IEC TR 18037. 2006-04-04. (原始内容存档 (PDF)于2021-02-25). 
{{bottomLinkPreText}} {{bottomLinkText}}
嵌入式C语言
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?