rev
Reverse Bytes (A32)
REV<c> <Rd>, <Rm>
Reverses bytes (Endian swap).
Details
The Reverse Bytes instruction reverses bytes (Endian swap).
Pseudocode Operation
Rd ← byte-reverse of Rm
Example
REV r0, r2
Encoding
Binary Layout
cond
011010111111
Rd
11110011
Rm
Operands
-
Rd
Destination general-purpose register -
Rm
Second source / offset general-purpose register