Reverse the byte order in each halfword independently.
is an optional condition code.
is the destination register.
is the register holding the operand.
You can use this instruction to change endianness.
REV16 converts16-bit big-endian data into little-endian data or 16-bit little-endiandata into big-endian data.
You cannot use PC for any register.
You can use SP in the A32 instruction but this is deprecated. You cannot use SP in the T32 instruction.
This instruction does not change the flags.
The following form of this instruction is available in T32 code, and is a 16-bit instruction:
mustboth be Lo registers.
This instruction is available in A32 and T32.
REV16 r0, r0