EXCEPTION PROCESSING STATE (INTERRUPT PROCESSING)
MOTOROLA
PROCESSING STATES
7 - 25
7.3.6 Instructions Preceding the Interrupt Instruction Fetch
The following one-word instructions are aborted when they are fetched in the cycle pre-
ceding the fetch of the first interrupt instruction word — REP, STOP, WAIT, RESET, RTI,
RTS, Jcc, JMP, JScc, and JSR.
Two-word instructions are aborted when the first interrupt instruction word fetched will
replace the fetch of the second word of the two-word instruction. Aborted instructions are
refetched when program control returns from the interrupt routine. The PC is adjusted
appropriately before the end of the decode cycle of the aborted instruction.
If the first interrupt word fetch occurs in the cycle following the fetch of a one-word
instruction not previously listed or the second word of a two-word instruction, that instruc-
tion will complete normally before the start of the interrupt routine.
The following cases have been identified where service of an interrupt might encounter
an extra delay:
1. If a long interrupt routine is used to service an SWI, then the processor priority
level is set to 3. Thus, all interrupts except other level-3 interrupts are disabled
until the SWI service routine terminates with an RTI (unless the SWI service
routine software lowers the processor priority level).
2. While servicing an interrupt, the next interrupt service will be delayed accord-
ing to the following rule: after the first interrupt instruction word reaches the
instruction decoder, at least three more instructions will be decoded before
decoding the next first interrupt instruction word. If any one pair of instructions
being counted is the REP instruction followed by an instruction to be repeated,
then the combination is counted as two instructions independent of the num-
ber of repeats done. Sequential REP combinations will cause pending inter-
rupts to be rejected and can not be interrupted until the sequence of REP
combinations ends.
3. The following instructions are not interruptible: SWI, STOP, WAIT, and
RESET.
4. The REP instruction and the instruction being repeated are not interruptible.
5. If the trace bit in the SR (DSP56000/56001 only) is set, the only interrupts that
will be processed are the hardware RESET, III,NMI, stack error, and trace.
Peripheral and external interrupt requests will be ignored. The interrupt gener-
ated by the SWI instruction will be ignored.
Summary of Contents for DSP56K
Page 12: ...xii LIST of TABLES MOTOROLA List of Tables Continued Table Page Number Title Number ...
Page 13: ...MOTOROLA DSP56K FAMILY INTRODUCTION 1 1 SECTION 1 DSP56K FAMILY INTRODUCTION ...
Page 31: ...MOTOROLA DATA ARITHMETIC LOGIC UNIT 3 1 SECTION 3 DATA ARITHMETIC LOGIC UNIT ...
Page 50: ...DATA ALU SUMMARY 3 20 DATA ARITHMETIC LOGIC UNIT MOTOROLA ...
Page 51: ...MOTOROLA ADDRESS GENERATION UNIT 4 1 SECTION 4 ADDRESS GENERATION UNIT ...
Page 77: ...MOTOROLA PROGRAM CONTROL UNIT 5 1 SECTION 5 PROGRAM CONTROL UNIT ...
Page 124: ...INSTRUCTION GROUPS 6 30 INSTRUCTION SET INTRODUCTION MOTOROLA ...
Page 125: ...MOTOROLA PROCESSING STATES 7 1 SECTION 7 PROCESSING STATES STOP WAIT EXCEPTION NORMAL RESET ...
Page 167: ...STOP PROCESSING STATE MOTOROLA PROCESSING STATES 7 43 ...
Page 168: ...STOP PROCESSING STATE 7 44 PROCESSING STATES MOTOROLA ...
Page 169: ...MOTOROLA PORT A 8 1 SECTION 8 PORT A ...
Page 176: ...PORT A INTERFACE 8 8 PORT A MOTOROLA ...
Page 177: ...MOTOROLA PLL CLOCK OSCILLATOR 9 1 SECTION 9 PLL CLOCK OSCILLATOR x x d Φ VCO ...
Page 191: ...10 2 ON CHIP EMULATION OnCE MOTOROLA SECTION 10 ON CHIP EMULATION OnCE ...
Page 218: ...USING THE OnCE MOTOROLA ON CHIP EMULATION OnCE 10 29 ...
Page 604: ...INSTRUCTION ENCODING A 338 INSTRUCTION SET DETAILS MOTOROLA ...
Page 605: ...MOTOROLA BENCHMARK PROGRAMS B 1 APPENDIX B BENCHMARK PROGRAMS T T T T T P1 P3 P2 P4 T T T ...
Page 609: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 5 ...
Page 611: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 7 ...
Page 613: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 9 ...
Page 615: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 11 ...