BLX_suffix

T32: 16-bit instructions

fixed bit field field the encoding fixes should be

ScarletNX: legacy BLX suffix

1514131211109876543210
111010

11101xxxxxxxxxx0
ArchVersion() < 7

Decode Sail

ScarletNX's fixup

if ConditionPassed() then {
    let target : bits(32) = R_read(14) + ZeroExtend(offset @ 0b0, 32);
    R_set(14) = (PC_read__1() - 2)[31 .. 1] @ 0b1;
    PSTATE.T = 0b0;
    BranchTo(target[31 .. 2] @ 0b00, BranchType_DIRCALL, false)
};
()

Made from ScarletNX's Sail at 166ad3910f80. sail-arm's definitions are Arm's ASL in Sail (BSD 3-Clause Clear, license); ScarletNX's fixups are GPL-3.0-or-later.