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.
16-bit big-endian data into little-endian data or 16-bit little-endian
data into big-endian data.
You cannot use PC for any register.
You can use SP in ARM instructions but this is deprecated in ARMv6T2 and above. You cannot use SP in Thumb instructions.
This instruction does not change the flags.
The following form of this instruction is available in Thumb code, and is a 16-bit instruction:
must both be Lo registers.
This ARM instruction is available in ARMv6 and above.
This 32-bit Thumb instruction is available in ARMv6T2 and above.
This 16-bit Thumb instruction is available in ARMv6 and above.
REV16 r0, r0