lhbrx
Load Halfword Byte-Reverse Indexed
lhbrx RT, RA, RB
Loads a halfword from memory, byte-reverses it, and stores it in a register.
Details
The lhbrx instruction loads a halfword from memory, byte-reverses it, and stores it in the target register RT. The effective address (EA) is calculated as the sum of the contents of registers RA and RB.
Pseudocode Operation
Programming Note
These instructions have the effect of loading and storing data in the opposite byte ordering from that which would be used by other Load and Store instructions.
Example
lhbrx r3, r4, r5
Encoding
Binary Layout
31
0
RT
6
RA
11
RB
16
790
/
Operands
-
RT
Target -
RA
Base -
RB
Index