[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Assembler Language Reference

stdu (Store Double Word with Update) Instruction

Purpose

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

This instruction should only be used on 64-bit PowerPC processors running a 64-bit application.

Syntax

PowerPC64
stdu RS, D (RA)

Description

The stdu 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. GRP RA is updated with the EA.

If GPR RA = 0, the instruction form is invalid.

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.

Related Information

Fixed-Point Processor .

Fixed-Point Load and Store with Update Instructions .


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]