Load a double-word from a specified memory location into a general purpose register.
Bits | Value |
---|---|
0-5 | 31 |
6-10 | D |
11-15 | A |
16-20 | B |
21-30 | 21 |
31 | 0 |
PowerPC | |
---|---|
ldx | RT, RA, RB |
The ldx instruction loads a double-word from the specified memory location referenced by the effective address (EA) into the general-purpose register (GPR) RT.
If GRP RA is not 0, the EA is the sum of the contents of GRP RA and B; otherwise, the EA is equal to the contents of RB.
This instruction is defined only for 64-bit implementations. Using it on a 32-bit implementation will cause the system illegal instruction error handler to be invoked.