2.6.5.8.2 Operation

Use these instructions to change endianness of data:

  • REV: converts 32-bit big-endian data into little-endian data or 32-bit little-endian data into big-endian data.
  • REV16: converts 16-bit big-endian data into little-endian data or 16-bit little-endian data into big-endian data.
  • REVSH: converts either:
    • 16-bit signed big-endian data into 32-bit signed little-endian data
    • 16-bit signed little-endian data into 32-bit signed big-endian data.