asmjit / asmdb

Instructions database and utilities for X86/X64 and ARM (THUMB/A32/A64) architectures.
The Unlicense
328 stars 46 forks source link

armdata.js marks "blx label" as available in ARMv4 #11

Open tom42 opened 3 years ago

tom42 commented 3 years ago

armdata.js marks "blx label" as available in ARMv4:

["blx" , "#RelS*4" , "T32", "1111|0|RelS[22]|RelS[19:10]|11|Ja|0|Jb|RelS[9:0]|0" , "ARMv4T+ IT=OUT|LAST"], ["blx" , "#RelS*2" , "A32", "1111|101|RelS[0]|RelS[24:1]" , "ARMv4+"],

but I used to work with ARM7TDMI and I think that did not have BLX, and here ARM states that "This instruction is available in all T variants of ARM architecture v5 and above."

Shouldn't it then be "ARMv5T+" in both cases? "bx register" seems to be correct.

kobalicek commented 3 years ago

Thanks! I will fix that.