ARM 学习笔记之2:Predeclared core register names in AArch32 state

Many of the core register names have synonyms.
The following table shows the predeclared core registers:
 

Register namesMeaning
r0-r15 and R0-R15General purpose registers.
a1-a4Argument, result or scratch registers. These are synonyms for R0 to R3.
v1-v8Variable registers. These are synonyms for R4 to R11.
SBStatic base register. This is a synonym for R9.
IPIntra-procedure call scratch register. This is a synonym for R12.
SPStack pointer. This is a synonym for R13.
LRLink register. This is a synonym for R14.
PCProgram counter. This is a synonym for R15.

                                 Table 3-2 Predeclared core registers in AArch32 state


With the exception of a1-a4 and v1-v8, you can write the register names either in all upper case or all
lower case.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值