beautypg.com

Extb sign extend byte extb – Motorola DSP96002 User Manual

Page 273

background image

MOTOROLA

DSP96002 USER’S MANUAL

A - 85

EXTB

Sign Extend Byte

EXTB

Instruction Fields:

(u u)

D

d d d

Dn.L

n n n

where nnn = 0-7

Timing: 2 + mv oscillator clock cycles

Memory: 1 + mv program words

10

0001

uu01

1ddd

31

14 13

0

OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA

DATA BUS MOVE FIELD

Operation:

D.L {7:0}

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

D.L {7}

D.L {31:8}

Assembler Syntax:

EXTB D (move syntax - see the MOVE in-

struction description.)

Description:

Sign extend the lower byte of D.L into the upper 24 bits of D.L.

Input Operand(s) Precision: 8-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: EXTB D (move syntax - see the MOVE instruction description.)