摘要: 对于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 摩斯电码 阅读(2926) 评论(0) 推荐(0) 编辑