Load a quad-word of data into the specified general purpose register.
Bits | Value |
---|---|
0-5 | 56 |
6-10 | RT |
11-15 | RA |
16-27 | DQ |
28-31 | PT |
PowerPC 64 | |
---|---|
lq | RT, DQ(RA), PT |
The lq instruction loads a quad word in storage from a specified location in memory addressed by the effective address (EA) into the target general-purpose registers (GPRs) RT and RT+1.
If GPR RA is not 0, the EA is the sum of the contents of GPR RA and DQ, a 12-bit, signed two's complement integer, which is concatenated on the right by 0b0000 and sign extended to 64 bits. If GPR RA is 0, then the EA is DQ.
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.
Fixed-Point Load and Store Instructions.