⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 arm基础知识八 - arm开发者论坛-中国专业arm开发网站.htm

📁 ARM基础知识,我刚找到的。 和大家共同分享下
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0050)http://www.armforum.cn/ARMrumen/20071220/1830.html -->
<HTML xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn"><HEAD><TITLE>ARM基础知识八 - ARM开发者论坛-中国专业ARM开发网站</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content=all name=robots>
<META 
content="***************************************************** ARM编译器中预定义的宏 ***************************************************** ARM编译器预定义了一些宏,这些预定义宏对应一定的数值,有些预定义宏没有对应数值,见下表: _arm _ 使用编译器armcc,tcc,armc" 
name=description>
<META content=基础知识 name=keywords 体系 代表 名称 ARM 设置 选项 定义 使用 编译><LINK media=screen 
href="ARM基础知识八 - ARM开发者论坛-中国专业ARM开发网站.files/main.css" type=text/css 
rel=stylesheet><LINK media=screen 
href="ARM基础知识八 - ARM开发者论坛-中国专业ARM开发网站.files/css.css" type=text/css 
rel=stylesheet><LINK media=screen 
href="ARM基础知识八 - ARM开发者论坛-中国专业ARM开发网站.files/home.css" type=text/css 
rel=stylesheet>
<SCRIPT src="ARM基础知识八 - ARM开发者论坛-中国专业ARM开发网站.files/external.js" 
type=text/javascript></SCRIPT>

<SCRIPT src="ARM基础知识八 - ARM开发者论坛-中国专业ARM开发网站.files/js.js" 
type=text/javascript></SCRIPT>

<SCRIPT language=javascript>
function wo_ding(num_id)
{
url = "/plus/wo_ding.php?aid="+num_id+"&post=vote&m=" + Math.random();
new ajax(url, {method: 'get', onComplete:return_review});
}
function return_review(ajax)
{
str_error_num = ajax.responseText
if(str_error_num==0)
{
  alert("好像你刚拍过了,发个新文章让其他人拍到首页吧!");
}
else
{
  alert("感谢您的投票,你也可以发布自己的文章让其他人拍到首页!")
  $("s_ding").innerHTML = str_error_num;
}
}
</SCRIPT>

<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV id=alpha></DIV>
<DIV id=header><A id=top></A>
<DIV id=topnav>
<DIV id=toptext>中国专业ARM开发论坛:WWW.ARMFORUM.CN</DIV>
<UL id=topnavlist>
  <LI>中国最大的ARM开发网站,做最好的ARM网站</LI></UL></DIV>
<DIV id=topbox>
<H1><A title=ARM开发论坛 
href="http://www.armforum.cn/">中国专业ARM开发:WWW.ARMFORUM.CN</A></H1>
<DIV id=topmiddle><SPAN id=google2><IMG height=32 alt=ARM7 
src="ARM基础知识八 - ARM开发者论坛-中国专业ARM开发网站.files/loading.gif" width=32></SPAN></DIV>
<UL id=topright></SCRIPT></UL>
<DIV class=clear></DIV></DIV>
<UL id=chinahtmlnav>
  <LI><A title=ARM开发论坛 href="http://www.armforum.cn/"><SPAN>网站首页</SPAN></A> 
  <LI><A title=ARM开发论坛-ARM行业动态 
  href="http://www.armforum.cn/ARMxingyedongtai/index.html" 
  rel=external><SPAN>ARM行业动态</SPAN></A> 
  <LI><A title=ARM开发论坛-ARM入门 href="http://www.armforum.cn/ARMrumen/index.html" 
  rel=external><SPAN>ARM入门</SPAN></A> 
  <LI><A title=ARM开发论坛-ARM技巧 href="http://www.armforum.cn/ARMzhongji/index.html" 
  rel=external><SPAN>ARM技巧</SPAN></A> 
  <LI><A title=ARM开发论坛-ARM仿真 
  href="http://www.armforum.cn/ARMfangzhen/index.html" 
  rel=external><SPAN>ARM仿真</SPAN></A> 
  <LI><A title=ARM开发论坛-网友作品 
  href="http://www.armforum.cn/wangyouARMzuopin/index.html" 
  rel=external><SPAN>网友作品</SPAN></A> 
  <LI><A title=ARM开发论坛-嵌入式系统 
  href="http://www.armforum.cn/qianrushixitong/index.html" 
  rel=external><SPAN>嵌入式系统</SPAN></A> 
  <LI><A title=ARM开发论坛-ARM应用 
  href="http://www.armforum.cn/ARMyingyong/index.html" 
  rel=external><SPAN>ARM应用</SPAN></A> 
  <LI><A title=ARM开发论坛-ARM源码下载 
  href="http://www.armforum.cn/ARMyuanmaxiazai/index.html" 
  rel=external><SPAN>ARM源码下载</SPAN></A> 
  <LI><A title=ARM开发论坛-ARM资料下载 
  href="http://www.armforum.cn/ARMziliaoxiazai/index.html" 
  rel=external><SPAN>ARM资料下载</SPAN></A> 
  <LI><A title=ARM开发论坛专题 href="http://www.armforum.cn/special/index.php" 
  rel=external><SPAN>专题</SPAN></A> </LI></UL>
