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

ldarx (Store Double Word Reserve Indexed) Instruction

Purpose

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

Syntax

PowerPC64
ldarx rD, rA, rB

Description

This instruction creates a reservation for use by a Store Double Word Conditional Indexed (stdcx.) instruction. An address computed from the EA is associated with the reservation, and replaces any address previously associated with the reservation. EA must be a multiple of eight. If it is not, either the system alignment exception handler is invoked or the results are boundedly undefined.

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.

Parameters

rD Specifies source general-purpose register of stored data.
rA Specifies source general-purpose register for EA calculation.
rB Specifies source general-purpose register for EA calculation.

Examples

Related Information


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