beautypg.com

Move(i) immediate short data move move(i), Caution – Motorola DSP96002 User Manual

Page 446

background image

A - 258

DSP96002 USER’S MANUAL

MOTOROLA

MOVE(I)

Immediate Short Data Move

MOVE(I)

Operation:

#xx

D

Assembler Syntax:

MOVE(I) #Data,D

Description:

The 16-bit immediate short operand is sign extended to a word operand and is stored in the destination

register D. Care should be taken if the specified destination register is D0.S-D9.S, since there is no special

formatting for short floating-point data and the sign extended immediate short operand may produce small

positive denormalized numbers or a negative NANs. See Section A.10 for restrictions that apply to this

instruction. Note that if D is SSM, 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.