<UL id=subinfo>
  <LI class=searchli>
  <DIV id=searchtop><!-- Google CSE Search Box Begins  -->
  <FORM id=searchbox_006841628252179339083:u16nw8ub_py 
  action=http://www.google.com/cse>ARM文章搜索:<INPUT type=hidden 
  value=006841628252179339083:u16nw8ub_py name=cx> <INPUT size=25 name=q> <INPUT type=submit value=搜索 name=sa> <SPAN id=topbbs><A title=ARM开发论坛 
  href="http://www.armforum.cn/plus/guestbook/">&gt;&gt;ARM开发论坛用户交流区</A></SPAN></FORM>
  <SCRIPT src="ARM基础知识八 - ARM开发者论坛-中国专业ARM开发网站.files/brand.htm" 
  type=text/javascript></SCRIPT>
  </DIV></LI>
  <LI class=c><A 
  href="http://www.armforum.cn/member/index_do.php?fmdo=user&amp;dopost=regnew">会员注册</A> 
  | <A title=ARM信息发布 
  href="http://www.armforum.cn/ARMrumen/20071220/1830.html#">信息发布</A> | <A 
  href="http://www.armforum.cn/member/article_add.php" 
  rel=external><STRONG>文章投稿</STRONG></A> </LI>
  <LI class=searchli>ss</FORM> </LI>
  <LI class=d><A href="http://www.armforum.cn/plus/rssmap.html" 
  rel=external>信息订阅</A> </LI></UL>
<DIV class=clear></DIV></DIV>
<DIV id=middleimg>
<DIV id=topmidleimg></DIV></DIV>
<DIV id=containertow>
<DIV id=content>
<DIV id=articlenav>您现在正在浏览:<A 
href="http://www.armforum.cn/">ARM开发者论坛-中国专业ARM开发网站</A>&gt;&gt;<A 
href="http://www.armforum.cn/ARMrumen/index.html">ARM入门</A>&gt;&gt;</DIV>
<DIV id=article>
<DIV id=entry>
<DIV id=entrytitle>
<H1>ARM基础知识八</H1>
<DIV id=entrymeta>发表时间:2008-03-30 
00:48:11&nbsp;&nbsp;&nbsp;&nbsp;来源:ARM开发者论坛&nbsp;&nbsp;&nbsp;&nbsp;责任编辑::佚名&nbsp;&nbsp;&nbsp;&nbsp;阅读数:
<SCRIPT language=javascript 
src="ARM基础知识八 - ARM开发者论坛-中国专业ARM开发网站.files/count.htm"></SCRIPT>
</DIV></DIV>
<DIV class=clear></DIV>
<DIV id=entrybody>
<DIV id=entryadbox></DIV>
<STYLE>.Uwo714 {
	DISPLAY: none
}
</STYLE>

