UXTH

T32: 16-bit instructions

fixed bit field field the encoding fixes should be

T1

1514131211109876543210
1011001010RmRd

1011001010xxxxxx

Decode Sail

if ConditionPassed() then {
    let 'd = UInt(Rd);
    let 'm = UInt(Rm);
    let 'rotation = 0;
    execute_aarch32_instrs_UXTH_Op_A_txt(d, m, rotation)
};
()

Operation Sail

let rotated : bits(32) = ROR(R_read(m), rotation);
R_set(d) = ZeroExtend(rotated[15 .. 0], 32)

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.