stxsdx
Store VSX Scalar Doubleword Indexed X-form
stxsdx XS,RA,RB
Stores a doubleword from a VSX scalar register to memory.
Details
The instruction stores the contents of the specified doubleword element of a VSX scalar register into memory at an address calculated from two general-purpose registers.
Pseudocode Operation
Programming Note
The stxsdx instruction stores a doubleword from a VSX scalar register into memory. Ensure the VSX facility is enabled by checking and setting the MSR.VSX bit. The effective address (EA) is calculated by adding the contents of two general-purpose registers, RA and RB. This instruction requires 8-byte alignment for the memory address to avoid exceptions.
Example
stxsdx vs1, r4, r5
Encoding
Binary Layout
0
0
S
1
RA
6
RB
11
SX
16
Operands
-
XS
VSX Scalar Register -
RA
Source General Purpose Register (Base Address) -
RB
Source General Purpose Register (Index)