Open brendabrandy opened 8 years ago
this encoding is for BL, not BLX.
it seems you are right that negative offset is not correctly handled now. will fix that.
@aquynh There are multiple patches that I would like to implement, I was looking at the autogenerated ARMGenAsmMatcher.inc file, where is it autogenerated from?
Thanks!
that comes from LLVM. you can compile from source, and get that file.
I am currently trying to assemble the following instruction in powerpc 32 bit big endian:
blx -0xf17c
from the address 0x100e4db0 The encoding is:4B FF 0E B5
And the error given by kstool is: