会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
摩斯电码
Linux内核工程师,计算机底层技术爱好者
首页
管理
2020年8月2日
ARM处理器函数调用时的参数传递
摘要: 对于ARM32架构,函数调用时前4个参数用通用寄存器(R0~3),剩余的用栈。对于ARM64架构,函数调用时前8个参数用通用寄存器(R0~7),剩余的通过栈。 测试程序: 1 #include <stdio.h> 2 3 int func(int a, int b, int c, int *e, i
阅读全文
posted @ 2020-08-02 23:05 摩斯电码
阅读(2928)
评论(0)
推荐(0)
编辑
公告