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

Assembler Language Reference

ldx (Store Double Word Indexed) Instruction

Purpose

Load a double-word from a specified memory location into a general purpose register.

Syntax

Bits Value
0-5 31
6-10 D
11-15 A
16-20 B
21-30 21
31 0
PowerPC 
ldx RT, RA, RB

Description

The ldx instruction loads a double-word from the specified memory location referenced by the effective address (EA) into the general-purpose register (GPR) RT.

If GRP RA is not 0, the EA is the sum of the contents of GRP RA and B; otherwise, the EA is equal to the contents of RB.

Parameters

RT Specifies target general-purpose register where result of operation is stored.
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.

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