section 7 - Index of
section 7 - Index of section 7 - Index of
second instruction of the downloaded code at P:$0001 of the internal RAM. However, theANDI instruction allows the OMR to be changed before the JMP instruction uses it, andthe JMP fetches P:$OOOO of the internal RAM.Case 4: An interrupt has two additional control cycles that are executed in the interruptcontroller concurrently with the fetch, decode, and execute cycles (see Section 7.3 andFigure 7-4). During these two control cycles, the interrupt is arbitrated by comparing theinterrupt mask level with the interrupt priority level (IPL) of the interrupt and allowing ordisallowing the interrupt. Therefore, if the interrupt mask is changed after an interrupt isarbitrated and accepted as pending but before the interrupt is executed, the interrupt willbe executed, regardless of what the mask was changed to. The following examples showthat the old interrupt mask is in effect for up to four additional instruction cycles after theinterrupt mask is changed. All instructions shown in the examples here are one-word instructions;however, one two-word instruction can replace two one-word instructionsexcept where noted.1. Program flow with no interrupts after interrupts are disabled:-ORI #03,MRINST 1INST2INST3INST4;Disable interrupts2. The four possible variations in program flow that may occur after interrupts aredisabled:ORI #03,MR ORI #03,MR ORI #03,MR ORI #03,MRII (See Note 2) INST 1 INST1 INST 111+1 II INST2 INST2INST 1 11+1 II INST3 (See Note 1)INST2 INST2 11+ 1 IIINST3 INST3 INST3 11+1INST4 INST4 INST4 INST4
Note 1: INST 3 may be executed at that point only if the preceding instruction (INST 2)was a single-word instruction.Note 2: 1I=lnterrupt instruction from maskable interrupt.The following program flow will not occur because the new interrupt mask level becomeseffective after a pipeline latency of four instruction cycles:ORI #03,MRINST 1INST2INST3INST4II11+ 1;Disable interrupts.;Interrupts disabled.;Interrupts disabled.1. Program flow without interrupts after interrupts are re-enabled:ANDI #OO,MRINST 1INST2INST3INST4;Enable interrupts-2. Program flow with interrupts after interrupts are re-enabled:ANDI #OO,MRINST 1INST2INST3INST4II11+ 1;Enable interrupts;Uninterruptable;Uninterruptable;11 fetched;11+ 1 fetched
- Page 81: SECTION 5PROGRAM CONTROL UNIT-
- Page 84 and 85: X MEMORYRAM/ROMIII E:XPAf'JSIC)N LI
- Page 86 and 87: interruptible since they are fetche
- Page 88 and 89: PROGRAM CONTROL UNIT-23 1615 023 16
- Page 90 and 91: The GGR is a special purpose contro
- Page 92 and 93: If S 1 =0 and SO=O (no scaling)then
- Page 94 and 95: -23 876543210I * 1* JSO I * I Mel y
- Page 96 and 97: 5.4.5.1 Stack Pointer (Bits 0-3)The
- Page 98 and 99: -DATA ARITHMETIC LOGIC UNITINPUT RE
- Page 101 and 102: 6.1 INSTRUCTION SET INTRODUCTIONThe
- Page 103 and 104: shown in Figure 6-2. Most instructi
- Page 105 and 106: 23 87 0L...-I ___-'-I_---'I BUS~ LS
- Page 107 and 108: The MR and CCR may be accessed indi
- Page 109 and 110: 6.3.4 Operand ReferencesThe DSP sep
- Page 111 and 112: Some address register indirect mode
- Page 113 and 114: EXAMPLE A: IMMEDIATE INTO 24-BIT RE
- Page 115 and 116: EXAMPLE A: IMMEDIATE SHORT INTO AO,
- Page 117 and 118: EXAMPLE A: MOVE P: $3200,XOBEFORE E
- Page 119 and 120: Table 6-1 Addressing Modes SummaryA
- Page 121 and 122: 6.4.2 LogicallnstructlonsThe logica
- Page 123 and 124: START OF LOOP1)SP+ 1 • SP; LA. SS
- Page 125 and 126: OPCODE/OPERANDSPARALLEL MOVE EXAMPL
- Page 127: SECTION 7PROCESSING STATES-
- Page 130 and 131: Each instruction requires a minimum
- Page 134 and 135: The DO instruction is another instr
- Page 136 and 137: SP and SSH/SSL register manipulatio
- Page 138 and 139: 7.3.1 Interrupt TypesThe DSP56K rel
- Page 140 and 141: Table 7-2 Status Register Interrupt
- Page 142 and 143: 7.3.3 Interrupt SourcesInterrupts c
- Page 144 and 145: interrupts makes it very useful for
- Page 146 and 147: MAINPROGRAMFETCHESLONG INTERRUPTSER
- Page 148 and 149: 7.3.3.3 Other Interrupt SourcesOthe
- Page 150 and 151: 7.3.4 Interrupt ArbitrationInterrup
- Page 152 and 153: 7.3.7 Interrupt Instruction Executi
- Page 154 and 155: MAINPROGRAMMEMORYINTERRUPT SYNCHRON
- Page 156 and 157: MAINPROGRAMFETCHESINTERRUPTSYNCHRON
- Page 158 and 159: MAINPROGRAMFAST INTERRUPTVECTORLONG
- Page 160 and 161: MAINPROGRAMFETCHESNTERRUPTSYN8HRCNZ
- Page 162 and 163: 7.5 WAIT PROCESSING STATEThe WAIT i
- Page 164 and 165: The stop processing state halts all
- Page 166 and 167: the first instruction fetch). If th
- Page 168: RESET -----------------------------
- Page 172 and 173: 16 - BIT INTERNALADDRESS BUSESX ADD
- Page 174 and 175: 8.2.2.1 Address (AO-A15)These three
- Page 177: SECTION 9PLL CLOCK OSCILLATOR-
- Page 180 and 181: X MEMORYRAM/ROMEXPANSION24-Bit56KMo
second instruction <strong>of</strong> the downloaded code at P:$0001 <strong>of</strong> the internal RAM. However, theANDI instruction allows the OMR to be changed before the JMP instruction uses it, andthe JMP fetches P:$OOOO <strong>of</strong> the internal RAM.Case 4: An interrupt has two additional control cycles that are executed in the interruptcontroller concurrently with the fetch, decode, and execute cycles (see Section 7.3 andFigure 7-4). During these two control cycles, the interrupt is arbitrated by comparing theinterrupt mask level with the interrupt priority level (IPL) <strong>of</strong> the interrupt and allowing ordisallowing the interrupt. Therefore, if the interrupt mask is changed after an interrupt isarbitrated and accepted as pending but before the interrupt is executed, the interrupt willbe executed, regardless <strong>of</strong> what the mask was changed to. The following examples showthat the old interrupt mask is in effect for up to four additional instruction cycles after theinterrupt mask is changed. All instructions shown in the examples here are one-word instructions;however, one two-word instruction can replace two one-word instructionsexcept where noted.1. Program flow with no interrupts after interrupts are disabled:-ORI #03,MRINST 1INST2INST3INST4;Disable interrupts2. The four possible variations in program flow that may occur after interrupts aredisabled:ORI #03,MR ORI #03,MR ORI #03,MR ORI #03,MRII (See Note 2) INST 1 INST1 INST 111+1 II INST2 INST2INST 1 11+1 II INST3 (See Note 1)INST2 INST2 11+ 1 IIINST3 INST3 INST3 11+1INST4 INST4 INST4 INST4