MOTOROLA
DSP96002 USER’S MANUAL
8 - 3
*
Int ctl cyc1 i i
Int ctl cyc2 i i
Fetch n3 n4 ii1 ii2 n5 n6 n7 n8 ii3 ii4
Decode n2 n3 n4 ii1 ii2 n5 n6 n7 n8 ii3 ii4
Execute n1 n2 n3 n4 ii1 ii2 n5 n6 n7 n8 ii3
i = interrupt
ii = interrupt instruction word
n = normal single word instruction
* subsequent interrupts are enabled at this time
Figure 8-1. Interrupt Pipeline Operation
The following one-word instructions are aborted when they are fetched in the cycle preceding the fetch of
the first interrupt instruction word (n4 or n8 in Figure 8-1): Bcc, BRA, BScc, BSR, FBcc, FBScc, FJcc,
FJScc, Jcc, JMP, JScc, JSR, LRA, REP, RESET, RTI, RTR, RTS, STOP, and WAIT.
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 (n5 in Figure 8-2).
Aborted instructions are re-fetched again when program control returns from the interrupt routine. The PC
is adjusted appropriately prior to 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 listed
above or the second word of a two-word instruction, that instruction will complete normally prior to 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 a (F)TRAPcc interrupt, then the processor priority
level is set to 3. Thus, all interrupts except for illegal instruction and stack error are disabled
until the (F)TRAPcc service routine terminates with an RTI (unless the (F)TRAPcc service
routine software lowers the processor priority level).
2.
While servicing an interrupt the next interrupt service will be delayed according to the following
rule:
After the first interrupt instruction word reaches the instruction decoder, at least four more in-
structions will be decoded before decoding the next first interrupt instruction word (see Figure
8-1). If any one pair of instructions being counted is the REP instruction followed by a instruc-
tion to be repeated then the whole "package" is counted as two instructions independently of
the number of repeats done.
3.
The following instructions are uninterruptable: ILLEGAL, (F)TRAPcc, STOP, WAIT and RE-
SET.
4.
The REP instruction and the instruction being repeated are uninterruptable.
8.3.1 Interrupt Instruction Fetch
During an interrupt instruction fetch, instruction words are fetched from the interrupt starting address and
interrupt starting 1 locations.
The interrupt controller generates an interrupt instruction fetch address which points to the first instruction
word of a two-word fast interrupt routine. This address is used for the next instruction fetch, instead of the
PC, and the interrupt instruction fetch 1 is used for the subsequent instruction fetch. While the
Summary of Contents for DSP96002
Page 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Page 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Page 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Page 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Page 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Page 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Page 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Page 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Page 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Page 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Page 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Page 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Page 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Page 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Page 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Page 888: ...MOTOROLA INDEX 1 INDEX ...
Page 889: ......