37a38,53
> def format ArmUsad() {{
> decode_block = '''
> {
> const IntRegIndex rd = (IntRegIndex)(uint32_t)bits(machInst, 19, 16);
> const IntRegIndex rn = (IntRegIndex)(uint32_t)bits(machInst, 3, 0);
> const IntRegIndex rm = (IntRegIndex)(uint32_t)bits(machInst, 11, 8);
> const IntRegIndex ra = (IntRegIndex)(uint32_t)bits(machInst, 15, 12);
> if (ra == 0xf) {
> return new Usad8(machInst, rd, rn, rm);
> } else {
> return new Usada8(machInst, rd, rn, rm, ra);
> }
> }
> '''
> }};
>