Split extract a 16-bit integer split – Motorola DSP96002 User Manual

Page 490

Advertising
background image

A - 302

DSP96002 USER’S MANUAL

MOTOROLA

SPLIT

Extract a 16-bit Integer

SPLIT

Instruction Fields:

D

d d d

Dn.L

n n n

where nnn = 0-7

S

s s s

Dn.L

n n n

where nnn = 0-7

Timing: 2 + mv oscillator clock cycles

Memory: 1 + mv program words

Operation:

S.L {31:16}

D.L {15:0} (parallel data bus move)

S.L {31}

D.L {31:16}

Assembler Syntax:

SPLIT S,D
(move syntax - see the Move instruction de-

scription.)

Description:

Transfer the 16 MSBs of the lower portion of source operand S into the 16 LSBs of the lower portion of

destination D and sign-extend to 32 bits.

Input Operand(s) Precision: 32-bit integer.

Output Operand Precision: 32-bit integer.

CCR Condition Codes:

C

- Not affected.

V

- Always cleared.

Z

- Set if result is zero. Cleared otherwise.

N

- Set if result is negative. Cleared otherwise.

I

- Not affected.

LR

- Not affected.

R

- Not affected.

A

- Not affected.

ER Status Bits: Not affected.

IER Flags: Not affected.

Instruction Format: SPLIT S,D (move syntax - see the Move instruction description.)

11

0sss

1011

0ddd

31

14 13

0

OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA

DATA BUS MOVE FIELD

Advertising