Assembly:

WSBH rt, rs

Assembly alias, not available in NMS

Word Swap Byte Half

Purpose:

Word Swap Byte Half. Swap the bytes within both halfs of the word value in register $rs,and write the result to register $rt.

Availability:

Assembly alias, not available in NMS

Expansion:

ROTX rt, rs, 8, 24

The assembly alias WSHB is provided for compatibility with MIPS32™.Its behavior is equivalent to the new assembly alias BYTEREVH, whose name is chosen to fit consistently with the naming of other

reversing instructions in nanoMIPS™.