首页
社区
课程
招聘
[求助]arm指令的BL指令机器码问题??
2014-10-23 15:26 5748

[求助]arm指令的BL指令机器码问题??

2014-10-23 15:26
5748
在论坛里面找到大神说的方法
(目的地址-源地址)/4-2
按照这个办法,为什么下面的不行呢,下面是我ida中的
_text:000E8070 1F F0 F4 FD                 BL              sub_107C5C

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 0
打赏
分享
最新回复 (4)
雪    币: 8
活跃值: (15)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
SnowNight 2014-10-23 15:27
2
0
@kgxxx
雪    币: 100
活跃值: (323)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
Arcade 2014-10-23 15:40
3
0
自己翻下arm指令手册吧。

Syntax
B <target_address>
where:
<target_address>
Specifies the address to branch to. The branch target address is calculated by:
1. Shifting the 11-bit signed offset of the instruction left one bit.
2. Sign-extending the result to 32 bits.
3. Adding this to the contents of the PC (which contains the address of the branch instruction plus 4).
The instruction can therefore specify a branch of –2048 to +2046 bytes, relative to the current value of the PC (R15).
Architecture version
All T variants.
Exceptions
None.
Operation
PC = PC + (SignExtend(signed_immed_11) << 1)
雪    币: 226
活跃值: (41)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
雨夜听风 2014-11-3 17:05
4
0
你这是 thumb指令,大神说的方法是 arm指令
雪    币: 803
活跃值: (850)
能力值: ( LV4,RANK:40 )
在线值:
发帖
回帖
粉丝
yjmwxwx 2015-12-21 01:28
5
0
"大神"在忽悠人,千万别信!
游客
登录 | 注册 方可回帖
返回