MOTOROLA Optimizing DSP56300/DSP56600 Applications v
6.3 STACK EXTENSION DELAYS . . . . . . . . . . . 6-8
6.3.1 Stack Extension Full/Empty Cases . . . . . . 6-9
6.3.2 Avoiding Stack Extension Delays . . . . . . . 6-9
6.4 PROGRAM FLOW-CONTROL PIPELINE
INTERLOCKS . . . . . . . . . . . . . . . . . . . . . . . . 6-9
6.4.1 What are the Program Flow-Control Pipeline
Interlocks?. . . . . . . . . . . . . . . . . . . . . . . . 6-10
6.4.1.1 MOVE to the Status Register (SR) . . . 6-10
6.4.1.2 MOVE to the System Stack High/Low
(SSH/SSL) . . . . . . . . . . . . . . . . . . . . . 6-11
6.4.1.3 JMP to Last Addresses of a Do-Loop
(LA or LA-1) . . . . . . . . . . . . . . . . . . . . 6-11
6.4.1.4 RTI to Last Addresses of a Do-Loop
(LA or LA-1) . . . . . . . . . . . . . . . . . . . . 6-11
6.4.1.5 MOVE from the System Stack High
(SSH) . . . . . . . . . . . . . . . . . . . . . . . . . 6-11
6.4.1.6 Conditional Instructions. . . . . . . . . . . . 6-11
6.4.2 Avoiding Program Flow-Control Pipeline
Interlocks. . . . . . . . . . . . . . . . . . . . . . . . . 6-11
SECTION 7 COMPACT OPCODE USE . . . . . . . 7-1
7.1 CYCLE COUNT OF AN INSTRUCTION . . . . 7-1
7.1.1 Opening small REP and DO Loops. . . . . . 7-1
7.1.2 Replacing Jumps with Conditional Execution
Instructions . . . . . . . . . . . . . . . . . . . . . . . . 7-2
7.1.3 Inverting Condition in Conditional Jump
Instructions . . . . . . . . . . . . . . . . . . . . . . . . 7-3
7.2 ADDRESSING MODES. . . . . . . . . . . . . . . . . 7-5
7.2.1 Single Cycle Addressing Modes . . . . . . . . 7-5
7.2.2 Short Addressing Mode. . . . . . . . . . . . . . . 7-5
7.2.3 Short Immediate Mode . . . . . . . . . . . . . . . 7-6
7.2.4 Short Immediate Operands . . . . . . . . . . . . 7-6
7.2.5 Register Addressing . . . . . . . . . . . . . . . . . 7-6
7.2.6 Word Count . . . . . . . . . . . . . . . . . . . . . . . . 7-7
7.3 PERIPHERAL ADDRESSING . . . . . . . . . . . . 7-7
7.4 SPECIAL INSTRUCTIONS . . . . . . . . . . . . . . 7-7