DSP1611/17/18/27/28/29 DIGITAL SIGNAL PROCESSOR
Information Manual
Instruction Set
April 1998
4-12
DRAFT COPY
Lucent Technologies Inc.
4.5 Instruction Set
(continued)
4.5.1 Control Instructions
Control instructions implement goto, call, and return commands. There is no latency when branching, i.e., the
instruction executed following the control instruction has the address specified in the PC after execution of the con-
trol instruction. Control instructions are executed either conditionally or unconditionally. Both the condition and its
complement are available for use in control instructions. Control instructions can not be executed in the cache.
Control instructions can be conditioned on the basis of the DSP flags defined in
. The result of the most
recent accumulator operation prior to the control instruction establishes the state of the flags for the conditions
associated with logical or mathematical functions.
lists the control instructions along with a description of
how each instruction is encoded, the number of instruction cycles required to execute each instruction, and the
number of memory locations (in words) required for the encoding of each instruction.
describes the
replacements for the upper-case fields shown in
.
Table 4-4. Control Instructions
†
† Control instructions cannot be used in the cache.
lists replacements for the upper-case fields shown in this table.
Control Instruction
Equivalent Instruction
(if applicable)
Encoded As
Number of
Cycles
Number of
Words
goto JA
‡
goto pt
§
call JA
call pt
return
‡ The goto JA and call JA instructions should not be placed in the last or next-to-last instruction before the boundary of a 4 Kword
page. If the goto or call is placed there, the program counter increments to the next page and the jump is to the next page rather than
the desired current page.
§ If PC, pt, or pr point to external memory, add programmed wait-states to the number of cycles.
goto pr
goto JA
goto B
call JA
goto B
goto B
2
1
if CON goto JA
if CON goto pt
if CON call JA
if CON call pt
if CON return
if CON goto pr
if CON goto JA
if CON goto B
if CON call JA
if CON goto B
if CON goto B
3
2
ireturn
goto pi
goto B
2
1
icall
††
†† The icall instruction is reserved for use by the hardware development system.
icall
3
1
Table 4-5. Replacement Table for Control Function Instructions
Replace
Value
Meaning
CON
mi, pl, eq, ne, gt, le, lvs, mvs, mvc, c0ge, c0lt,
c1ge, c1lt, heads, tails, true, false, npint, njint,
lock
†
, ebusy
‡
† DSP1627/28/29 only.
‡ DSP1618/28 only.
See
for definitions of processor flags.
JA
12-bit value
Least significant 12 bits of an absolute address
within the same 4 Kword memory section.
B
3-bit value in B-field instruction
B selects one of
return (same as goto pr)
ireturn (same as goto pi)
goto pt
call pt
Содержание 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...