NEC PD75402A, PD75P402 user manual Interrupt Functions Interrupt Sequence, Yes, IME=1

Models: PD75402A PD75P402

1 195
Download 195 pages 45.34 Kb
Page 145
Image 145

CHAPTER 6. INTERRUPT FUNCTIONS

6.4INTERRUPT SEQUENCE

When an interrupt is generated, it is serviced by the procedure shown in Fig. 6-8.

Fig. 6-8 Interrupt Servicing Procedure

Interrupt (INT×××) generation

IRQxxx set

NO

Hold pending until

 

IExxx set?

IExxx is set

 

 

 

YES

 

 

Corresponding VRQn

 

 

generation

 

 

NO

Hold pending

 

IME=1

 

until IME is set

 

 

 

YES

 

 

NO

Hold pending until

IST0=0

end

of processing

 

in execution

YES

Save PC and PSW contents to stack memory; place data in vector table corresponding to initiated VRQn into PC.

Change IST0 contents to 1

Reset (0) acknowledged IRQxxx

Branch to start address of interrupt service program proccessing

134

Page 145
Image 145
NEC PD75402A, PD75P402 user manual Interrupt Functions Interrupt Sequence, Yes, IME=1