Moveta move data registers moveta, And test address – Motorola DSP96002 User Manual

Page 463

Advertising
background image

MOTOROLA

DSP96002 USER’S MANUAL

A - 275

MOVETA

Move Data Registers

MOVETA

and Test Address

Operation:

parallel data bus move

Assembler Syntax:

MOVETA
(move syntax - see the Move instruction de-

scription).

Description:

Move the contents of the specified source to the specified destination and update the C, V, N and Z flags

in the CCR according to the result of the address calculation. Only Address Register Indirect addressing

modes will give meaningful flag updates. For the No Update addressing mode, the address calculation is

assumed to be Rn-0 with linear modifier while ignoring the contents of the Mn and Nn registers. For XY

moves, update the CCR according to the result of the X address calculation. This instruction is a Data ALU

NOP instruction with the parallel data move operations described in the MOVE instruction description.

Some parallel data move operations differentiate between integer or floating-point operands according to

the kind of Data ALU operation specified. For this purpose, two Data ALU NOP opcodes are used: an

"integer NOP" and a "floating-point NOP". For example, if a XY parallel move is specified with integer op-

erands, the assembler will produce a 32 bit instruction word with the "integer NOP" in the Data ALU opcode

field. If floating-point operands are specified, the "floating-point NOP" is used instead.

CCR Condition Codes:

C

- For increment addressing modes: Set if carry occurred out of the MSB during ad-

dress calculation with linear modifier or carry occurred out of the LSB during ad-
dress calculation with reverse carry modifier. Cleared otherwise.

For decrement addressing modes: Set if borrow occurred out of the MSB during

address calculation with linear modifier or borrow occurred out of the LSB during
address calculation with reverse carry modifier. Cleared otherwise.

For modulo addressing modes: Always cleared.

V

- Set if overflow occurred out the MSB during address calculation with a linear mod-

ifier. Set if overflow occurred out the LSB during address calculation with a reverse
carry modifier. Set if wrap-around occurred during address calculation with a mod-
ulo modifier. Set if at least one wrap-around occurred during address calculation
with a multiple wrap-around modulo modifier. Cleared otherwise.

Z

- Set if result of the address calculation is zero. Cleared otherwise.

N

- Set if the MSB of the result of the address calculation with linear or modulo modifier

is set. Set if the LSB of the result of the address calculation with reverse carry
modifier is set. Cleared otherwise.

I

- Not affected.

LR

- Not affected.

R

- Not affected.

A

- Not affected.

ER Status Bits: Not affected.

IER Flags: Not affected.

Advertising