beautypg.com

Splitb extract an 8-bit integer splitb – Motorola DSP96002 User Manual

Page 491

background image

MOTOROLA

DSP96002 USER’S MANUAL

A - 303

SPLITB

Extract an 8-bit Integer

SPLITB

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 {15:8}

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

S.L {15}

D.L {31:8}

Assembler Syntax:

SPLITB S,D

(move syntax - see the Move instruction de-

scription.)

Description:

Transfer bits 15-8 of the lower portion of source operand S into the 8 LSBs of the lower portion of destina-

tion 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: SPLITB S,D (move syntax - see the Move instruction description.)

11

0sss

1011

1ddd

31

14 13

0

OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA

DATA BUS MOVE FIELD