Accepting An Nmi Interrupt Request - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

Resetting the NMIS bit to 0 during execution of a nonmaskable interrupt service program enables multiple-
interrupt handling for nonmaskable interrupt requests. If the NMIS bit is 0, a new nonmaskable interrupt request
is accepted even when a nonmaskable interrupt service program is running.
(a) If a new NMI request occurs during execution of an NMI service program (when the IST register is not
manipulated)
(b) If a new NMI request occurs during execution of an NMI service program (when the NMIS bit is reset to 0 by
the current NMI service program)
Fig. 12-9 Accepting an NMI Interrupt Request
Main routine
NMI request
NMI request
Main routine
NMIS←0
NMI request
NMI request
Chapter 12 Interrupt Functions
(NMIS = 1)
NMI request pending because NMIS = 1
Processing pending NMI request
(NMIS = 1)
12
309

Advertisement

Table of Contents
loading

Table of Contents