CHAPTER 3 INTERRUPTS
START
IF & IE = 1
and DER = 1 and
DISEL = IRQ#
NO
IF & IE = 1
and
I=1 & IL<ILM
NO
Fetching and decoding
the next instruction
INT instruction
NO
Executing an ordinary
instruction
Completion of
NO
string instruction
repetition
YES
Updating PC
100
Figure 3.5-2 Interrupt flow
YES
YES
YES
Saving PS, PC, PCB, DTB,
ADB, DPR and A into the
system stack (SSP) and
setting I = 0
S = 1
Fetching the interrupt vector
MB96300 Super Series Hardware Manual
I, ILM: Interrupt flag and interrupt level mask in CCR/PS of CPU
IF, IE:
Internal resource interrupt request flag and enable
DER: DMA enable register of the related DMA channel
IL:
Level configuration of the IRQ channel by ICR/ILR
S:
System stack flag in the CCR/PS
DISEL: DMA intserrupt select register
Saving PS, PC, PCB, DTB,
ADB, DPR and A into the
system stack (SSP) and
setting ILM = IL
I/O service by
DMA processing