lqarx
Load Quadword And Reserve Indexed
Loads a quadword from memory and reserves the location for conditional store.
Details
For lqarx, the quadword in storage addressed by EA is loaded into an even-odd pair of GPRs. In Big-Endian mode, the even-numbered GPR is loaded with the doubleword from storage addressed by EA and the odd-numbered GPR is loaded with the doubleword addressed by EA+8. In Little-Endian mode, the even-numbered GPR is loaded with the byte-reversed doubleword from storage addressed by EA+8 and the odd-numbered GPR is loaded with the byte-reversed doubleword addressed by EA.
Pseudocode Operation
Programming Note
lqarx serves as both a basic and an extended mnemonic. The Assembler will recognize a lqarx mnemonic with four operands as the basic form, and a lqarx mnemonic with three operands as the extended form. In the extended form the EH operand is omitted and assumed to be 0.
Extended Mnemonics
| Extended Mnemonic | Equivalent Instruction |
|---|---|
| lqarx |
Example
Encoding
Operands
-
RTp
Target Pair -
RA
Base -
RB
Index -
EH
Hint operand