Information Manual
DSP1611/17/18/27/28/29 DIGITAL SIGNAL PROCESSOR
April 1998
Instruction Set
Lucent Technologies Inc.
DRAFT COPY
4-23
4.5 Instruction Set
(continued)
4.5.5 Multiply/ALU Group (continued)
All multiply/ALU instructions require one word of memory. The number of instruction cycles required to execute an
instruction in the multiply/ALU group is a function of the statement selected from the transfer column in
.
Instructions with statements in the transfer column involving a write to RAM are executed in two instruction cycles
whether the instruction is in or out of the cache. Instructions with statements in the transfer column involving a read
from the X space and the Y space simultaneously are executed in two instruction cycles if not in the cache and one
instruction cycle if in the cache. An instruction with no transfer statement executes in one instruction cycle either in
or out of the cache. The remaining instructions are executed in one instruction cycle either in or out of the cache.
gives the number of instruction cycles for each case.
The no operation (nop) instruction is a special-case encoding of a multiply/ALU instruction and is executed in one
instruction cycle. The assembly-language notation representation of a no operation instruction is either nop or a
single semicolon (;) and is assembled as *r0.
Note that the function statements and transfer statements in
are chosen independently. Any function
statement can be combined with any transfer statement to form a valid multiply/ALU instruction. F1 function state-
ments and transfer statements can also be used alone to form valid instructions.
Note: For transfer statements when loading the upper half of an accumulator, the lower half is cleared if the corresponding
CLR bit in the auc register is zero. auc is cleared by reset.
Table 4-12. Multiply/ALU Instructions
F1 Function Statements
Transfer
Statements
Cycles (Out/In Cache)
†
† With a 2X clock selection, an instruction cycle is 2 times the period of the input clock (CKI). With a 1X clock selection, an
instruction cycle is 1 times the period of the input clock (CKI); or for the DSP1627/28/29, the instruction cycle is the fre-
quency of the clock source that is selected. If an external memory access is made in X or Y space and wait-states are
programmed, add the number of wait-states.
p = x
*
y
y = Y
x = X
2/1
‡
‡ Add one cycle if an X space access and a Y space access are made to the same bank of DPRAM in one instruction.
aD = p
p = x
*
y
y = aT
x = X
2/1
aD = aS + p
p = x
*
y
y[l] = Y
§
§ The l in [ ] is an optional argument that specifies the low 16 bits of aT or y.
1/1
aD = aS – p
p = x
*
y
1/1
aD = p
x = Y
1/1
aD = aS + p
Y
1/1
aD = aS – p
Y = y[l]
2/2
aD = y
Y = aT[l]
2/2
aD = aS + y
Z : y
x = X
2/2
aD = aS – y
Z : y[l]
2/2
aD = aS & y
Z : aT[l]
2/2
aD = a S | y
aD = aS ^ y
aS – y
aS & y
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...