Load a double-word from a specified memory location into a general purpose register.
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.