ARM BLX Instruction Range (absolute)

前端 未结 2 1098
情话喂你
情话喂你 2021-01-24 01:44

I got a question about the ARM BLX instruction, specifically regarding BLX RX instruction. On the ARM manual it states that for BLX label, label should be within the 32MB range.

2条回答
  •  灰色年华
    2021-01-24 02:14

    The limit only applies to the PC-relative branch (with the offset encoded in the instruction), not the register branch.

    So the reason of the crash is something else. What is your processor? Do you actually have code at 'address1'? Where exactly does it crash?

提交回复
热议问题