Store a double-word of data from a general purpose register into a specified memory location.
Bits | Value |
---|---|
0-5 | 62 |
6-10 | S |
11-15 | A |
16-29 | ds |
30-31 | 00 |
POWER family | |
---|---|
std | RS, D(RA) |
The std instruction stores a double-word in storage from the source general-purpose register (GPR) RS into the specified location in memory referenced by the effective address (EA).
If GPR RA is not 0, the EA is the sum of the contents of GPR RA and D, a 16-bit, signed two's complement integer, fullword-aligned, sign-extended to 64 bits. If GPR RA is 0, then the EA is D.
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.