[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Assembler Language Reference

std (Store Double Word) Instruction

Purpose

Store a double-word of data from a general purpose register into a specified memory location.

Syntax

Bits Value
0-5 62
6-10 S
11-15 A
16-29 ds
30-31 00
POWER family
std RS, D(RA)

Description

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.

Parameters

RS Specifies the source general-purpose register containing data.
D Specifies a 16-bit, signed two's complement integer sign-extended to 32 bits for EA calculation.
RA 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.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]