beautypg.com

Move(c) move control register move(c), Caution – Motorola DSP96002 User Manual

Page 442

background image

A - 254

DSP96002 USER’S MANUAL

MOTOROLA

MOVE(C)

Move Control Register

MOVE(C)

Operation:

S3

D2

S2

D1

#xxxx

D1

X:

D1

X:

D1

S1

X:

S1

X:

Y:

D1

Y:

D1

S1

Y:

S1

Y:

Assembler Syntax:

MOVE(C) S3,D2

MOVE(C) S2,D1

MOVE(C) #Data,D1

MOVE(C) X: ea, D1

MOVE(C) X:(Rn+displacement),D1

MOVE(C) S1,X: ea

MOVE(C) S1,X:(Rn+displacement)

MOVE(C) Y: ea, D1

MOVE(C) Y:(Rn+displacement),D1

MOVE(C) S1,Y: ea

MOVE(C) S1,Y:(Rn+displacement)

Description:

Move the contents of the specified control register to the specified destination or move the specified source

to the specified control register. The control registers S1, S3, and D1 are the program controller registers

and may be moved to or from any other register or memory space. All operands are word operands. All

memory addressing modes plus Long Displacement addressing 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: