stdx (Store Double Word Indexed) instruction

Purpose

Store a doubleword of data from a general purpose register into a specified memory location.

Syntax

Bits Value
0 - 5 31
6 - 10 S
11 - 15 A
16 - 20 B
21 - 30 149
31 0
POWER® family
stdx RS, RA, RB

Description

The stdx instruction stores a doubleword in storage from the source general-purpose register (GPR) RS into the location in storage specified by the effective address (EA).

If GPR RA is not 0, the EA is the sum of the contents of GPR RA and RB. If GPR RA is 0, then the EA is RB.

Parameters

Item Description
RS Specifies the source general-purpose register containing data.
RA Specifies source general-purpose register for EA calculation.
RB Specifies source general-purpose register for EA calculation.

Implementation

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.