beautypg.com

Lea load effective address lea, Caution – Motorola DSP96002 User Manual

Page 400

background image

A - 212

DSP96002 USER’S MANUAL

MOTOROLA

LEA

Load Effective Address

LEA

Operation:

ea

D

Rn+xxxx

D

Assembler Syntax:

LEA ea,D

LEA (Rn+displacement),D

Description:

The address calculation specified is executed and the resulting effective address is stored in the destina-

tion register. The source address registers are not affected. Post-update and Long Displacement address

register indirect addressing modes may be used. Note that if D is SSH, the SP will be preincremented by

one.

CAUTION

See restrictions in Section A.10.6 concerning Rn, Mn, and Nn registers as a
destination.

CCR Condition Codes:

For destination operand SR:

C

- Set according to bit 0 of the source operand.

V

- Set according to bit 1 of the source operand.

Z

- Set according to bit 2 of the source operand.

N

- Set according to bit 3 of the source operand.

I

- Set according to bit 4 of the source operand.

LR

- Set according to bit 5 of the source operand.

R

- Set according to bit 6 of the source operand.

A

- Set according to bit 7 of the source operand.

For destination operands other than SR:

C

- Not affected.

V

- Not affected.

Z

- Not affected.

N

- Not affected.

I

- Not affected.

LR

- Not affected.

R

- Not affected.

A

- Not affected.