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

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

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

[培训]科锐逆向工程师培训第53期2025年7月8日开班!

收藏
免费 0
支持
分享
最新回复 (4)
雪    币: 8
活跃值: (15)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
@kgxxx
2014-10-23 15:27
0
雪    币: 90
活跃值: (383)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
自己翻下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)
2014-10-23 15:40
0
雪    币: 226
活跃值: (41)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
你这是 thumb指令,大神说的方法是 arm指令
2014-11-3 17:05
0
雪    币: 803
活跃值: (849)
能力值: ( LV4,RANK:40 )
在线值:
发帖
回帖
粉丝
5
"大神"在忽悠人,千万别信!
2015-12-21 01:28
0
游客
登录 | 注册 方可回帖
返回