SETEND

T32: 16-bit instructions

fixed bit field field the encoding fixes should be

T1

1514131211109876543210
101101100101E000

101101100101x000

Decode Sail

let set_bigend : bool = E == 0b1;
if InITBlock() then {
    throw(Error_Unpredictable())
};
execute_aarch32_instrs_SETEND_Op_A_txt(set_bigend)

Operation Sail

AArch32_CheckSETENDEnabled();
PSTATE.E = if set_bigend then 0b1 else 0b0

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.