beautypg.com

Move – Motorola DSP96002 User Manual

Page 423

background image

MOTOROLA

DSP96002 USER’S MANUAL

A - 235

Y: R

Y Memory and Register Move

Y: R

011d

WdYY

YXXX

MMMR

uu

uuuu

uuuu

uuuu

31

14 13

0

OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA

Operation:

Opcode Operation S1

D1 Y:

D2

Opcode Operation S1

D1 S2

Y:

Opcode Operation S1

D1 #xxxx

D2

Assembler Syntax:

Opcode-Operands S1,D1 Y: ea, D2

Opcode-Operands S1,D1 S2,Y: ea

Opcode-Operands S1,D1 #Data,D2

Description:

Move one word operand to/from Y memory and one word operand from register to register. One effective

address is specified. A memory to register or register to memory direction may be specified in the effective

address.

When two parallel data move operations are specified in the same instruction, certain restrictions apply. If

the instruction has an integer opcode, both data moves must be integer moves and specify integer oper-

ands. If the instruction has a floating-point opcode, both data moves must be floating-point moves and

specify floating-point operands.

If the opcode-operand portion of the instruction specifies as the destination a portion of the register Dn, the

same register portion may not be specified as a destination D in the data bus move operation. That is, du-

plicate destinations are not allowed in the same instruction. For example, both a Data ALU operation and

a data move operation cannot write into the same register in the same instruction.

If the opcode-operand portion of the instruction specifies as the source or destination a portion of the reg-
ister Dn, the same register portion may be specified as a source S in the data bus move operation. That is,
duplicate sources are allowed in the same instruction. For example, a data move operation can read the
same register which is being used as a source or destination by a Data ALU operation in the same instruc-
tion.
Instruction Fields: Rn - R0-R7 (Memory addressing modes only)

Instruction Format

- Opcode-operands: S1,D1 Y: ea, D2

S1,D1 S2,Y: ea

S1,D1 #Data,D2

Move

Move