c语言 at 前后下划线

比如:volatileunsignedcharxdataram[offset]_at_Ram_base;对了,我的疑问在于:这个_at_有没有什么相关知识点?麻烦给讲解一... 比如:volatile unsigned char xdata ram[offset] _at_ Ram_base;
对了,我的疑问在于:这个_at_有没有什么相关知识点?麻烦给讲解一下,谢谢。
展开
 我来答
ssilspro
推荐于2016-05-15 · TA获得超过2626个赞
知道大有可为答主
回答量:1148
采纳率:0%
帮助的人:1839万
展开全部
嵌入式C的关键字,变量可能定位在绝对内存地址
——————————————————
The absolute address following the _at_ keyword must conform to the
physical boundaries of the memory space for the variable. The Cx51 Compiler
checks for and reports invalid address specifications.
The following restrictions apply to absolute variable location using the _at_ keyword:
Absolute variables cannot be initialized.
Functions may not be located at an absolute address.
Bit variables may not be located at an absolute address.

在_at_后面的绝对地址要符合内存空间的物理边界
不能被初始化
函数和位变量不能定位在绝对地址
鄢震钦芹
2019-02-19 · TA获得超过1153个赞
知道小有建树答主
回答量:3634
采纳率:100%
帮助的人:25.3万
展开全部
c语言中打下划线和平时一样,在英文状态(英文输入法)下同时按住“shift
+ -”(shift和减号)即可。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式