beautypg.com

Caution – Motorola DSP96002 User Manual

Page 449

background image

MOTOROLA

DSP96002 USER’S MANUAL

A - 261

MOVE(M)

Move Program Memory

MOVE(M)

Operation:

P:

D

S

P:

Assembler Syntax:

MOVE(M) P: ea, D

MOVE(M) S,P: ea

Description:

Move the specified program memory word operand to the specified destination register or move the spec-

ified source register to the specified program memory location. The registers S and D may be any register.

All memory alterable addressing modes may be used.

If the system stack register SSH is specified as a source operand, the system stack pointer SP is postdec-

remented by 1 after SSH is read. If the system stack register SSH is specified as a destination operand,

the system stack pointer SP is preincremented by 1 before SSH is written. This allows the system stack

to be efficiently extended using software stack pointer operations.

See Section A.10 for restrictions that apply to this instruction.

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.