以CortexR5为例的ARM通用寄存器说明

Platform: Cortex-R5
Architecture: ARMv7-A
Total registers:
(1) 31 general-purpose 32-bit registers
(2) six 32-bit status registers

General-purpose 32-bit registers
(1) Directly accessible registers
a). R0-R12 hold either data or address values.
b). R13 (SP)Stack Pointer
c). R14 (LR)Link Register receive the return address when instruction BL or BLX executed.
d). R15 (PC)Program Counter: reading the address of the current instruction plus (+4 or +8)
(2) No directly accessible registers
a). R16-R30 “caller-saved” or “scratch” registers, which means that they can be used for temporary storage by functions and code without the requirement to preserve their values across function calls.

Status registers
(1) CPSR current program status register which contains condition code flags, status bits, and current mode bits.
(2) others

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值