今天查资料时发现这里: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0497a/BABEFHAE.html 在说明B, BL, BX, and BLX指令时在Operation一节写道:
The BX and BLX instructions result in a HardFault exception if bit[0] of Rm is 0.
表示对这句不是很理解,那个位是0不应该是正常情况吗?求解
The BX and BLX instructions result in a HardFault exception if bit[0] of Rm is 0.
表示对这句不是很理解,那个位是0不应该是正常情况吗?求解
5 条回复 • 2015-05-16 10:52:00 +08:00
|
1
Hyperion 2015 年 5 月 15 日
bit[0] 好像是区分arm 和thumb 指令集的位吧? 看意思,似乎是在arm 指令模式下才会引发Hard Fault?
擦汗,从来没注意过这个… |