QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1409|回复: 4

问一下看过ads文档的

[复制链接]
发表于 2003-9-3 10:25:17 | 显示全部楼层 |阅读模式
由于要了解一下堆占溢出的检验 看了一下ads的文档
发现它里面对r12有这样的定意:
Register r12 is the intra-call scratch register, ip. It is used in this role in procedure linkage veneers, for example interworking veneers. Between procedure calls you can use it for any purpose. A called routine does not need to restore r12 before returning.
什么意思?不懂
以前看到的文档里都是把r12说明成一个通用寄存器的
发表于 2003-9-3 11:07:44 | 显示全部楼层
ads? what u mean?   , i do not know.

arm development suite?
回复

使用道具 举报

 楼主| 发表于 2003-9-3 11:21:25 | 显示全部楼层
yes
回复

使用道具 举报

发表于 2003-9-5 08:37:13 | 显示全部楼层
i have a trial version but never use it.  
回复

使用道具 举报

发表于 2005-7-29 11:28:25 | 显示全部楼层
这里的intra-call和interworking都是指ARM/Thumb的交互调用,而interworking veneers则是连接器自动添加的一段用于状态切换的连接程序。
假设有如下调用:
void func1(void)
{
      func2();
}
这里func1是ARM状态,func2是Thumb状态,则在指定编译器命令行选项-acps /interwork时,连接器会自动生成一小段代码veneers来切换状态。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-19 21:53 , Processed in 0.082290 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表