<P>***************************************************** 
<P class=Uwo714>http://www.armforum.cn</P>
<P></P>
<P>ARM编译器中预定义的宏 <FONT color=#ffffff>ARM</FONT> </P>
<P>*****************************************************<BR>ARM编译器预定义了一些宏,这些预定义宏对应一定的数值,有些预定义宏没有对应数值,见下表: 
<SPAN class=Uwo714>http://www.armforum.cn</SPAN> </P>
<P>_arm _ 使用编译器armcc,tcc,armcpp,tcpp时 
<P class=Uwo714>字串5</P>
<P></P>
<P>_ARMCC_VERSION Ver 
代表编译器版本号,其格式为:<BR>PVtbbb,其中:<BR>P为产品编号(1代表ADS)<BR>V为副版本号(1代表1.1)<BR>T为补丁版本号(0代表1.1)<BR>bbb为build号(比如650) 
<FONT color=#ffffff>ARM</FONT> </P>
<P>_APCS_INTERWORK _ 使用编译选项-apcs/interwork时 <SPAN class=Uwo714>字串5</SPAN> </P>
<P>_APCS_ROPI _ 使用编译选项apcs/ropi时 <FONT color=#ffffff>字串8</FONT> </P>
<P>_RWPI _ 使用编译选项-apcs/rwpi时 <FONT color=#ffffff>字串8</FONT> </P>
<P>_APCS_SWST _ 使用编译选项-apcs/swst时 
<P class=Uwo714>http://www.armforum.cn</P>
<P></P>
<P>_BIG_ENDIAN _ 编译器针对目标系统使用big-endian内存模式时 
<P class=Uwo714>字串5</P>
<P></P>
<P>_cplusplus _ 编译器工作与C 模式时 
<DIV class=Uwo714>字串8</DIV>
<P></P>
<P>_CC_ARM _ 返回编译器的名称 <FONT color=#ffffff>ARM</FONT> </P>
<P>_DATE_ date 编译源文件的日期 
<P class=Uwo714>ARM</P>
<P></P>
<P>_embedded_cplusplus 编译器工作于EC 模式时 <FONT color=#ffffff>字串8</FONT> </P>
<P>_FEATURE_SINGED_CHAE 使用编译设置选项-zc时设置该预定义宏 <SPAN class=Uwo714>M开发论坛</SPAN> </P>
<P>_FILE_ name 包含全路径的当前被编译的源文件名称 
<DIV class=Uwo714>ARM</DIV>
<P></P>
<P>_func_ name 当前被编译的函数名称 
<DIV class=Uwo714>http://www.armforum.cn</DIV>
<P></P>
<P>_LINE_ num 当前被编译的代码行号名称 <FONT color=#ffffff>http://www.armforum.cn</FONT> 
</P>
<P>_MOUDLE_ mod 预定义宏_FILE_的文件名称部分 <FONT color=#ffffff>字串4</FONT> </P>
<P>_OPTIMISE_SPACE _ 使用编译选项-OSPACE时 
<DIV class=Uwo714>M开发论坛</DIV>
<P></P>
<P>_OPTIMISE_TIME _ 使用编译选项-Otime时 
<DIV class=Uwo714>http://www.armforum.cn</DIV>
<P></P>
<P>_pretty_funcname unmangled的当前函数名称 
<DIV class=Uwo714>http://www.armforum.cn</DIV>
<P></P>
<P>_sizeof_int 4 sizeof(int),在预处理表达式中可以使用 
<DIV class=Uwo714>http://www.armforum.cn</DIV>
<P></P>
<P>_sizeof_long4 sizeof(long),在预处理表达式中可以使用 <FONT color=#ffffff>ARM</FONT> </P>
<P>_sizeof_ptr 4 sizeof(void*)在预处理表达式中可以使用 
<P class=Uwo714>字串8</P>
<P></P>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -