Information Manual
DSP1611/17/18/27/28/29 DIGITAL SIGNAL PROCESSOR
April 1998
Instruction Set
Lucent Technologies Inc.
DRAFT COPY
4-21
4.5 Instruction Set
(continued)
4.5.4 Special Function Group (continued)
Special Function Statements
The statements must be written in the exact format shown. If the statements are written in any other way (for
example, aD = 1 + aS instead of aD = aS + 1), the assembler produces an error message.
aD = aS >> 1
The contents of the source accumulator (aS) are divided by 2, and the result is placed in the
destination accumulator (aD). The sign bit is preserved.
aD = aS >> 4
The contents of the source accumulator (aS) are divided by 2
4
,
and the result is placed in
the destination accumulator (aD). The sign bit is preserved.
aD = aS >> 8
The contents of the source accumulator (aS) are divided by 2
8
,
and the result is placed in
the destination accumulator (aD). The sign bit is preserved.
aD = aS >> 16
The contents of the source accumulator (aS) are divided by 2
16
,
and the result is placed in
the destination accumulator (aD). The sign bit is preserved.
aD = aS << 1
The contents of the source accumulator (aS) are shifted 1 bit left, and the result is placed in
the destination accumulator (aD). The sign bit is extended from the new bit 31. The least
significant bit of aD is cleared to zero.
aD = aS << 4
The contents of the source accumulator (aS) are shifted 4 bits left, and the result is placed
in the destination accumulator (aD). The sign bit is extended from the new bit 31. The least
significant 4 bits of aD are cleared to zero.
aD = aS << 8
The contents of the source accumulator (aS) are shifted 8 bits left, and the result is placed
in the destination accumulator (aD). The sign bit is extended from the new bit 31. The least
significant 8 bits of aD are cleared to zero.
aD = aS << 16
The contents of the source accumulator (aS) are shifted 16 bits left, and the result is placed
in the destination accumulator (aD). The sign bit is extended from the new bit 31. The least
significant 16 bits of aD are cleared to zero.
aD = aS
The contents of the source accumulator (aS) are placed in the destination accumulator
(aD).
aD = –aS
The two's complement (or negative of the value) of the contents of the source accumulator
(aS) are placed in the destination accumulator (aD).
aD = rnd(aS)
The 36-bit contents of the source accumulator (aS) are rounded to 20 bits, and the result is
placed in aD[35—16] with zeros in aD[15—0].
aDh = aSh + 1
The value 0x00010000 is added to the contents of the source accumulator (aS), and the
result is placed in the destination accumulator (aD). This statement increments the data in
the high half of the source accumulator by one. The low half of aD is cleared.
aD = aS + 1
The value 0x00000001 is added to the contents of the source accumulator (aS), and the
result is placed in the destination accumulator (aD). This statement increments the data in
the source accumulator by one.
aD = y
The contents of the y register are written to the destination accumulator (aD).
aD = p
The contents of the p register are written to the destination accumulator (aD). The bit align-
ment of the p register is a function of the ALIGN field of the auc register.
aD = ~aS
The contents of the source accumulator (aS) are inverted and placed in the destination
accumulator—aD (one's complement).
Содержание DSP1611
Страница 18: ...Chapter 1 Introduction...
Страница 27: ...Chapter 2 Hardware Architecture...
Страница 52: ...Chapter 3 Software Architecture...
Страница 116: ...Chapter 4 Instruction Set...
Страница 154: ...Chapter 5 Core Architecture...
Страница 176: ...Chapter 6 External Memory Interface...
Страница 208: ...Chapter 7 Serial I O...
Страница 237: ...Chapter 8 Parallel I O DSP1617 Only...
Страница 261: ...Chapter 9 Parallel Host Interface PHIF DSP1611 18 27 28 29 Only...
Страница 275: ...Chapter 10 Bit I O Unit...
Страница 284: ...Chapter 11 JTAG Test Access Port...
Страница 306: ...Chapter 12 Timer...
Страница 313: ...Chapter 13 Bit Manipulation Unit...
Страница 325: ...Chapter 14 Error Correction Coprocessor DSP1618 28 Only...
Страница 350: ...Chapter 15 Interface Guide...
Страница 367: ...Appendix A Instruction Encoding...
Страница 379: ...Appendix B Instruction Set Summary...
Страница 381: ...aD extractz aS IM16 B 52 aD insert aS arM B 53 aD insert aS IM16 B 54 aD aS aaT B 55...
Страница 437: ...Index...