Join join two 16-bit integers join – Motorola DSP96002 User Manual
Page 386
A - 198
DSP96002 USER’S MANUAL
MOTOROLA
JOIN
Join Two 16-bit Integers
JOIN
11
0sss
1010
0ddd
31
14 13
0
OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA
DATA BUS MOVE FIELD
Operation:
S.L {15:0}
→
D.L {31:16}
(parallel data bus move)
D.L {15:0}
→
D.L {15:0}
Assembler Syntax:
JOIN S,D
(move syntax - see the Move instruction description.)
Description:
Transfer the 16 LSBs of the lower portion of source operand S into the 16 MSBs of the lower portion of
destination D. The 16 LSBs of the lower portion of D remain unchanged.
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: JOIN S,D (move syntax - see the Move instruction description.)
Instruction Fields:
(u u)
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