Understanding the nature of ARM PC register
2015-01-10 00:24
190 查看
In ARM state, the value of the PC is the address of the current instruction plus 8 bytes.
In Thumb state:
For B, BL, CBNZ, and CBZ instructions, the value of the PC is the address of the current instruction plus 4 bytes.
For all other instructions that use labels, the value of the PC is the address of the current instruction plus 4 bytes, with bit[1] of the result cleared to 0 to make it word-aligned.
In Thumb state:
For B, BL, CBNZ, and CBZ instructions, the value of the PC is the address of the current instruction plus 4 bytes.
For all other instructions that use labels, the value of the PC is the address of the current instruction plus 4 bytes, with bit[1] of the result cleared to 0 to make it word-aligned.
相关文章推荐
- White Paper: Understanding the Relative Costs of Client Access Server Workloads in Exchange Server
- The currently selected variant "arm-debug" uses split APKs, but none of the 1 split apks are compatible with the current device with density "213" and ABIs "x86".
- Understanding the PAC framework of Druple
- Lisp的本质(The Nature of Lisp)
- objc[2213]: Class _NSZombie_BSXPCMessage is implemented in both ?? and ??. One of the two will be us
- [Chapter 3 Process]Practice 3.4 Describe what happens when a context switch occurs if the new context is already loaded into one of the register sets.
- 【Deep Learning】笔记:Understanding the difficulty of training deep feedforward neural networks
- Lisp 的本质(The Nature of Lisp)
- The premature demise of Windows 8 on ARM, courtesy of Intel’s Medfield
- 第1讲:The nature of Testing--测试的本质
- Understanding the Internal Message Buffers of Storm
- the diff of implement when ram interface is direct address mapping or is access through register
- Lisp的本质(The Nature of Lisp)
- The analysis of suse_register
- FFMPEG Understanding(7. How to solve the issue of searching path?)
- Understanding Windows CardSpace: An Introduction to the Concepts and Challenges of Digital Identitie
- Understanding the basics of setup and hold time
- The top 100 papers Nature explores the most-cited research of all time.
- The core of cloud computing in my understanding
- Understanding of The VLAN 802.1Q tag