
DSP1611/17/18/27/28/29 DIGITAL SIGNAL PROCESSOR
Information Manual
Instruction Set Summary
April 1998
B-47
DRAFT COPY
Lucent Technologies Inc.
aD = aS SHIFT arM
(shift value in aS by arM bits)
(aD)
←
(aS) >> (arM)
(aD)
←
(aS) << (arM)
(aD)
←
(aS) >>> (arM)
(aD)
←
(aS) <<< (arM)
These shift operations use the barrel switch in the BMU to perform shifts by a number in arM. The 36-bit value in
aS is shifted by the number of bits specified by the value in arM, and the 36-bit result is written to aD. If the shift
value is negative, the direction of the shift will automatically be reversed; i.e., a right shift will become a left shift of
the same type and vice versa.
aD = aS >> arM
performs an arithmetic right shift.
aD = aS << arM
performs an arithmetic left shift.
aD = aS >>> arM
performs a logical right shift. (This instruction clears the guard bits [bits 35—32] before
shifting.)
aD = aS <<< arM
performs a logical left shift.
Flags are set based on the value written into aD. For left shifts, the LLV flag is set if any significant bits are lost from
the value written into aD. For right shifts, the LLV flag is set if the shift amount is greater than 35 bits. The SHIFT
field selects the type of shift to perform:
00 - >>
01 - >>>
10 - <<
11 - <<<
The M field selects one of the four ar registers:
00 - ar0
01 - ar1
10 - ar2
11 - ar3
Bit
15
14
13
12
11
10
9
8
7
6
5
4—3
2
1—0
Field
1
1
1
1
0
D
S
0
0
0
0
SHIFT
0
M
Words: 1
Cycles: 1
Group: BMU
Addressing: Register
Flags affected: LMI, LEQ, LLV, LMV,
ODDP, EVENP, MNS1, NMNS1
Interruptible: Yes
Cacheable: Yes
Format: 3b
Summary of Contents for DSP1611
Page 18: ...Chapter 1 Introduction...
Page 27: ...Chapter 2 Hardware Architecture...
Page 52: ...Chapter 3 Software Architecture...
Page 116: ...Chapter 4 Instruction Set...
Page 154: ...Chapter 5 Core Architecture...
Page 176: ...Chapter 6 External Memory Interface...
Page 208: ...Chapter 7 Serial I O...
Page 237: ...Chapter 8 Parallel I O DSP1617 Only...
Page 261: ...Chapter 9 Parallel Host Interface PHIF DSP1611 18 27 28 29 Only...
Page 275: ...Chapter 10 Bit I O Unit...
Page 284: ...Chapter 11 JTAG Test Access Port...
Page 306: ...Chapter 12 Timer...
Page 313: ...Chapter 13 Bit Manipulation Unit...
Page 325: ...Chapter 14 Error Correction Coprocessor DSP1618 28 Only...
Page 350: ...Chapter 15 Interface Guide...
Page 367: ...Appendix A Instruction Encoding...
Page 379: ...Appendix B Instruction Set Summary...
Page 381: ...aD extractz aS IM16 B 52 aD insert aS arM B 53 aD insert aS IM16 B 54 aD aS aaT B 55...
Page 437: ...Index...