dsp56800 Freescale Semiconductor, Inc, dsp56800 Datasheet - Page 246

no-image

dsp56800

Manufacturer Part Number
dsp56800
Description
16-bit Digital Signal Controllers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
See Section 3.6, “Condition Code Generation,” on page 3-33 for additional information on condition
codes.
A.5
This section describes how to calculate the DSP56800 instruction timing manually using the provided
tables. Three complete examples are presented to illustrate the use of the tables. Alternatively, the user can
obtain the number of instruction program words and the number of oscillator clock cycles required for a
given instruction by using the simulator; this is a simple and fast method of determining instruction timing
information.
The number of words for an instruction depends on the instruction operation and its addressing mode. The
symbols used in one table may reference subsequent tables to complete the instruction word count.
The number of oscillator clock cycles per instruction is dependent on many factors, including the number
of words per instruction, the addressing mode, whether the instruction fetch pipe is full or not, the number
of external bus accesses, and the number of wait states inserted in each external access. The symbols used
in one table may reference subsequent tables to complete the execution clock-cycle count.
The tables in this section present the following information:
A-16
9. The “?” bit is set according to value pulled from stack.
10. If the SR is specified as a destination operand (for example,
11. The V bit for the IMPY instruction is set if the calculated integer product does not fit in 16
12. The setting of the N bit for the ASRAC and LSRAC instructions depends on the OMR’s
13. When SA is zero and CC is zero for the IMPY instruction, the N bit is set using *16. When
14. When CC is one for the ASLL instruction, the N bit is cleared. When CC is zero, this bit is
is set according to the corresponding bit of the source operand. If SR is not specified as a
destination operand, none of the status bits are affected.
bits.
SA bit. If SA is one, then the N bit is equal to bit 31 of the result. If SA is zero, then N is
equal to bit 35 of the result.
SA is one or CC is set to one, this bit is set as described in Section A.4.1.5, “Negative (N)
— Bit 3.”
set as described under Section A.4.1.5, “Negative (N) — Bit 3.”
Table A-11 on page A-18 gives the number of instruction program words and the number of
machine clock cycles for each instruction mnemonic.
Table A-12 on page A-19 gives the number of additional instruction words (if any) and additional
clock cycles (if any) for each type of parallel move operation.
Table A-13 on page A-20 gives the number of additional (if any) clock cycles for each type of
MOVEC operation.
Table A-14 on page A-20 gives the number of additional (if any) clock cycles for each type of
MOVEM operation.
Table A-15 on page A-20 gives the number of additional (if any) clock cycles for each type of
bit-field manipulation (BFCHG, BFCLR, BFSET, BFTSTH, BFTSTL, BRCLR, and BRSET)
operation.
Table A-16 on page A-20 gives the number of additional clock cycles (if any) for each type of
branch or jump (Bcc, Jcc, and JSR) operation.
Instruction Timing
DSP56800 Family Manual
MOVE X:(R0),SR
Freescale Semiconductor
), each bit

Related parts for dsp56800