Ext sign extend half word ext – Motorola DSP96002 User Manual
Page 272
A - 84
DSP96002 USER’S MANUAL
MOTOROLA
EXT
Sign Extend Half Word
EXT
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
uu00
1ddd
31
14 13
0
OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA
DATA BUS MOVE FIELD
Operation:
D.L {15:0}
→
D.L {15:0} (parallel data bus move)
D.L {15}
→
D.L {31:16}
Assembler Syntax:
EXT D (move syntax - see the MOVE in-
struction description.)
Description:
Sign extend the lower 16 bits of D.L into the upper 16 bits of D.L.
Input Operand(s) Precision: 16-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: EXT D (move syntax - see the MOVE instruction description.)