rev8

Operands

reg, reg

Reverse bytes : Set t1 to t2 with its bytes in the opposite order, converting between little and big endian

Variants

  • Reverse bytes : Set t1 to t2 with its bytes in the opposite order, converting between little and big endian rev8 t1,t2
.text
li t0, 13
# t0=13; rev8 writes 218103808 to t2.
rev8 t2, t0